I am trying to build Unreal Engine 4.18.3 (I am actually not sure if -b 4.18 would serve this purpose).
I get the following error:
[jalal@goku UnrealEngine]$ ./GenerateProjectFiles.sh
System/XGE.cs(80,24): warning CS0414: The private field `UnrealBuildTool.XGE.XGEDurationRegex' is assigned but its value is never used
+ mono Binaries/DotNET/UnrealBuildTool.exe -projectfiles
Generating data for project indexing... 0%ERROR: clang 3.4.x is known to miscompile the engine - refusing to register the Linux toolchain.
Generating data for project indexing... 0%ERROR: clang 3.4.x is known to miscompile the engine - refusing to register the Linux toolchain.
Generating data for project indexing... 0%ERROR: clang 3.4.x is known to miscompile the engine - refusing to register the Linux toolchain.
Generating data for project indexing... 0%ERROR: clang 3.4.x is known to miscompile the engine - refusing to register the Linux toolchain.
Generating data for project indexing... 0%ERROR: clang 3.4.x is known to miscompile the engine - refusing to register the Linux toolchain.
+ set +x
Here is what I cloned:
git clone -b 4.18 https://github.com/EpicGames/UnrealEngine.git
I am using CentOS 7 and I used a combination of these guides and installed all the prerequisites.
How can I fix this error:
https://wiki.unrealengine.com/Building_On_Linux
https://wiki.unrealengine.com/Building_On_Centos
Here is more information about my system:
[jalal@goku UnrealEngine]$ uname -a
Linux goku.bu.edu 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
[jalal@goku UnrealEngine]$ lsb_release -a
LSB Version: :core-4.1-amd64:core-4.1-noarch
Distributor ID: CentOS
Description: CentOS Linux release 7.5.1804 (Core)
Release: 7.5.1804
Codename: Core
[jalal@goku UnrealEngine]$ clang --version
clang version 3.4.2 (tags/RELEASE_34/dot2-final)
Target: x86_64-redhat-linux-gnu
Thread model: posix
[jalal@goku UnrealEngine]$ gcc --version
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-28)
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.