Error Building Source Code
I am trying to download and build the source code from GitHub so I can do C++ projects in UE4, but when I try to build the UE4 target, exactly like the step-by-step guide says to do on the Epic Games GitHub page, it tells me the build had two errors.
I followed the instructions but I am just not able to build and run the editor. It just says there were build errors when I debug/ start a new instance of UE4. For some info, I downloaded the release ZIP from GitHub. (I tried using Git for Desktop and the same problems happen). I'm on Windows 10 and I have the most up to date Visual Studio Community installed, with the Windows 10 SDK and C++ tools. I'm trying to use it for 4.12. I also extracted the files straight to my hard drive as well as on my Desktop, to see if that would make a difference, since I've noticed that was a solution to some other user's problems. So here are the errors I'm getting. Any help I can get would be greatly appreciated.
ERROR : UBT error : Failed to produce item: C:\UnrealEngine-release\Engine\Binaries\Win64\ShaderCompileWorker-Core.dll 4> Total build time: 14.31 seconds 4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets(41,5): error MSB3075: The command "....\Build\BatchFiles\Build.bat ShaderCompileWorker Win64 Development -waitmutex" exited with code 5. Please verify that you have sufficient rights to run this command.
ERROR : UBT error : Failed to produce item: C:\UnrealEngine-release\Engine\Binaries\Win64\UnrealHeaderTool-Core.dll 5> Total build time: 51.29 seconds 5> UnrealHeaderTool failed for target 'UE4Editor' (platform: Win64, module info: C:\UnrealEngine-release\Engine\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor.uhtmanifest). 5>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets(41,5): error MSB3075: The command "....\Build\BatchFiles\Build.bat UE4Editor Win64 Development -waitmutex" exited with code 5. Please verify that you have sufficient rights to run this command.
asked Jun 29 '16 at 09:02 AM in C++ Programming
I don't have any aswer for this issue directly. I just wanted to point out, that you do not need to download the source from github, and do the build, in order to have C++ projects. The C++ projects, can be created and used with the binary distribution of the engine, and the source that is downloaded via the launcher.
My apologies if you already knew this, but the way your first sentence read, it appeared that you thought you had to build the engine just to have a C++ project.
Hope this helps,
answered Jun 29 '16 at 09:11 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here