Hi, I’m trying to compile Unreal Engine 4.8 on Ubuntu 14.04.
I followed the instructions in A new, community-hosted Unreal Engine Wiki - Announcements - Epic Developer Community Forums
I downloaded the source code from GIthub and ./Setup.sh
, ./GenerateProjectFiles.sh
work well.
But there are errors when trying to make the project.
phoenix@tegra-ubuntu:~/unreal/UnrealEngine-4.8$ make
bash "/home/phoenix/unreal/UnrealEngine-4.8"/Engine/Build/BatchFiles/Linux/Build.sh CrashReportClient Linux Development
Building CrashReportClient...
Using clang version '3.5.0' (string), 3 (major), 5 (minor), 0 (patch)
Building UnrealHeaderTool...
Using clang version '3.5.0' (string), 3 (major), 5 (minor), 0 (patch)
Performing 21 actions (1 in parallel)
[1/21] Compile CorePrivatePCH.h
clang: error: argument unused during compilation: '-mmmx'
clang: error: argument unused during compilation: '-msse'
clang: error: argument unused during compilation: '-msse2'
[2/21] Compile Module.Json.cpp
clang: error: argument unused during compilation: '-mmmx'
clang: error: argument unused during compilation: '-msse'
clang: error: argument unused during compilation: '-msse2'
[3/21] Compile Module.Projects.cpp
clang: error: argument unused during compilation: '-mmmx'
clang: error: argument unused during compilation: '-msse'
clang: error: argument unused during compilation: '-msse2'
[4/21] Compile Module.CoreUObject.1_of_4.cpp
clang: error: argument unused during compilation: '-mmmx'
clang: error: argument unused during compilation: '-msse'
clang: error: argument unused during compilation: '-msse2'
[5/21] Compile Module.CoreUObject.3_of_4.cpp
clang: error: argument unused during compilation: '-mmmx'
clang: error: argument unused during compilation: '-msse'
clang: error: argument unused during compilation: '-msse2'
[6/21] Compile Module.CoreUObject.2_of_4.cpp
clang: error: argument unused during compilation: '-mmmx'
clang: error: argument unused during compilation: '-msse'
clang: error: argument unused during compilation: '-msse2'
[7/21] Compile Module.CoreUObject.4_of_4.cpp
clang: error: argument unused during compilation: '-mmmx'
clang: error: argument unused during compilation: '-msse'
clang: error: argument unused during compilation: '-msse2'
[8/21] Compile Module.UnrealHeaderTool.cpp
clang: error: argument unused during compilation: '-mmmx'
clang: error: argument unused during compilation: '-msse'
clang: error: argument unused during compilation: '-msse2'
[9/21] Compile Module.ScriptGeneratorPlugin.cpp
clang: error: argument unused during compilation: '-mmmx'
clang: error: argument unused during compilation: '-msse'
clang: error: argument unused during compilation: '-msse2'
-------- End Detailed Actions Stats -----------------------------------------------------------
ERROR: UBT ERROR: Failed to produce item: so
Total build time: 5.19 seconds
UnrealHeaderTool failed for target 'CrashReportClient' (platform: Linux, module info: /home/phoenix/unreal/UnrealEngine-4.8/Engine/Intermediate/Build/Linux/x86_64-unknown-linux-gnu/CrashReportClient/Development/UnrealHeaderTool.manifest).
make: *** [CrashReportClient] Error 5
I googled but cannot find any similar problems, also tried make -Wno-error=unused-command-line-argument
but still meet the same error.
can anyone help me with that?
Thanks!