i followed all the advice listed earlier in this thread, but unfortunately i am completely unable to compile UE4.27 on kubuntu-20.04…
i went through the
./Setup.sh
./GenerateProjectFiles.sh
make
processes several times, each time i would get lots of non-fatal errors until the compilation process just froze or crashed.
it seems like several of the files just wouldn’t compile at all, advising me to include files from /tmp in the bugreport to bugs.llvm.org
however, now i get even less far in the compilation attempt :
i can’t even make it to the
make UE4Editor UE4Game UnrealPak CrashReportClient ShaderCompileWorker UnrealLightmass
command.
rene@sparrow:~/data1/unrealEngine/zip/UnrealEngine-4.27.0-release$ ./Setup.sh
Fixing inconsistent case in filenames.
Setting up Mono
Checking dependencies…
The following file(s) have been modified:
Engine/Binaries/ThirdParty/Mono/Linux/etc/mono/registry/last-btime
Would you like to overwrite your changes (y/n)? y
Updating dependencies: 100% (1/1), 0.6 MiB cached, done.
Result: 0
Register the engine installation…
Installing a bundled clang toolchain
Toolchain already installed skipping.
Target arch set to: x86_64-unknown-linux-gnu
Building ThirdParty libraries
If you don’t see SUCCESS message in the end, then building did not finish properly.
In that case, take a look into /home/rene/data1/unrealEngine/zip/UnrealEngine-4.27.0-release/Engine/Build/BatchFiles/Linux/BuildThirdParty.log for details.
No third party libs needed to be built locally
********** SUCCESS ****************
Setup successful.
rene@sparrow:~/data1/unrealEngine/zip/UnrealEngine-4.27.0-release$ ./GenerateProjectFiles.sh
Attempting to set up UE4 pretty printers for gdb (existing UE4Printers.py, if any, will be overwritten)…
updated UE4Printers.py
found necessary entries in ~/.gdbinit file, not changing it.
Setting up Unreal Engine 4 project files…
Fixing inconsistent case in filenames.
Setting up Mono
Generating data for project indexing… 100%
Generating data for project indexing… 0%Stacktrace:
/proc/self/maps:
00400000-00811000 r-xp 00000000 08:02 23200930 /home/rene/data1/unrealEngine/zip/UnrealEngine-4.27.0-release/Engine/Binaries/ThirdParty/Mono/Linux/bin/mono
00a10000-00a1c000 rw-p 00410000 08:02 23200930 /home/rene/data1/unrealEngine/zip/UnrealEngine-4.27.0-release/Engine/Binaries/ThirdParty/Mono/Linux/bin/mono
00a1c000-00a33000 rw-p 00000000 00:00 0
019c9000-027f6000 rw-p 00000000 00:00 0 [heap]
404c8000-4079d000 rwxp 00000000 00:00 0
41589000-41599000 rwxp 00000000 00:00 0
7fc00fc00000-7fc00fd00000 rw-p 00000000 00:00 0
7fc00fe00000-7fc00ff00000 rw-p 00000000 00:00 0
7fc010000000-7fc010100000 rw-p 00000000 00:00 0
7fc010200000-7fc010300000 rw-p 00000000 00:00 0
7fc010400000-7fc010500000 rw-p 00000000 00:00 0
7fc010600000-7fc010700000 rw-p 00000000 00:00 0
7fc010800000-7fc010900000 rw-p 00000000 00:00 0
7fc010a00000-7fc010b00000 rw-p 00000000 00:00 0
7fc010c00000-7fc010d00000 rw-p 00000000 00:00 0
7fc010e00000-7fc010f00000 rw-p 00000000 00:00 0
7fc011000000-7fc011100000 rw-p 00000000 00:00 0
7fc011200000-7fc011300000 rw-p 00000000 00:00 0
7fc011400000-7fc011500000 rw-p 00000000 00:00 0
7fc011600000-7fc011700000 rw-p 00000000 00:00 0
7fc011800000-7fc011900000 rw-p 00000000 00:00 0
7fc011a00000-7fc011b00000 rw-p 00000000 00:00 0
7fc011c00000-7fc011d00000 rw-p 00000000 00:00 0
7fc011e00000-7fc011f00000 rw-p 00000000 00:00 0
7fc012000000-7fc012100000 rw-p 00000000 00:00 0
malloc(): unsorted double linked list corrupted
./GenerateProjectFiles.sh: line 30: 9948 Aborted (core dumped) mono “$BASE_PATH/…/…/…/Binaries/DotNET/UnrealBuildTool.exe” -projectfiles “$@”