git clone --depth=1 -b 4.18 https://github.com/EpicGames/UnrealEngine.git ~/UnrealEngine_4.18
cd ~/UnrealEngine_4.18
./Setup.sh && ./GenerateProjectFiles.sh && make
then
bash "/root/UnrealEngine_4.18/Engine/Build/BatchFiles/Linux/Build.sh" CrashReportClient Linux Shipping
Building CrashReportClient...
Using 'git status' to determine working set for adaptive non-unity build.
Creating makefile for CrashReportClient (no existing makefile)
Performing full C++ include scan (no include cache file)
Using clang version '3.9.1' (string), 3 (major), 9 (minor), 1 (patch)
Building UnrealHeaderTool...
Using 'git status' to determine working set for adaptive non-unity build.
Waiting for 'git status' command to complete
Target is up to date
Total build time: 0.83 seconds (NoActionsToExecute executor: 0.00 seconds)
Parsing headers for CrashReportClient
Running UnrealHeaderTool CrashReportClient "/root/UnrealEngine_4.18/Engine/Intermediate/Build/Linux/B4D820EA/CrashReportClient/Shipping/CrashReportClient.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -NoEnginePlugins
Refusing to run with the root privileges.
Error: UnrealHeaderTool failed for target 'CrashReportClient' (platform: Linux, module info: /root/UnrealEngine_4.18/Engine/Intermediate/Build/Linux/B4D820EA/CrashReportClient/Shipping/CrashReportClient.uhtmanifest, exit code: Canceled (1)).
Makefile:247: recipe for target 'CrashReportClient-Linux-Shipping' failed
make: *** [CrashReportClient-Linux-Shipping] Error 1
already spent a day on this. I firstly downloaded 4.17 version and this error happened, then on a forum someone says ‘it’s fixed in 4.18’, so I removed 4.17 and downloaded 4.18, same error. Does anyone have a fix?
THANKS!