# Cross compile for Linux from Windows

**URL:** <https://forums.unrealengine.com/t/cross-compile-for-linux-from-windows/377404>\
**Category:** Platform & Builds\
**Tags:** package, UE4-14, Linux, build, unreal-engine, question\
**Created:** [November 25, 2016, 1:35pm UTC](https://forums.unrealengine.com/t/cross-compile-for-linux-from-windows/377404 "2016-11-25T13:35:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JaroMast](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JaroMast](https://forums.unrealengine.com/u/JaroMast)\
**Post date:** [November 25, 2016, 1:35pm UTC](https://forums.unrealengine.com/t/cross-compile-for-linux-from-windows/377404/1 "2016-11-25T13:35:13Z")

</div>

Hello,

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

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

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?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [November 29, 2016, 5:06pm UTC](https://forums.unrealengine.com/t/cross-compile-for-linux-from-windows/377404/2 "2016-11-29T17:06:36Z")

</div>

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.

Cheers

---

<div class="post-metadata">

**Author:** ![JaroMast](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JaroMast](https://forums.unrealengine.com/u/JaroMast)\
**Post date:** [December 4, 2016, 12:09pm UTC](https://forums.unrealengine.com/t/cross-compile-for-linux-from-windows/377404/3 "2016-12-04T12:09:03Z")

</div>

That helps, thank you.
