Download

The project could not be compiled

I saw one forum post and downloaded SDK but I still get this message? Any idea how to fix this? Thank you in advance, Norman

Running C:/Program Files (x86)/Epic Games/4.12/Engine/Binaries/DotNET/UnrealBuildTool.exe A_1 Development Win64 -project=“C:/Users/trail/OneDrive/Documents/Unreal Projects/A_1/A_1.uproject” -editorrecompile -progress -noubtmakefiles -NoHotReloadFromIDE
@progress push 5%
Parsing headers for A_1Editor
Running UnrealHeaderTool “C:\Users rail\OneDrive\Documents\Unreal Projects\A_1\A_1.uproject” “C:\Users rail\OneDrive\Documents\Unreal Projects\A_1\Intermediate\Build\Win64\A_1Editor\Development\A_1Editor.uhtmanifest” -LogCmds=“loginit warning, logexit warning, logdatabase error” -Unattended -WarningsAsErrors -installed
Reflection code generated for A_1Editor in 3.8115203 seconds
@progress pop
Performing 7 actions (4 in parallel)
[2/7] Resource PCLaunch.rc
[3/7] Resource ModuleVersionResource.rc.inl
PCH.A_1.h.cpp
A_1.generated.cpp
A_1GameMode.cpp
A_1.cpp
C:\Users rail\OneDrive\Documents\Unreal Projects\A_1\Source\A_1\A_1GameMode.cpp: error C4599: ‘/IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE’: command line argument number 261 does not match precompiled headerC:\Users rail\OneDrive\Documents\Unreal Projects\A_1\Intermediate\Build\Win64\UE4Editor\Inc\A_1\A_1.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

C:\Users rail\OneDrive\Documents\Unreal Projects\A_1\Source\A_1\A_1.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: C:\Users rail\OneDrive\Documents\Unreal Projects\A_1\Binaries\Win64\UE4Editor-A_1.dll
Total build time: 58.52 seconds

Here are the errors after rebuild in VS. Any ideas how to fix this. Thank you, Norman

Severity Code Description Project File Line Suppression State
Error MSB3073 The command ““C:\Program Files (x86)\Epic Games\4.12\Engine\Build\BatchFiles\Rebuild.bat” test57Editor Win64 Development “C:\Users rail\OneDrive\Documents\Unreal Projects est57 est57.uproject” -waitmutex” exited with code -1. test57 C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets 46
Error Failed to produce item: C:\Users rail\OneDrive\Documents\Unreal Projects est57\Binaries\Win64\UE4Editor-test57-29.dll test57 C:\Users rail\OneDrive\Documents\Unreal Projects est57\Intermediate\ProjectFiles\ERROR 1
Error C4599 ‘/IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE’: command line argument number 261 does not match precompiled header test57 C:\Users rail\OneDrive\Documents\Unreal Projects est57\Source est57 est57GameMode.cpp 1
Error C4599 ‘/IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE’: command line argument number 261 does not match precompiled header test57 C:\Users rail\OneDrive\Documents\Unreal Projects est57\Source est57 est57.cpp 1
Error C4599 ‘/IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE’: command line argument number 261 does not match precompiled header test57 C:\Users rail\OneDrive\Documents\Unreal Projects est57\Intermediate\Build\Win64\UE4Editor\Inc est57 est57.generated.cpp 1

https://forums.unrealengine.com/showthread.php?115833-Tutorial-Fix-for-the-Visual-Studio-Update-3-without-Source-Control!

Its from Visual Studio Update 3. This should help

@brianfrankenstein You are my Hero, This worked beautifully. Thanks a Million!

Thank RigJaw, he was my hero I’m just passing it on!