Compiling a C++ Project problem

this is my terminal:

 *  Executing task: msbuild /property:GenerateFullPaths=true /tmmary 

msbuild : The term 'msbuild' is not recognized as the name of a
operable program. Check the spelling of the name, or if a path 
is correct and try again.
At line:1 char:1
+ msbuild /property:GenerateFullPaths=true /t:build /consolelog
+ ~~~~~~~
    + CategoryInfo          : ObjectNotFound: (msbuild:String) 
    + FullyQualifiedErrorId : CommandNotFoundException
 

 *  The terminal process "C:\WINDOWS\System32\WindowsPowerShelld /property:GenerateFullPaths=true /t:build /consoleloggerparamt code: 1. 
 *  Terminal will be reused by tasks, press any key to close it

 *  Executing task: msbuild /property:GenerateFullPaths=true /trameters:NoSummary 

msbuild : The term 'msbuild' is not recognized as the name of a
script file, or operable program. Check the spelling of the nam
included, verify that the path is correct and try again.
At line:1 char:1
+ msbuild /property:GenerateFullPaths=true /t:build /consolelog
+ ~~~~~~~
    + CategoryInfo          : ObjectNotFound: (msbuild:String) 
   ception
    + FullyQualifiedErrorId : CommandNotFoundException
 

 *  The terminal process "C:\WINDOWS\System32\WindowsPowerShellommand msbuild /property:GenerateFullPaths=true /t:build /consommary" terminated with exit code: 1. 
 *  Terminal will be reused by tasks, press any key to close it

 *  Executing task: msbuild /property:GenerateFullPaths=true /trameters:NoSummary 

msbuild : The term 'msbuild' is not recognized as the name of a
script file, or operable program. Check the spelling of the nam
included, verify that the path is correct and try again.
At line:1 char:1
+ msbuild /property:GenerateFullPaths=true /t:build /consolelog
+ ~~~~~~~
    + CategoryInfo          : ObjectNotFound: (msbuild:String) 
   ception
    + FullyQualifiedErrorId : CommandNotFoundException
 

 *  The terminal process "C:\WINDOWS\System32\WindowsPowerShellommand msbuild /property:GenerateFullPaths=true /t:build /consommary" terminated with exit code: 1. 
 *  Terminal will be reused by tasks, press any key to close it

 *  Executing task: msbuild /property:GenerateFullPaths=true /trameters:NoSummary 

msbuild : The term 'msbuild' is not recognized as the name of a
script file, or operable program. Check the spelling of the nam
included, verify that the path is correct and try again.
At line:1 char:1
+ msbuild /property:GenerateFullPaths=true /t:build /consolelog
+ ~~~~~~~
    + CategoryInfo          : ObjectNotFound: (msbuild:String) 
   ception
    + FullyQualifiedErrorId : CommandNotFoundException
 

 *  The terminal process "C:\WINDOWS\System32\WindowsPowerShellommand msbuild /property:GenerateFullPaths=true /t:build /consommary" terminated with exit code: 1. 
 *  Terminal will be reused by tasks, press any key to close it

this is my code:
// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include “CoreMinimal.h”

#include “GameFramework/Actor.h”

#include “MovingObject.generated.h”

UCLASS()

class OBSTACLE_ASSULT_API AMovingObject : public AActor

{

GENERATED_BODY()

public:

// Sets default values for this actor's properties

AMovingObject();

protected:

// Called when the game starts or when spawned

virtual void BeginPlay() override;

public:

// Called every frame

virtual void Tick(float DeltaTime) override;

};
can someone help me, the thing just wont compile right
I did do some stuff but I think I made it worse (at first there was no compilers but then it would compile but there was errors in the include parts)

Did you install Visual Studio Community (not Code) as instructed?

I got the 2019 from unreal, It told me that I did not have it so i pressed the button from unreal and It installed
I just installed the 2022 version

terminal:

  • Executing task: msbuild /property:GenerateFullPaths=true /t:build /consoleloggerparameters:NoSummary

msbuild : The term ‘msbuild’ is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path
is correct and try again.
At line:1 char:1

  • msbuild /property:GenerateFullPaths=true /t:build /consoleloggerparam …
  •   + CategoryInfo          : ObjectNotFound: (msbuild:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
    
    
    
  • The terminal process “C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -Command msbuild /property:GenerateFullPaths=true /t:build /consoleloggerparameters:NoSummary” terminated with exit code: 1.

  • Terminal will be reused by tasks, press any key to close it.

  • Executing task: msbuild /property:GenerateFullPaths=true /t:build /consoleloggerparameters:NoSummary

msbuild : The term ‘msbuild’ is not recognized as the name of a cmdlet, function,
script file, or operable program. Check the spelling of the name, or if a path was
included, verify that the path is correct and try again.
At line:1 char:1

  • msbuild /property:GenerateFullPaths=true /t:build /consoleloggerparam …
  •   + CategoryInfo          : ObjectNotFound: (msbuild:String) [], CommandNotFoundEx 
     ception
      + FullyQualifiedErrorId : CommandNotFoundException
    
    
    
  • The terminal process “C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -Command msbuild /property:GenerateFullPaths=true /t:build /consoleloggerparameters:NoSummary” terminated with exit code: 1.
  • Terminal will be reused by tasks, press any key to close it.

not sure why but it still wont compile, any way to reassign the build task, not sure which one I’m using

Did you install the relevant workload and options as in done in the course?

I had to install C#, and then this error showed up:


It sent me back to here:

I think I solved It by restarting my computer but I am not sure so I am going to let it close in 20 days, just in case

I’m confused now !

Were you having problems in VS Community or VS Code ?

I could see @DanM was more asking questions than talking on Error Code 1

VS code

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms