strong text
Please Help Me when i create new Project on UE 4.12 with C++ the game gives me compile failed:
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 MyGun Development Win64 -project=“C:/Users/User/Desktop/UNREAL/MyGun/MyGun.uproject” -editorrecompile -progress -noubtmakefiles -NoHotReloadFromIDE @progress push 5%
Parsing headers for MyGunEditor
Running UnrealHeaderTool “C:\Users\User\Desktop\UNREAL\MyGun\MyGun.uproject” “C:\Users\User\Desktop\UNREAL\MyGun\Intermediate\Build\Win64\MyGunEditor\Development\MyGunEditor.uhtmanifest” -LogCmds=“loginit warning, logexit warning, logdatabase error” -Unattended -WarningsAsErrors -installed
Reflection code generated for MyGunEditor in 2,6671969 seconds @progress pop
Performing 10 actions (2 in parallel)
[2/10] Resource PCLaunch.rc
PCH.MyGun.h.cpp
[3/10] Resource ModuleVersionResource.rc.inl
MyGunCharacter.cpp
MyGunHUD.cpp
C:\Users\User\Desktop\UNREAL\MyGun\Source\MyGun\MyGunCharacter.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\User\Desktop\UNREAL\MyGun\Source\MyGun\MyGunHUD.cpp: error C4599: ‘/IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE’: command line argument number 261 does not match precompiled header
MyGun.generated.cpp
C:\Users\User\Desktop\UNREAL\MyGun\Intermediate\Build\Win64\UE4Editor\Inc\MyGun\MyGun.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
MyGunGameMode.cpp
C:\Users\User\Desktop\UNREAL\MyGun\Source\MyGun\MyGunGameMode.cpp: error C4599: ‘/IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE’: command line argument number 261 does not match precompiled header
MyGunProjectile.cpp
C:\Users\User\Desktop\UNREAL\MyGun\Source\MyGun\MyGunProjectile.cpp: error C4599: ‘/IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE’: command line argument number 261 does not match precompiled header
MyGun.cpp
C:\Users\User\Desktop\UNREAL\MyGun\Source\MyGun\MyGun.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\User\Desktop\UNREAL\MyGun\Binaries\Win64\UE4Editor-MyGun.dll
Total build time: 25,28 seconds
I unnistal the game and install it again but is the same error, then it appears a button: “Open With Visual Studio”
i press the button and it just opens the visual studio and not the actual UE engine
When i start UE4 with blueprints the engine just runs okay plz help me
I installed again Visual studio and the same error,
i dont think its my PC problema because my pc is really good .-. i dont understand the problema but thx for your help :3
If you are using Visual Studio 2015 Update 3, there is currently an issue where it is not working with 4.12.4. The fix will not be available in the launcher version until a future release, but if you are using a source build you can pull in the fix linked below to resolve your issue:
Have you ensured to check your email and accept the invitation to join the Epic Games Organization on github? You’ll need to do this in order to access the fix. Ensure that you haven’t missed any of the steps in the setup guide.
I try but the vídeo on the link you provided os not uptaded and everything is just so diferente
pls dont put this answer “resolved” because i still need help
If you go to Github and log in, are you able to access the Unreal Engine dashboard? The commit link is working fine for me, so it’s possible that you have missed a step in your setup. Ensure that you have run through the entire setup guide that I provided.
We mark topics as resolved for tracking purposes. As the user, you are more than welcome to come back in and open up a thread at any time when you have new information.