Cross compile for Linux from Windows


I’m trying to package my game for Linux. I’m following steps described here:

So far I’ve done:

  1. Download the toolchain: v8 clang 3.9.0-based - for UE4 4.14

  2. Set environment variable LINUX_MULTIARCH_ROOT to point toolchain directory.

  3. Click package and pick a Linux.

After that I’m redirected to some outdated UE4 website about packaging game. Did I missed something?

Hey JaroMast-

After setting the environment variables, did you also re-generate project files for your engine? Once you’ve done this, you should find the Linux option in the solution platform dropdown inside Visual Studio. With this you can compile the project for Linux which should allow the package process to complete successfully.


That helps, thank you.