Download

Does anyone know the reason of this error and help me? :(

I am a totally newcomer of UE4.
When I try to build a new C++ project I got this error from UE.
New solution can’t be compiled, and I failed to start this new project.
Does anyone know the reason?

THANK YOU VERY MUCH!

The comment from UE is as follows:


Running D:/Program Files (x86)/Epic Games/4.12/Engine/Binaries/DotNET/UnrealBuildTool.exe Test1 Development Win64 -project="E:/UnrealEngine_Projects/Test1/Test1.uproject" -editorrecompile -progress -noubtmakefiles -NoHotReloadFromIDE
 @progress push 5%
Parsing headers for Test1Editor
  Running UnrealHeaderTool "E:\UnrealEngine_Projects\Test1\Test1.uproject" "E:\UnrealEngine_Projects\Test1\Intermediate\Build\Win64\Test1Editor\Development\Test1Editor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -installed
Reflection code generated for Test1Editor in 5.2025188 seconds
 @progress pop
Performing 7 actions (2 in parallel)
[2/7] Resource PCLaunch.rc
PCH.Test1.h.cpp
[3/7] Resource ModuleVersionResource.rc.inl
Test1.generated.cpp
Test1GameMode.cpp
E:\UnrealEngine_Projects\Test1\Intermediate\Build\Win64\UE4Editor\Inc\Test1\Test1.generated.cpp: error C4599: '/IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE': command line argument number 261 does not match precompiled header
E:\UnrealEngine_Projects\Test1\Source\Test1\Test1GameMode.cpp: error C4599: '/IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE': command line argument number 261 does not match precompiled header
Test1.cpp
E:\UnrealEngine_Projects\Test1\Source\Test1\Test1.cpp: error C4599: '/IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE': command line argument number 261 does not match precompiled header
ERROR: UBT ERROR: Failed to produce item: E:\UnrealEngine_Projects\Test1\Binaries\Win64\UE4Editor-Test1.dll
Total build time: 56.43 seconds


Could you post your code? Also, try rebuilding your project in VS by going to: Build > Rebuild Solution

It’s due to Visual Studio 2015 Update 3, this should help