The following errors occur during compilation engine:
./GenerateProjectFiles.sh is performed without error.
errors occur when the make is executed:
xmana@gamedebian:~/work/unreal/UnrealEngine-4.2$ make
Engine/Build/BatchFiles/Linux/Build.sh UE4Client Linux Debug
Building UE4Client…
which clang++ result: (0) /usr/bin/clang++
which g++ result: (0) /usr/bin/g++
which ar result: (0) /usr/bin/ar
which ranlib result: (0) /usr/bin/ranlib
Building UnrealHeaderTool…
which clang++ result: (0) /usr/bin/clang++
which g++ result: (0) /usr/bin/g++
which ar result: (0) /usr/bin/ar
which ranlib result: (0) /usr/bin/ranlib
Performing 1 actions (max 2 parallel jobs)
[1/1] Link UnrealHeaderTool
/usr/bin/ld: cannot find -lelf
/usr/bin/ld: cannot find -ldwarf
/usr/bin/ld: cannot find -lEpicSDL2
clang: error: linker command failed with exit code 1 (use -v to see invocation)
-------- End Detailed Actions Stats -----------------------------------------------------------
ERROR: UBT ERROR: Failed to produce item: /home/xmana/work/unreal/UnrealEngine-4.2/Engine/Binaries/Linux/UnrealHeaderTool
Cumulative action seconds (2 processors): 0.00 building projects, 0.00 compiling, 0.00 creating app bundles, 0.00 generating debug info, 0.34 linking, 0.00 other
UBT execution time: 15.19 seconds
UnrealHeaderTool failed for target ‘UE4Client’ (platform: Linux, module info: /home/xmana/work/unreal/UnrealEngine-4.2/Engine/Intermediate/Build/Linux/UE4Client/Debug/UnrealHeaderTool.manifest).
make: *** [UE4Client-Linux-Debug] Error 2
Versions of installed software:
UE 4.2.1;
xmana@gamedebian:~/work/unreal/UnrealEngine-4.2$ uname -a
Linux gamedebian 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 GNU/Linux
xmana@gamedebian:~/work/unreal/UnrealEngine-4.2$ aptitude show clang
Package: clang
State: installed
Automatically installed: no
Version: 1:3.4-23
xmana@gamedebian:~/work/unreal/UnrealEngine-4.2$ aptitude show g++
Package: g++
State: installed
Automatically installed: no
Version: 4:4.9.1-1
Advice please where it is possible find these libraries?