Howdy. I’m not familiar with Unreal’s build tool or how it works, but it seems it isn’t compatible with the latest Ubuntu. Two issues:
To start, (this may not an issue with UE4) CMake won’t recognize ATI’s fglrx drivers and can’t find libGL.so
in the filesystem. This causes GenerateProjectFiles.sh
to crash silently(!). I fixed this by manually linking /usr/lib/libGL.so
to /usr/lib/fglrx/libGL.so.1
Second, following this exactly, make ShaderCompileWorker UnrealLightmass UE4Editor
won’t work either, lots of
cc1plus: error: unrecognized command line option "-Wno-ignored-attributes" [-Werror]
cc1plus: error: unrecognized command line option "-Wno-logical-op-parentheses" [-Werror]
The tool starts with
$ make ShaderCompileWorker UnrealLightmass UE4Editor
Engine/Build/BatchFiles/Linux/Build.sh ShaderCompileWorker Linux Development
Building ShaderCompileWorker......
Using gcc version '4.9.1' (string), 4 (major), 9 (minor), 1 (patch)
I have that gcc and clang 3.5 installed.