Running D:/Program Files (x86)/Epic Games/4.11/Engine/Binaries/DotNET/UnrealBuildTool.exe StayClose Development Win64 -project=“D:/Users/Temp/Documents/Unreal Projects/StayClose/StayClose.uproject” -editorrecompile -progress -noubtmakefiles -NoHotReloadFromIDE -2015
@progress push 5%
Parsing headers for StayCloseEditor
Running UnrealHeaderTool “D:\Users\Temp\Documents\Unreal Projects\StayClose\StayClose.uproject” “D:\Users\Temp\Documents\Unreal Projects\StayClose\Intermediate\Build\Win64\StayCloseEditor\Development\UnrealHeaderTool.manifest” -LogCmds=“loginit warning, logexit warning, logdatabase error” -Unattended -WarningsAsErrors -installed
Reflection code generated for StayCloseEditor in 4,3418217 seconds
@progress pop
Performing 7 actions (3 in parallel)
[2/7] Resource PCLaunch.rc
[3/7] Resource ModuleVersionResource.rc.inl
PCH.StayClose.h.cpp
StayClose.cpp
StayClose.generated.cpp
StayCloseGameMode.cpp
D:\Users\Temp\Documents\Unreal Projects\StayClose\Source\StayClose\StayClose.cpp: error C4599: ‘/ID:\Program Files (x86)\Visual Studio\VC\INCLUDE’: command line argument number 248 does not match precompiled header
D:\Users\Temp\Documents\Unreal Projects\StayClose\Intermediate\Build\Win64\UE4Editor\Inc\StayClose\StayClose.generated.cpp: error C4599: ‘/ID:\Program Files (x86)\Visual Studio\VC\INCLUDE’: command line argument number 248 does not match precompiled header
D:\Users\Temp\Documents\Unreal Projects\StayClose\Source\StayClose\StayCloseGameMode.cpp: error C4599: ‘/ID:\Program Files (x86)\Visual Studio\VC\INCLUDE’: command line argument number 248 does not match precompiled header
-------- End Detailed Actions Stats -----------------------------------------------------------
ERROR: UBT ERROR: Failed to produce item: D:\Users\Temp\Documents\Unreal Projects\StayClose\Binaries\Win64\UE4Editor-StayClose.dll
Total build time: 51,95 seconds
Tried and works on 4.12, only on 4.11, however my project is not on 4.12, because losing 6-7 fps
Hey -
Based on the errors shown it appears you are using VS Update 3 which caused issues with compiling. As you mentioned this was fix in 4.12.5, and a quick fix is also available for 4.11 here:
Cheers