Can't create C++ project on UE 4.12.4

Hi all,
I’m brand new to UE and trying to follow a coding tutorial I couldn’t create a c++ project! I can create a blueprint project but can’t create a class there either! I’ve tried to reinstall the engine 2 times and reinstall visual studio 2015 and tried with VS 2013 with no success. Here’s the error:

The project could not be compiled. Would you like to open it in Visual Studio?


Running D:/EpicGames/Epic Games/4.12/Engine/Binaries/DotNET/UnrealBuildTool.exe MyProject8 Development Win64 -project="D:/Unreal games/MyProject8/MyProject8.uproject" -editorrecompile -progress -noubtmakefiles -NoHotReloadFromIDE
@progress push 5%
Parsing headers for MyProject8Editor
  Running UnrealHeaderTool "D:\Unreal games\MyProject8\MyProject8.uproject" "D:\Unreal games\MyProject8\Intermediate\Build\Win64\MyProject8Editor\Development\MyProject8Editor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -installed
Reflection code generated for MyProject8Editor in 4,3834592 seconds
@progress pop
Performing 8 actions (4 in parallel)
[3/8] Resource ModuleVersionResource.rc.inl
[2/8] Resource PCLaunch.rc
PCH.MyProject8.h.cpp
MyProject8.cpp
MyProject8GameMode.cpp
MyProject8Character.cpp
MyProject8.generated.cpp
[8/8] Link UE4Editor-MyProject8.dll
   Creating library D:\Unreal games\MyProject8\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-MyProject8.lib and object D:\Unreal games\MyProject8\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-MyProject8.exp
MyProject8.cpp.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static class TBaseDelegate<class FFixedUObjectArray *> & __cdecl FCoreDelegates::GetObjectArrayForDebugVisualizersDelegate(void)" (__imp_?GetObjectArrayForDebugVisualizersDelegate@FCoreDelegates@@SAAEAV?$TBaseDelegate@PEAVFFixedUObjectArray@■■■$V@@XZ) referenced in function "void __cdecl `dynamic initializer for 'GObjectArrayForDebugVisualizers''(void)" (??__EGObjectArrayForDebugVisualizers@@YAXXZ)
MyProject8GameMode.cpp.obj : error LNK2001: unresolved external symbol "public: virtual bool __cdecl AGameMode::SetPause(class APlayerController *,class TBaseDelegate<bool>)" (?SetPause@AGameMode@@UEAA_NPEAVAPlayerController@@V?$TBaseDelegate@_N$$$V@@@Z)
MyProject8.generated.cpp.obj : error LNK2001: unresolved external symbol "public: virtual bool __cdecl AGameMode::SetPause(class APlayerController *,class TBaseDelegate<bool>)" (?SetPause@AGameMode@@UEAA_NPEAVAPlayerController@@V?$TBaseDelegate@_N$$$V@@@Z)
D:\Unreal games\MyProject8\Binaries\Win64\UE4Editor-MyProject8.dll : fatal error LNK1120: 2 unresolved externals
ERROR: UBT ERROR: Failed to produce item: D:\Unreal games\MyProject8\Binaries\Win64\UE4Editor-MyProject8.dll
Total build time: 45,52 seconds

Any ideas?

I’m having this problem too, Any help?

I found solution:

Try to find the file WindowsPlatformCompilerSetup.h at the folder: C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\Core\Public\Windows

after, open WindowsPlatformCompilerSetup.h and try to find(try CTRL + F) and delete these numbers on the error codes list: 4599 and add #pragma warning(disable : >4599) at the top of the file.
I’ll be happy if i’m helpful.

Yep, this is the correct solution. For shedding a little light, Unreal doesn’t support VS 2015 Update 3 yet. As that’s the only version available on the site, this is the current workaround until Epic integrates support for it.

After reinstalling every thing one more time, with an older version of VS2015, it worked. For someone coming from Unity, this is truly a huge disappointment with the engine, since I’m trying to run away from the aforementioned infamous bugs, lets just hope it gets better from now on.

I don’t know if i should upvote your answer since I took another route but i did. Thank you for the answer!

Thanks a ton , that was really helpful. It was really bogging our heads for the last few days… That was brilliant!!

I meet the same problem but I cannot solve it. Please show me in detail.

I meet the same problem but I cannot solve it. Please show me in detail.