# \#cross-compiling

**URL:** https://forums.unrealengine.com/tag/cross-compiling/4836.md

[Latest](https://forums.unrealengine.com/latest.md) · [Categories](https://forums.unrealengine.com/categories.md) · [Tags](https://forums.unrealengine.com/tags.md)

---

## [Cross-compile from Linux](https://forums.unrealengine.com/t/cross-compile-from-linux/1367121)

<div class="topic-metadata">

**Author:** [@eje2111](https://forums.unrealengine.com/u/eje2111)\
**Replies:** 7\
**Last updated:** [May 14, 2026, 7:58pm UTC](https://forums.unrealengine.com/t/cross-compile-from-linux/1367121 "2026-05-14T19:58:17Z")

</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…

---

## [how to cross-compile the Linux version of DS with jemalloc/tcmalloc support on Windows](https://forums.unrealengine.com/t/how-to-cross-compile-the-linux-version-of-ds-with-jemalloc-tcmalloc-support-on-windows/2528265)

<div class="topic-metadata">

**Author:** [@stevewzhao](https://forums.unrealengine.com/u/stevewzhao)\
**Replies:** 0\
**Last updated:** [May 26, 2025, 6:52am UTC](https://forums.unrealengine.com/t/how-to-cross-compile-the-linux-version-of-ds-with-jemalloc-tcmalloc-support-on-windows/2528265 "2025-05-26T06:52:39Z")

</div>

I encountered an intermittent DS crash issue in the production environment, suspected to be caused by memory overflow. I want to integrate jemalloc in the production environment to locate this memory problem using heap p…

---

## [Toolchain Linux ARM64 ](https://forums.unrealengine.com/t/toolchain-linux-arm64/2372156)

<div class="topic-metadata">

**Author:** [@fabio\_lt02](https://forums.unrealengine.com/u/fabio_lt02)\
**Replies:** 0\
**Last updated:** [March 3, 2025, 3:24pm UTC](https://forums.unrealengine.com/t/toolchain-linux-arm64/2372156 "2025-03-03T15:24:13Z")

</div>

Hello, I would like to cross-compile an Unreal Engine5.4 project for Linux ARM64. I read online that I need a toolchain to compile the project from Windows to linux ARM, but I cannot find it online. Any help? Thanks. …

---

## [Cross compiling for arm Linux](https://forums.unrealengine.com/t/cross-compiling-for-arm-linux/371492)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_e7e728d4](https://forums.unrealengine.com/u/anonymous_user_e7e728d4)\
**Replies:** 15\
**Last updated:** [October 31, 2024, 6:34am UTC](https://forums.unrealengine.com/t/cross-compiling-for-arm-linux/371492 "2024-10-31T06:34:57Z")

</div>

Hello, I tried to cross compil for arm Linux. I follow this tutorial \[link text\]\[1\] but, after edit the UEBuildLinux.cs files and un-comment “static private string DefaultArchitecture = “arm-unknown-linux-gnueabihf”;”, …

---

## [How to correctly link to 3rd party libraries when cross compiling?](https://forums.unrealengine.com/t/how-to-correctly-link-to-3rd-party-libraries-when-cross-compiling/2057109)

<div class="topic-metadata">

**Author:** [@CyFio](https://forums.unrealengine.com/u/CyFio)\
**Replies:** 0\
**Last updated:** [October 7, 2024, 1:22pm UTC](https://forums.unrealengine.com/t/how-to-correctly-link-to-3rd-party-libraries-when-cross-compiling/2057109 "2024-10-07T13:22:17Z")

</div>

I am trying to link a cross-platform library to my unreal project. The library has prebuilt librarys in .lib for windows/.so for Linux. Here is the segment where I add the dependencies in Build.cs //... public class MyL…

---

## [cross compile, is the gcc(4.8.5) version too old for most of c++ thirdparty?](https://forums.unrealengine.com/t/cross-compile-is-the-gcc-4-8-5-version-too-old-for-most-of-c-thirdparty/1270583)

<div class="topic-metadata">

**Author:** [@lleeaarr](https://forums.unrealengine.com/u/lleeaarr)\
**Replies:** 1\
**Last updated:** [September 3, 2024, 10:45pm UTC](https://forums.unrealengine.com/t/cross-compile-is-the-gcc-4-8-5-version-too-old-for-most-of-c-thirdparty/1270583 "2024-09-03T22:45:20Z")

</div>

When cross compile in Linux with Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux\_x64/v20\_clang-13.0.1-centos7/x86\_64-unknown-linux-gnu/bin/clang++, the gcc(4.8.5) version is too old for most c++ thirdparty now. #./cl…

---

## [Packaging Linux ARM64, exec format error](https://forums.unrealengine.com/t/packaging-linux-arm64-exec-format-error/385806)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_6028da86](https://forums.unrealengine.com/u/anonymous_user_6028da86)\
**Replies:** 2\
**Last updated:** [July 2, 2024, 3:20am UTC](https://forums.unrealengine.com/t/packaging-linux-arm64-exec-format-error/385806 "2024-07-02T03:20:52Z")

</div>

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\_M…

---

## [Undefined Symbol Linker Error when Cross Compiling to Linux](https://forums.unrealengine.com/t/undefined-symbol-linker-error-when-cross-compiling-to-linux/1159922)

<div class="topic-metadata">

**Author:** [@Yeetsterr](https://forums.unrealengine.com/u/Yeetsterr)\
**Replies:** 1\
**Last updated:** [May 29, 2023, 1:13am UTC](https://forums.unrealengine.com/t/undefined-symbol-linker-error-when-cross-compiling-to-linux/1159922 "2023-05-29T01:13:01Z")

</div>

Hello. I am getting the following error during the linking step when cross compiling to Linux from Windows on 5.1.1. I am using GitHub - bitcoin-core/secp256k1: Optimized C library for EC operations on curve secp256k1 (…

---

## [MetaHuman's hair does not show up in a package for Linux created with version 4.27](https://forums.unrealengine.com/t/metahumans-hair-does-not-show-up-in-a-package-for-linux-created-with-version-4-27/488067)

<div class="topic-metadata">

**Author:** [@S.Yabuki](https://forums.unrealengine.com/u/S.Yabuki)\
**Replies:** 4\
**Last updated:** [July 13, 2022, 4:04am UTC](https://forums.unrealengine.com/t/metahumans-hair-does-not-show-up-in-a-package-for-linux-created-with-version-4-27/488067 "2022-07-13T04:04:06Z")

</div>

Hello. I have created a project using MetaHuman on Windows. I cross-compiled it on Windows and created a shipping package for Linux. As a result of running it on Ubuntu 20.04, the hair and eyebrows are not drawn. I…

---

## [Undefined reference to glibc 2.27 with UE 4.27 (toolchain v19)](https://forums.unrealengine.com/t/undefined-reference-to-glibc-2-27-with-ue-4-27-toolchain-v19/492563)

<div class="topic-metadata">

**Author:** [@Zaratusa](https://forums.unrealengine.com/u/Zaratusa)\
**Replies:** 1\
**Last updated:** [February 12, 2022, 3:24am UTC](https://forums.unrealengine.com/t/undefined-reference-to-glibc-2-27-with-ue-4-27-toolchain-v19/492563 "2022-02-12T03:24:39Z")

</div>

Hi, I’ve update to the Linux cross-compile toolchain v19 to build the Linux versions of my game with UE 4.27. Now I’m getting these errors for the Discord Game SDK 2.5.6 (latest): undefined reference to powf@GLIBC\_2.2…

---

## [Building existing project on Linux](https://forums.unrealengine.com/t/building-existing-project-on-linux/488569)

<div class="topic-metadata">

**Author:** [@tmdudydude](https://forums.unrealengine.com/u/tmdudydude)\
**Replies:** 1\
**Last updated:** [September 9, 2021, 11:58am UTC](https://forums.unrealengine.com/t/building-existing-project-on-linux/488569 "2021-09-09T11:58:36Z")

</div>

Alright time to ask for help. I’ve been trying to open a project that is being developped normally on a windows machine, on a Linux machine. (I use arch btw) i’ve built Unreal Engine 4.25.4 from source code but when o…

---

## [Cross compiling plugin for Linux](https://forums.unrealengine.com/t/cross-compiling-plugin-for-linux/481746)

<div class="topic-metadata">

**Author:** [@Habdoula](https://forums.unrealengine.com/u/Habdoula)\
**Replies:** 0\
**Last updated:** [April 12, 2021, 12:19am UTC](https://forums.unrealengine.com/t/cross-compiling-plugin-for-linux/481746 "2021-04-12T00:19:30Z")

</div>

hi I am trying to port a plugin from Win64 to Linux. The plugin uses dll binaries from an SDK on Win64. There are so binaries available as well for Linux. I am trying to figure out how to setup my build.cs or other fil…

---

## [Cross compiling for linux on windows udev](https://forums.unrealengine.com/t/cross-compiling-for-linux-on-windows-udev/480444)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_aeec2cc71](https://forums.unrealengine.com/u/anonymous_user_aeec2cc71)\
**Replies:** 0\
**Last updated:** [March 21, 2021, 7:28pm UTC](https://forums.unrealengine.com/t/cross-compiling-for-linux-on-windows-udev/480444 "2021-03-21T19:28:00Z")

</div>

I am attempting to build an application on windows to be used for Linux using the cross compiling method provided on the UE4 website. I am using a .so library that also require Linux’s udev system. Is this possible, or w…

---

## [Cross compile for linux failed "Invalid target platform specified"](https://forums.unrealengine.com/t/cross-compile-for-linux-failed-invalid-target-platform-specified/465480)

<div class="topic-metadata">

**Author:** [@TuxTheAstronaut](https://forums.unrealengine.com/u/TuxTheAstronaut)\
**Replies:** 1\
**Last updated:** [January 4, 2021, 8:02pm UTC](https://forums.unrealengine.com/t/cross-compile-for-linux-failed-invalid-target-platform-specified/465480 "2021-01-04T20:02:35Z")

</div>

im on ue4 4.24 source build and am cross-compiling for Linux from windows ive downloaded the tool chain but when i compile the cook command failed saying UATHelper: Packaging (Linux): LogTargetPlatformManager: Error: …

---

## [Is it possible to build for Windows on a Mac?](https://forums.unrealengine.com/t/is-it-possible-to-build-for-windows-on-a-mac/299333)

<div class="topic-metadata">

**Author:** [@Softwave](https://forums.unrealengine.com/u/Softwave)\
**Replies:** 4\
**Last updated:** [December 24, 2020, 10:59pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-build-for-windows-on-a-mac/299333 "2020-12-24T22:59:05Z")

</div>

Have a Mac. My Windows PC died. UE4 works fine on my computer but as far as I can tell it’s not possible to build games for Windows from the Mac and that obviously really limits who can play anything I make. Is it poss…

---

## [Cross-Compiled Build Doesn't Run](https://forums.unrealengine.com/t/cross-compiled-build-doesnt-run/472936)

<div class="topic-metadata">

**Author:** [@Tuerer](https://forums.unrealengine.com/u/Tuerer)\
**Replies:** 3\
**Last updated:** [October 19, 2020, 4:25pm UTC](https://forums.unrealengine.com/t/cross-compiled-build-doesnt-run/472936 "2020-10-19T16:25:16Z")

</div>

Hi, all. For some reason my cross-complied build doesn’t run. The packaging completes with no errors; when I try to launch the build on Linux, nothing happens. If I launch it from the terminal, it says “Disabling core d…

---

## [Vulkan VK\_ERROR\_DEVICE\_LOST and crash on Linux](https://forums.unrealengine.com/t/vulkan-vk_error_device_lost-and-crash-on-linux/466724)

<div class="topic-metadata">

**Author:** [@Inductance](https://forums.unrealengine.com/u/Inductance)\
**Replies:** 1\
**Last updated:** [June 17, 2020, 1:12am UTC](https://forums.unrealengine.com/t/vulkan-vk_error_device_lost-and-crash-on-linux/466724 "2020-06-17T01:12:33Z")

</div>

I’m releasing a game very soon and cross compiling it on Windows for Linux. My beta testers using Linux get this error which crashes the game on launch. My initial guess was that Vulkan support wasn’t included because of…

---

## [Cross Compiling for Linux-ARM/Raspberry PI 3](https://forums.unrealengine.com/t/cross-compiling-for-linux-arm-raspberry-pi-3/411490)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_08787d181](https://forums.unrealengine.com/u/anonymous_user_08787d181)\
**Replies:** 5\
**Last updated:** [October 29, 2019, 5:03pm UTC](https://forums.unrealengine.com/t/cross-compiling-for-linux-arm-raspberry-pi-3/411490 "2019-10-29T17:03:42Z")

</div>

You don’t need to build your own cross-toolchain anymore - since version 8 of the toolchain, ARM and AArch64 sysroots are included in the zip (you can examine its contents), you just need to set it up using LINUX\_MULTIAR…

---

## [Why can not run debug binary (\*.debug) on linux using cross compile?](https://forums.unrealengine.com/t/why-can-not-run-debug-binary-debug-on-linux-using-cross-compile/455501)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_ef0c7393](https://forums.unrealengine.com/u/anonymous_user_ef0c7393)\
**Replies:** 3\
**Last updated:** [September 26, 2019, 7:36am UTC](https://forums.unrealengine.com/t/why-can-not-run-debug-binary-debug-on-linux-using-cross-compile/455501 "2019-09-26T07:36:46Z")

</div>

After cross Compiled Linux DS binaries on Win10( v13\_clang-7.0.1-centos7), I got four files: Test1Server Test1Server.debug Test1Server.sym Test1Server.target the Test1Server is running ok, but Test1Server.debug launc…

---

## [Cloth simulation not working in packaged project cross-compiled for Linux AArch64](https://forums.unrealengine.com/t/cloth-simulation-not-working-in-packaged-project-cross-compiled-for-linux-aarch64/452283)

<div class="topic-metadata">

**Author:** [@sc\_o](https://forums.unrealengine.com/u/sc_o)\
**Replies:** 0\
**Last updated:** [July 15, 2019, 3:31am UTC](https://forums.unrealengine.com/t/cloth-simulation-not-working-in-packaged-project-cross-compiled-for-linux-aarch64/452283 "2019-07-15T03:31:45Z")

</div>

Hi, I am creating a small program that I am experimenting with deploying on an NVidia Jetson Nano developer kit that runs Unreal’s cloth simulation as a main feature. I have been able to package the program for Linux AA…

---

## [Engine in WSL environment](https://forums.unrealengine.com/t/engine-in-wsl-environment/448565)

<div class="topic-metadata">

**Author:** [@TehnoMag](https://forums.unrealengine.com/u/TehnoMag)\
**Replies:** 5\
**Last updated:** [May 8, 2019, 5:17am UTC](https://forums.unrealengine.com/t/engine-in-wsl-environment/448565 "2019-05-08T05:17:01Z")

</div>

Has anyone run the engine in WSL environment after compiling through crosutils? I have one issue after compiled it in any configuration ./UE4Editor-Linux-Debug: symbol lookup error: /mnt/e/Unreal Engine 4/Engine/Eng…

---

## [Unable to instantiate module 'FreeType2': Linux dedicated server is made to depend on FreeType2](https://forums.unrealengine.com/t/unable-to-instantiate-module-freetype2-linux-dedicated-server-is-made-to-depend-on-freetype2/447328)

<div class="topic-metadata">

**Author:** [@FinalZer0](https://forums.unrealengine.com/u/FinalZer0)\
**Replies:** 1\
**Last updated:** [April 16, 2019, 12:10pm UTC](https://forums.unrealengine.com/t/unable-to-instantiate-module-freetype2-linux-dedicated-server-is-made-to-depend-on-freetype2/447328 "2019-04-16T12:10:42Z")

</div>

I’m having problem with “FreeType2”, when crosscompiling from windows to linux Getting error: Unable to instantiate module ‘FreeType2’: Linux dedicated server is made to depend on FreeType2. We want to avoid this, plea…

---

## [How to use Clang?](https://forums.unrealengine.com/t/how-to-use-clang/446814)

<div class="topic-metadata">

**Author:** [@Barreldude](https://forums.unrealengine.com/u/Barreldude)\
**Replies:** 0\
**Last updated:** [April 7, 2019, 11:21pm UTC](https://forums.unrealengine.com/t/how-to-use-clang/446814 "2019-04-07T23:21:48Z")

</div>

I’m using the Windows 10 OS and am trying to compile my game for Linux. I have tried to follow the documentation:https://docs.unrealengine.com/en-us/Platforms/Linux/GettingStarted However, it does not specify how to use …

---

## [Can't get Linux libraries during cross-compilation](https://forums.unrealengine.com/t/cant-get-linux-libraries-during-cross-compilation/446367)

<div class="topic-metadata">

**Author:** [@evethir](https://forums.unrealengine.com/u/evethir)\
**Replies:** 0\
**Last updated:** [April 1, 2019, 9:26am UTC](https://forums.unrealengine.com/t/cant-get-linux-libraries-during-cross-compilation/446367 "2019-04-01T09:26:40Z")

</div>

Hi everybody In my project I use a plugin that, based on the target platform/compiler, consider different libraries. When cross-compiling for Linux, the plugin considers a GNU library that I can easly found in my Linux …

---

## [Cross compilation from Windows to Linux](https://forums.unrealengine.com/t/cross-compilation-from-windows-to-linux/445248)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_85d323dd](https://forums.unrealengine.com/u/anonymous_user_85d323dd)\
**Replies:** 0\
**Last updated:** [March 13, 2019, 10:16pm UTC](https://forums.unrealengine.com/t/cross-compilation-from-windows-to-linux/445248 "2019-03-13T22:16:52Z")

</div>

Hi, I get: “Sorry, packaging a code-based project for the selected platform is currently not supported. This feature may be available in a future release.” In VS i have no Linux build option available. Only Win32/64 a…

---

## ["Could not be compiled, try rebuilding from source manually", when trying to migrate a project to another platform](https://forums.unrealengine.com/t/could-not-be-compiled-try-rebuilding-from-source-manually-when-trying-to-migrate-a-project-to-another-platform/438942)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_69bf34321](https://forums.unrealengine.com/u/anonymous_user_69bf34321)\
**Replies:** 7\
**Last updated:** [December 23, 2018, 10:59am UTC](https://forums.unrealengine.com/t/could-not-be-compiled-try-rebuilding-from-source-manually-when-trying-to-migrate-a-project-to-another-platform/438942 "2018-12-23T10:59:02Z")

</div>

Did you try opening your project inside Visual Studio, compile with F5 or Ctrl + F5?

---

## [Can't package for Linux, works for Windows](https://forums.unrealengine.com/t/cant-package-for-linux-works-for-windows/438582)

<div class="topic-metadata">

**Author:** [@Dragan](https://forums.unrealengine.com/u/Dragan)\
**Replies:** 0\
**Last updated:** [November 29, 2018, 11:23pm UTC](https://forums.unrealengine.com/t/cant-package-for-linux-works-for-windows/438582 "2018-11-29T23:23:08Z")

</div>

I am trying to build Linux version of game from Windows environment. Maybe I should note that packaging game for Windows works fine. This is guide that I followed: Cross-Compiling for Linux | Unreal Engine Documentati…

---

## [Cross compiling for Linux problem](https://forums.unrealengine.com/t/cross-compiling-for-linux-problem/437888)

<div class="topic-metadata">

**Author:** [@CJS30](https://forums.unrealengine.com/u/CJS30)\
**Replies:** 0\
**Last updated:** [November 18, 2018, 8:19pm UTC](https://forums.unrealengine.com/t/cross-compiling-for-linux-problem/437888 "2018-11-18T20:19:23Z")

</div>

Hi guy, I have tried everything to compile the server for my game on Windows to run on Linux but I always get this error on visual studio.When I try to pack for Linux in the engine it gives me an error saying (LinuxNoEdi…

---

## [Cross compiling for Windows on Linux and OS X](https://forums.unrealengine.com/t/cross-compiling-for-windows-on-linux-and-os-x/409003)

<div class="topic-metadata">

**Author:** [@Mona\_the\_Monad](https://forums.unrealengine.com/u/Mona_the_Monad)\
**Replies:** 2\
**Last updated:** [November 8, 2018, 8:05pm UTC](https://forums.unrealengine.com/t/cross-compiling-for-windows-on-linux-and-os-x/409003 "2018-11-08T20:05:43Z")

</div>

Foreword: I don’t actually have Unreal Engine installed yet; my team and I are new to Unreal and are just seeing how things will go before trying it out. Nowword: Because not all of our team uses Windows, I was wonderin…

---

## [Building for Windows on Linux](https://forums.unrealengine.com/t/building-for-windows-on-linux/427124)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_cbdcbcc2](https://forums.unrealengine.com/u/anonymous_user_cbdcbcc2)\
**Replies:** 0\
**Last updated:** [June 11, 2018, 4:51am UTC](https://forums.unrealengine.com/t/building-for-windows-on-linux/427124 "2018-06-11T04:51:37Z")

</div>

I know it is possible to package a game for linux on windows, but is it possible to package a game for windows on linux? Our teamcity server right now is a linux sever and we wanted to know if we had to get window server…

[Next page](https://forums.unrealengine.com/tag/cross-compiling/4836.md?match_all_tags=true&page=1&tags%5B%5D=cross-compiling)
