[SOLVED] Is cross-compiling for Linux ARM wiki updated?

Ok, I managed to solve it. It seems the process got a little easier on 4.19, but it’s still not on that wiki.

For those in the same situation as me, here’s what I did:

  • From the wiki, I got “v11 clang 5.0.0-based - for UE4 4.19 (includes extra tools for LTO compared to v10)”, which includes ARM toolchain.

  • I set up the environment variables accordingly: LINUX_MULTIARCH_ROOT → \arm-unknown-linux-gnueabihf

  • Downloaded UE4 source code.

  • I didn’t modify the file “…/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/Linux/UEBuildLinux.cs” to un-comment the line “//static private string DefaultArchitecture = “arm-unknown-linux-gnueabihf”;”

  • Run GenerateProjectFiles.bat.

  • Opened the .sln file and rebuilt the source for win64.

  • Opened UE4 and loaded 2DSideScrollerExample.

  • Went to \Config and opened DefaultEngine.ini.

  • Added these lines at the top:

[/Script/LinuxTargetPlatform.LinuxTargetSettings]
TargetArchitecture=ArmUnknownLinuxGnueabihf

The I tried to build for Linux and the arm architecture was chosen.