visual studio中存在错误(MSB3073),引擎不真实 我是使用VisualStudio和VunEngine引擎(但我以前学习C++)。我现在有麻烦了。让我解释一下:
我从UE使用虚幻引擎4.9.2和visual studio 2013更新4(已安装) 在创建新项目时首次打开VS时,我收到以下错误消息: 但是VS会正常打开 稍后,当我在UE中创建一个新的参与者时,我尝试添加以下行:visual studio中存在错误(MSB3073),引擎不真实 我是使用VisualStudio和VunEngine引擎(但我以前学习C++)。我现在有麻烦了。让我解释一下:,c++,visual-studio-2013,ide,visual-studio-2015,unreal-engine4,C++,Visual Studio 2013,Ide,Visual Studio 2015,Unreal Engine4,我从UE使用虚幻引擎4.9.2和visual studio 2013更新4(已安装) 在创建新项目时首次打开VS时,我收到以下错误消息: 但是VS会正常打开 稍后,当我在UE中创建一个新的参与者时,我尝试添加以下行: UPROPERTY(EditAnywhere) 我有两条全新的错误消息: 错误1错误代码:其他编译错误(5)E:\Documents\Unreal Projects\test4\Intermediate\ProjectFiles\Error test4 错误2错误MSB3073
UPROPERTY(EditAnywhere)
我有两条全新的错误消息:
错误1错误代码:其他编译错误(5)E:\Documents\Unreal Projects\test4\Intermediate\ProjectFiles\Error test4
错误2错误MSB3073:命令“E:\programs\unrealengine\Epic Games\4.9\Engine\Build\BatchFiles\Build.bat”test4Editor Win64 Development“E:\Documents\Unreal Projects\test4\test4.uproject”-rocket-waitmutex”退出,代码为-1。C:\Program Files(x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets 38 5 test4
我试图做什么来修复它:
-删除并重新安装虚拟引擎和visual studio:相同的问题。
- 从另一个源安装visual studio,然后安装unreal engine(显然,在之前删除并重新启动):同样的问题。
- 安装Unreal Engine 4.10=>其他问题,我无法安装Visual Studio 2015(带有UE的安装程序失败)
- 使用UE 4.10从另一个来源安装Visual studio 2015:相同问题
- 全部卸载,然后使用UE4.9和VS2013重试:相同问题
#pragma once
#include "GameFramework/Actor.h"
#include "MyActor.generated.h"
UCLASS()
class TEST4_API AMyActor : public AActor
{
GENERATED_BODY()
public:
// Sets default values for this actor's properties
AMyActor();
// Called when the game starts or when spawned
virtual void BeginPlay() override;
// Called every frame
virtual void Tick( float DeltaSeconds ) override;
};
我认为您的问题不是紧跟在带有变量的Upperty(EditAnywhere)之后。upperty的标准语法是:upperty([specifier,specifier,…],[meta=(key=value,key=value,…]))
类型变量名代码>
有关更多信息:
#pragma once
#include "GameFramework/Actor.h"
#include "MyActor.generated.h"
UCLASS()
class TEST4_API AMyActor : public AActor
{
GENERATED_BODY()
public:
// Sets default values for this actor's properties
AMyActor();
// Called when the game starts or when spawned
virtual void BeginPlay() override;
// Called every frame
virtual void Tick( float DeltaSeconds ) override;
};