x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Error Building Source Code

Hello,

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.

and

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.

Product Version: UE 4.12
Tags:
more ▼

asked Jun 29 '16 at 09:02 AM in C++ Programming

avatar image

poplockentaco
239 21 12 27

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Jaxon,

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,

Jay

IceWare Inc.

IwSpline

more ▼

answered Jun 29 '16 at 09:11 AM

avatar image

jayice
1.4k 41 28 56

avatar image poplockentaco Jun 29 '16 at 12:31 PM

Well yes that does answer part of my question. I didn't realize that. Thank you for telling me. Although there is still the matter of figuring out my build errors, but at least now I can get started with C++.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question