I get this error message below when I create a new C++ project:
The project could not be compiled. Would you like to open it in Visual Studio?
Running C:/Program Files (x86)/Epic Games/4.12/Engine/Binaries/DotNET/UnrealBuildTool.exe gjmgfj Development Win64 -project=“C:/3D_Project/Unreal/gjmgfj/gjmgfj.uproject” -editorrecompile -progress -noubtmakefiles -NoHotReloadFromIDE
@progress push 5%
Parsing headers for gjmgfjEditor
Running UnrealHeaderTool “C:\3D_Project\Unreal\gjmgfj\gjmgfj.uproject” “C:\3D_Project\Unreal\gjmgfj\Intermediate\Build\Win64\gjmgfjEditor\Development\gjmgfjEditor.uhtmanifest” -LogCmds=“loginit warning, logexit warning, logdatabase error” -Unattended -WarningsAsErrors -installed
Reflection code generated for gjmgfjEditor in 3.9119281 seconds
@progress pop
Distributing 10 actions to XGE
--------------------Build System Warning---------------------------------------
License is invalid:
License information is invalid. Please try reloading your license file using the Coordinator Monitor application on the Coordinator machine, or reinstall IncrediBuild.
This build will run in standalone mode.
Initializing…
--------------------Project: Default-------------------------------------------
[0:15.57 at +0:00]
PCH.gjmgfj.h.cpp
[0:01.21 at +0:15]
gjmgfjHUD.cpp
[0:01.56 at +0:16]
gjmgfjCharacter.cpp
[0:00.45 at +0:18]
gjmgfj.generated.cpp
[0:00.45 at +0:18]
gjmgfjGameMode.cpp
[0:00.34 at +0:19]
gjmgfjProjectile.cpp
[0:00.23 at +0:19]
gjmgfj.cpp
PCLaunch.rc [0:00.20 at +0:19]
ModuleVersionResource.rc.inl [0:00.20 at +0:20]
UE4Editor-gjmgfj.dll [0:00.21 at +0:20]
Creating library C:\3D_Project\Unreal\gjmgfj\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-gjmgfj.lib and object C:\3D_Project\Unreal\gjmgfj\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-gjmgfj.exp
gjmgfj.cpp.obj : error LNK2019: unresolved external symbol “__declspec(dllimport) public: static class TBaseDelegate & __cdecl FCoreDelegates::GetObjectArrayForDebugVisualizersDelegate(void)” (_imp?GetObjectArrayForDebugVisualizersDelegate@FCoreDelegates@@SAAEAV?$TBaseDelegate@PEAVFFixedUObjectArray@■■■$V@@anonymous_user_9674a66c) referenced in function “void __cdecl `dynamic initializer for ‘GObjectArrayForDebugVisualizers’'(void)” (??__EGObjectArrayForDebugVisualizers@@YAXXZ)
gjmgfjGameMode.cpp.obj : error LNK2001: unresolved external symbol “public: virtual bool __cdecl AGameMode::SetPause(class APlayerController *,class TBaseDelegate)” (?SetPause@AGameMode@@UEAA_NPEAVAPlayerController@@anonymous_user_e71e0d8a1?$TBaseDelegate@_N$$$V@@@Z)
gjmgfj.generated.cpp.obj : error LNK2001: unresolved external symbol “public: virtual bool __cdecl AGameMode::SetPause(class APlayerController *,class TBaseDelegate)” (?SetPause@AGameMode@@UEAA_NPEAVAPlayerController@@anonymous_user_e71e0d8a1?$TBaseDelegate@_N$$$V@@@Z)
C:\3D_Project\Unreal\gjmgfj\Binaries\Win64\UE4Editor-gjmgfj.dll : fatal error LNK1120: 2 unresolved externals
Error executing C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\amd64\link.exe (tool returned code: 1120)
1 build system warning(s):
- License is invalid
---------------------- Done ----------------------
Rebuild All: 0 succeeded, 1 failed, 0 skipped
ERROR: UBT ERROR: Failed to produce item: C:\3D_Project\Unreal\gjmgfj\Binaries\Win64\UE4Editor-gjmgfj.dll
XGE execution time: 27.82 seconds
Then, I press “Open with Visual Studio”. Just can open with VS, can’t open with UE4.
Would anyone help me plz. Thz