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"

Having trouble with the initial build of UnrealEngine4 using UnrealTournament source

During the compile of ShaderCompileWorker I'm recieving the following errors:

 > ...
 > 
 > [16/48] Compile Module.SandboxFile.cpp
 > In file included from
 > /home/user/XXXXXXX/UnrealTournament/Engine/Intermediate/Build/Linux/x86_64-unknown-linux-gnu/ShaderCompileWorker/Development/ShaderCore/Module.ShaderCore.cpp:3:
 > /home/user/XXXXXXX/UnrealTournament/Engine/Source/Runtime/ShaderCore/Private/ShaderCache.cpp(19,55)
 > :  error: use of logical '||' with
 > constant operand
 > [-Werror,-Wconstant-logical-operand]
 > int32 FShaderCache::bUseShaderCaching
 > = ((PLATFORM_MAC || PLATFORM_LINUX) && !WITH_EDITOR) ? 1 : 0;
 >                                                        ^  ~~~~~~~~~~~~~~
 > /home/user/XXXXXXX/UnrealTournament/Engine/Source/Runtime/ShaderCore/Private/ShaderCache.cpp(19,55)
 > :  note: use '|' for a bitwise
 > operation int32
 > FShaderCache::bUseShaderCaching =
 > ((PLATFORM_MAC || PLATFORM_LINUX) &&
 > !WITH_EDITOR) ? 1 : 0;
 >                                                        ^~
 >                                                        |
 > /home/user/XXXXXXX/UnrealTournament/Engine/Source/Runtime/ShaderCore/Private/ShaderCache.cpp(29,55)
 > :  error: use of logical '||' with
 > constant operand
 > [-Werror,-Wconstant-logical-operand]
 > int32 FShaderCache::bUseShaderPredraw
 > = ((PLATFORM_MAC || PLATFORM_LINUX) && !WITH_EDITOR) ? 1 : 0;
 >                                                        ^  ~~~~~~~~~~~~~~
 > /home/user/XXXXXXX/UnrealTournament/Engine/Source/Runtime/ShaderCore/Private/ShaderCache.cpp(29,55)
 > :  note: use '|' for a bitwise
 > operation int32
 > FShaderCache::bUseShaderPredraw =
 > ((PLATFORM_MAC || PLATFORM_LINUX) &&
 > !WITH_EDITOR) ? 1 : 0;
 >                                                        ^~
 >                                                        | 2 errors generated.
 > 
 > ...
 > 
 > [43/48] Link
 > libShaderCompileWorker-DerivedDataCache.so
 > -------- End Detailed Actions Stats ----------------------------------------------------------- ERROR: UBT ERROR: Failed to produce
 > item:
 > /home/user/XXXXXXX/UnrealTournament/Engine/Binaries/Linux/libShaderCompileWorker-ShaderCore.so
 > 
 > ...

If there are any logs I should post just let me know. Thanks for the help in advance.

Product Version: Not Selected
Tags:
more ▼

asked Apr 03 '15 at 06:24 PM in Installation & Setup

avatar image

Tardy Bumpkin
3 1 4

avatar image Doug E ♦♦ STAFF Apr 03 '15 at 07:42 PM

Hey Tardy-

Are you able to compile only ShaderCompileWorker rather than trying to compile the entire engine? If you still get an error let me know what steps you took to download/install Unreal Tournament.

Cheers

Doug Wilson

avatar image Tardy Bumpkin Apr 03 '15 at 08:42 PM

I tried make ShaderCompileWorker ARGS=-clean and make ShaderCompileWorker. It gave me the same error.

To download and install I used the instructions on Building On Linux - Epic Wiki

which was:

  1. git clone https://github.com/EpicGames/UnrealTournament.git

  2. cd UnrealTournament

  3. ./Setup.sh

  4. ./GenerateProjectFiles

  5. make ShaderCompileWorker UnrealLightmass UnrealPak CrashReportClient UE4Editor UnrealTournament

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

1 answer: sort voted first

Hey Tardy-

I was able to reproduce the issue and have submitted a bug report (UE-13565) for further investigation. For the time being I would suggest using the engine from the UnrealEngine repository rather than the UnrealTournament repository.

Cheers

Doug Wilson

more ▼

answered Apr 09 '15 at 02:42 PM

avatar image Tardy Bumpkin Apr 09 '15 at 03:21 PM

Hi Doug, Thanks for looking into it for me. I'll use the UnrealEngine repo.

Mike Browell

(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