Hello,
I’m having trouble getting UE4 to compile. Initially I had updated to Visual Studio 2015
from 2013 on a project running in 4.10. The compile button dissappeared.
I then tried rebuilding fromthe sln and kept getting this error:
‘/DJSON_API=DLLEXPORT’ specified on current command line, but was not specified when precompiled header was built PA_UE4 C:\Users\julian.cardona\Desktop\ParanormalActivity\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Json\Module.Json.cpp
Error MSB3073 The command “C:\Users\julian.cardona\Desktop\ParanormalActivity\Engine\Build\BatchFiles\Build.bat UE4Editor Win64 Development -waitmutex” exited with code -1. UE4 C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets
So I did some research and followed the instructions here:
“I found a workaround - basically remove 4599 and 4609 warning to error pragmas in Engine/Source/Runtime/Core/Public/Windows/WindowsPlatformCompilerSetup.h.”
This made the compile button reappear because it allowed me to rebuild, however when pressing the compile button in-engine
it throws out this error:
When I double click on the .uproject I get this:
and when I build in the sln I get this error:
Error MSB3073 The command “C:\Users\julian.cardona\Desktop\ParanormalActivity\Engine\Build\BatchFiles\Build.bat UE4Editor Win64 Development -waitmutex” exited with code -1. UE4 C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets
Now I’m stuck, any help would be appreciated!