I’m trying to package on Windows for Linux ARM64 (Jetson running Ubuntu).
I have 4.15 (installed from Epic Game Launcher) and did all the steps:
- Used latest clang cross compiler (3.9.0)
- set both LINUX_ROOT and LINUX_MULTIARCH_ROOT to correct paths
- changed DefaultEngine.ini in my project to have the section:
[/Script/LinuxTargetPlatform.LinuxTargetSettings]
TargetArchitecture=AArch64UnknownLinuxGnueabi
I managed to package the project, but couldn’t run it on Linux.
I tried to run the file UE4Game in LinuxNoEditor\Engine\Binaries\Linux, but I got an error:
“Cannot execute binary file: Exec format error”.
When I looked at the file properties, it wrote:
ELF 64-bit LS executable, x86-64, version a (SYSV)
I’m new to Linux and UE4 so I might be doing something wrong, but it looks like although I tried to package for Linux ARM, it packaged for x86-64.
Also, wasn’t there supposed to be a “*.out” file?