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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Compile Module.UnrealHeaderTool.cpp fails

Dear reader can you please look at http://pastebin.com/QYb5iKeQ this is pastebin of the error that I got while I was installing unreal ue4-4.13.1. I have mono4.6.0 and clang 3.8.1. and the Compile Module.UnrealHeaderTool.cpp failes to commpile with this ERROR: UBT ERROR: Failed to produce item: /tmp/nix-build-ue4-4.13.1.drv-0/UnrealEngine-4.13.1-release/Engine/Binaries/Linux/libUnrealHeaderTool-Core.so . I am using Nixos Linux, but this shouldnt be a problem. Any help appriciated. Kind regards.

Product Version: UE 4.13
Tags:
more ▼

asked Oct 22 '16 at 02:25 PM in Linux

avatar image

b0f00nmanjaro
3 3 5

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

2 answers: sort voted first

I was talking with @amigo- irc channel #UE4linux and he suggested to remove -Werror from this file https://github.com/EpicGames/UnrealEngine/blob/4.13/Engine/Source/Programs/UnrealBuildTool/Linux/LinuxToolChain.cs#L303 This prints the warnings but you are still able to compile the program. I belive its a better solution because I have my warnings printed which is good for later when I read the log file. I am posting this even thou the program is still compiling, will edit later if it doesnt.

more ▼

answered Oct 26 '16 at 03:09 PM

avatar image

b0f00nmanjaro
3 3 5

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

I unpacked the source, edited this 3 files:

UnrealEngine-4.13.1-release/Engine/Source/Runtime/Core/Private/Linux/LinuxPlatformMisc.cpp:104:3: UnrealEngine-4.13.1-release/Engine/Source/Runtime/Core/Private/Linux/LinuxPlatformProcess.cpp:1141:2: UnrealEngine-4.13.1-release/Engine/Source/Runtime/Core/Private/Linux/LinuxPlatformProcess.cpp:1395:2:


you put (void) infront of fscanf and getcwd. This way the script can continue running and the 3 warnings disappear. This solves it.

more ▼

answered Oct 22 '16 at 08:42 PM

avatar image

b0f00nmanjaro
3 3 5

avatar image b0f00nmanjaro Oct 26 '16 at 03:14 PM

when the install finished and I try to run the UE4Editor this happens:

  [Me@nixos:~]$ UE4Editor
  ./UE4Editor: symbol lookup error: /home/Me/.config/unreal-engine-nix-workdir/Engine/Binaries/Linux/libUE4Editor-UnrealEd.so: undefined symbol: _ZN20UTrueTypeFontFactory12LoadFontFaceEPviP16FFeedbackContextPS0_
  
  [Me@nixos:~]$ echo _ZN20UTrueTypeFontFactory12LoadFontFaceEPviP16FFeedbackContextPS0_ | c++filt 
  UTrueTypeFontFactory::LoadFontFace(void*, int, FFeedbackContext*, void**)
      

Look at second asnwer.

(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