# Cross-compile from Linux

**URL:** <https://forums.unrealengine.com/t/cross-compile-from-linux/1367121>\
**Category:** Feedback & Requests\
**Tags:** windows, cross-compiling, Linux, unreal-engine\
**Created:** [November 6, 2023, 1:19am UTC](https://forums.unrealengine.com/t/cross-compile-from-linux/1367121 "2023-11-06T01:19:45Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![eje2111](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/eje2111/32/588536_2.png) [@eje2111](https://forums.unrealengine.com/u/eje2111)\
**Post date:** [November 6, 2023, 1:19am UTC](https://forums.unrealengine.com/t/cross-compile-from-linux/1367121/1 "2023-11-06T01:19:45Z")

</div>

I know that the Unreal Editor can cross compile from Windows to Linux. Most people who use Unreal are on Windows, so it makes sense that they’d want to cross-compile. But, look at it from the other side: installing Linux is trivial. You can just download it and run it on pretty much anything. Installing Windows requires a license key and legal requirements. None of this may be a problem for a professional studio, but for hobbyists, it very much is. I’m on Linux (obviously), and I’d like to build my small Unreal experiments for friends on Windows. I’m just trying things out for now. Currently, all I can do is push my changes to Github. But the person I’m sharing this with is not much of a coder and will most likely not like to build on his Windows machine at all.

If it truly is too much work to do cross-compiling for Windows from Linux, could there be some sort of unofficial guide people who might be interested in setting it up? The Unreal build files (the `.cs` files) look very puzzling and I can’t find much documentation for them.

Thanks.

---

<div class="post-metadata">

**Author:** ![gardian206](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gardian206](https://forums.unrealengine.com/u/gardian206)\
**Post date:** [November 6, 2023, 2:48am UTC](https://forums.unrealengine.com/t/cross-compile-from-linux/1367121/2 "2023-11-06T02:48:43Z")

</div>

would it be possible for you to build the Windows binaries under WINE, or even Proton?

(you are allowed to vote for your own request)

---

<div class="post-metadata">

**Author:** ![eje2111](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/eje2111/32/588536_2.png) [@eje2111](https://forums.unrealengine.com/u/eje2111)\
**Post date:** [November 6, 2023, 2:54am UTC](https://forums.unrealengine.com/t/cross-compile-from-linux/1367121/3 "2023-11-06T02:54:40Z")

</div>

You know what? That had not actually crossed my mind. It would not be the most convenient thing, but it’s certainly much, much easier than using a virtual machine. If running the Unreal Editor from Wine is _known_ to work, then it’s a perfectly acceptable possibility. I actually assumed that, given how specific Unreal’s hardware demands were, it was a non-starter.

Proton is more complicated because it _must_ be started from Steam, which ends up being yet an extra layer in practice. But if there is no other way, it’s also doable.

---

<div class="post-metadata">

**Author:** ![gardian206](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gardian206](https://forums.unrealengine.com/u/gardian206)\
**Post date:** [November 6, 2023, 2:57am UTC](https://forums.unrealengine.com/t/cross-compile-from-linux/1367121/4 "2023-11-06T02:57:41Z")

</div>

apparently at least in 2019 there was traction with WINE [Linux + Wine + Lutris + EpicLauncher == Assets + Happiness](https://forums.unrealengine.com/t/linux-wine-lutris-epiclauncher-assets-happiness/125386) not sure if this still works under UE 5+ but it might be a starting point.

---

<div class="post-metadata">

**Author:** ![eje2111](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/eje2111/32/588536_2.png) [@eje2111](https://forums.unrealengine.com/u/eje2111)\
**Post date:** [November 6, 2023, 3:21am UTC](https://forums.unrealengine.com/t/cross-compile-from-linux/1367121/5 "2023-11-06T03:21:58Z")

</div>

That’s great! I’ll look into it. Thanks!

---

<div class="post-metadata">

**Author:** ![meta\_leap](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/meta_leap/32/873171_2.png) [@meta\_leap](https://forums.unrealengine.com/u/meta_leap)\
**Post date:** [December 17, 2023, 3:53pm UTC](https://forums.unrealengine.com/t/cross-compile-from-linux/1367121/6 "2023-12-17T15:53:37Z")

</div>

@eje2111 which approach did you end up choosing / succeeding with?

---

<div class="post-metadata">

**Author:** ![DonBravo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DonBravo](https://forums.unrealengine.com/u/DonBravo)\
**Post date:** [January 3, 2024, 11:36am UTC](https://forums.unrealengine.com/t/cross-compile-from-linux/1367121/7 "2024-01-03T11:36:16Z")

</div>

Anyone gotten it to work. I had to go back to Windows because of the cross compile not being supported.

---

<div class="post-metadata">

**Author:** ![nande](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nande/32/1057698_2.png) [@nande](https://forums.unrealengine.com/u/nande)\
**Post date:** [May 14, 2026, 7:58pm UTC](https://forums.unrealengine.com/t/cross-compile-from-linux/1367121/8 "2026-05-14T19:58:17Z")

</div>

Most people use a vm for this. with a virtualized windows. you don’t need gpu access, and you don’t need to run the editor. just trigger a package via the command line.

> **[Linux QuickStart / FAQs | Unreal Engine Community Wiki](https://unrealcommunity.wiki/linux-quickstart-faqs-8f7980)**
>
> stuff to know that get asked frequently

alternatively there’s a page for docker and wine . which is pretty much the same, but more involved and less clean.

> **[Wine-Enabled Containers Quick Start for Unreal Engine | Unreal Engine 5.7...](https://dev.epicgames.com/documentation/unreal-engine/wine-enabled-containers-quick-start-for-unreal-engine?lang=en-US)**
>
> Get started using Unreal Engine with Wine in containers.
