I like how you put most of the important commands in the description as the Unreal page has been updated and doesn't contain the commands anymore. Thanks!
Thanks a lot man, I finally got my game compiling for Linux! If every Linux guy was as thorough as you I would have made so much more progress with Linux.
If anyone struggles with compiling after you've installed the latest toolchain, it's because UE5 need V17 clan 10.0.1 - It could seem like this video uses the absolute latest version of UE, maybe the main branch? - Anyways - massive amount of love you for making this video. Your channel is really helpful!
Hey, thank you for the kind words. I am using the 5.0 branch, which supports the v19-11.0.1 toolchain, in this video but yes, the ue5 main branch, I believe atm, also supports that same version of the toolchain.
Just wondering, are you using Unreal Engine 5 Early Access? Because yes, that version uses the v17-10.0.1 clang toolchain since ue5-ea is a fork of 4.26. I could see the very early/first commits of the 5.0 branch being parallel with 4.26 but most of the commits, especially the later ones, of 5.0 should be in parallel with 4.27, thereby supporting the v19-11.0.1 toolchain.
Now i am kinda wondering about something. Do you have experience with Amazon gravitation servers for the builded linux server? If so - then please make a video about that topic cuz i am struggling to push the builded solution to a service with the correct settings 😂
Hey, I would recommend looking at this blog post for more info on Graviton, aws.amazon.com/blogs/gametech/compiling-unreal-engine-4-dedicated-servers-for-aws-graviton-ec2-instances/, but it shouldn't be too bad. It's just that Graviton instances run on ARM CPUs so you need to package a Linux Aarch64 build instead of a x86-64 build for Unreal Engine. Other than that, it should be pretty straightforward, at least from what I gather from the blog post.
I was having an issue where it kept saying the SDK for Linux wasn't installed even though it was on Windows and I could see the environmental variable. A system reboot fixed it for me.
Not working for the source build version 5.5. Clang 16 for 5.4 wouldn't compile because it requires 18 or later but when I installed those and regenerated the project files, the linux options disappeared lol.
Its a good question but I don't have a great answer. Compiling windows stuff on Linux isn't natively supported from what I understand. There are third party libraries like WINE for example that allow you to run windows stuff on Unix; however, unreal is huge so it's not going to be easy. I know this doesn't answer your question but I'm just not sure if it's even possible.
@@Flopperam I mean I downloaded the Linux Version of the Unreal 5 Editor on my Linux Mint OS on my Computer. The Linux version of Unreal 5 supports of corse compiling for Linux Builds. But I dont see a option to also compile my game for Windows. I mean what Game on earth only offers a Linux version to play? So there must be a way to also crosscompile your game for windows. I found a forum that was talking about "mingw", but it seems that mingw was already installed but still doesen't show me an build option for windows in the Editor, even Windows is selected for supported build options.
I'm using UE5 source - I downloaded the latest clang as indicated by unreal (v20 13.0.1), however, linux is still not showing up as an option to package. Instead it is under "Platforms with no complied support". Does anyone know if this means I have to build the game again in VS code under the linux option?
@@Flopperam I’m using UE 5.0.3, I use the the last tool chain available only for 5.0.2. This is the error : Platform Linux is not a valid platform to build
@@Flopperam It's occurring while I'm packaging on Unreal, on the documentation page, l've figured out that there is no clang version available for 5.0.3 yet.
@@pacrouge4429 Unreal 5.0.x is technically a fork of 4.27 so that toolchain should work. i know you said you followed the instructions so maybe these are dumb questions, but did you rebuild your engine after installing the toolchain? Are you using a source build version of Unreal? And did you rerun the Setup and GenerateProjectFiles scripts before rebuilding?
thanks a lot for your video ! I'm getting this error though.. It seems impossible to understand.. I have toolchain v20 installed but when i try to package it says : "BUILD FAILED: AddBuildProductsFromManifest: C:\Binaries\Linux\JUD.debug was in manifest "C:\Intermediate\Build\Manifest.xml" but could not be found. I tried everything what could it be ? thanks a lot
This might be unrelated to the video but I'm getting an error claiming that an SDK for linux is not installed properly, does anyone know how to fix this?
@@squade4873 Could you try reinstalling the engine, maybe even regenerating the visual studio project files for the project, rebuild the project in Visual Studio, and then trying again?
That's a good question. Unfortunately, since there are so many Linux operating systems, the only real way of knowing is to test the packaged game on a Linux machine. Unreal let's you cross compile for two Linux architectures I believe, arm and x64.
I like how you put most of the important commands in the description as the Unreal page has been updated and doesn't contain the commands anymore. Thanks!
This solution worked for me. Make sure to restart your PC after installing Clang.
Thank you for sharing.
thank you so much this worked😃
@@Eren_Yeager_is_the_GOAT A pleasure.
Thanks a lot man, I finally got my game compiling for Linux! If every Linux guy was as thorough as you I would have made so much more progress with Linux.
If anyone struggles with compiling after you've installed the latest toolchain, it's because UE5 need V17 clan 10.0.1 - It could seem like this video uses the absolute latest version of UE, maybe the main branch? - Anyways - massive amount of love you for making this video. Your channel is really helpful!
Hey, thank you for the kind words. I am using the 5.0 branch, which supports the v19-11.0.1 toolchain, in this video but yes, the ue5 main branch, I believe atm, also supports that same version of the toolchain.
Just wondering, are you using Unreal Engine 5 Early Access? Because yes, that version uses the v17-10.0.1 clang toolchain since ue5-ea is a fork of 4.26. I could see the very early/first commits of the 5.0 branch being parallel with 4.26 but most of the commits, especially the later ones, of 5.0 should be in parallel with 4.27, thereby supporting the v19-11.0.1 toolchain.
Indeed i am using the early access build. And yes it's a 4.26 fork, i learned that after much struggle 😂
Now i am kinda wondering about something. Do you have experience with Amazon gravitation servers for the builded linux server? If so - then please make a video about that topic cuz i am struggling to push the builded solution to a service with the correct settings 😂
Hey, I would recommend looking at this blog post for more info on Graviton, aws.amazon.com/blogs/gametech/compiling-unreal-engine-4-dedicated-servers-for-aws-graviton-ec2-instances/, but it shouldn't be too bad. It's just that Graviton instances run on ARM CPUs so you need to package a Linux Aarch64 build instead of a x86-64 build for Unreal Engine. Other than that, it should be pretty straightforward, at least from what I gather from the blog post.
This helped. Thanks
edit: If for some reason, you built UE from src, and cant see the Linux package option, try running your dev editor from VS
Yeah, this also fixed my issue after fixing first the Clang folder path and restarted Windows.
I was having an issue where it kept saying the SDK for Linux wasn't installed even though it was on Windows and I could see the environmental variable. A system reboot fixed it for me.
Thank you, this was helpful!
Thank you a lot, this helped! Regarding graphics output: Did you ever acutally make the game render using wsl2? I tried like everything....
I haven't but I'm not sure if that's possible. I could be wrong though
Love the new Intro
Nice info thanks.
you saved my life
Not working for the source build version 5.5. Clang 16 for 5.4 wouldn't compile because it requires 18 or later but when I installed those and regenerated the project files, the linux options disappeared lol.
Hmmm thanks for letting me know, surprised this video already needs an update/remake
@ Well 5.5 is not officially out yet so it's understandable.
thx ,solved my problem
can i run Unreal engine 5 on 16gb ram intel i5 6th gen 2.6 GHZ 240ssd plz tell me which Unreal engine version should i use ?
Those specs should be fine, maybe a little slow, for ue5, also depends on the gpu.
But how to Cross-Compile for "Windows", if I am running the Linux Version of UE5?
Its a good question but I don't have a great answer. Compiling windows stuff on Linux isn't natively supported from what I understand. There are third party libraries like WINE for example that allow you to run windows stuff on Unix; however, unreal is huge so it's not going to be easy. I know this doesn't answer your question but I'm just not sure if it's even possible.
@@Flopperam I mean I downloaded the Linux Version of the Unreal 5 Editor on my Linux Mint OS on my Computer.
The Linux version of Unreal 5 supports of corse compiling for Linux Builds. But I dont see a option to also compile my game for Windows.
I mean what Game on earth only offers a Linux version to play?
So there must be a way to also crosscompile your game for windows.
I found a forum that was talking about "mingw", but it seems that mingw was already installed but still doesen't show me an build option for windows in the Editor, even Windows is selected for supported build options.
I'm using UE5 source - I downloaded the latest clang as indicated by unreal (v20 13.0.1), however, linux is still not showing up as an option to package. Instead it is under "Platforms with no complied support". Does anyone know if this means I have to build the game again in VS code under the linux option?
You have to regenerate the project files and build the engine from source again for the Linux option to show up I believe.
@@Flopperam thanks! I will try that
For 5.0.3 there is no clang version related. Ive followed all the steps and I keep receiving error while I’m packaging for Linux, any clue ?
I'm not too sure. Are you using the 4.27 keychain? Also, what's the error?
@@Flopperam I’m using UE 5.0.3, I use the the last tool chain available only for 5.0.2. This is the error : Platform Linux is not a valid platform to build
@@pacrouge4429 Is this occurring when packaging or building in Visual Studio?
@@Flopperam It's occurring while I'm packaging on Unreal, on the documentation page, l've figured out that there is no clang version available for 5.0.3 yet.
@@pacrouge4429 Unreal 5.0.x is technically a fork of 4.27 so that toolchain should work. i know you said you followed the instructions so maybe these are dumb questions, but did you rebuild your engine after installing the toolchain? Are you using a source build version of Unreal? And did you rerun the Setup and GenerateProjectFiles scripts before rebuilding?
thanks a lot for your video ! I'm getting this error though.. It seems impossible to understand.. I have toolchain v20 installed but when i try to package it says : "BUILD FAILED: AddBuildProductsFromManifest: C:\Binaries\Linux\JUD.debug was in manifest "C:\Intermediate\Build\Manifest.xml" but could not be found. I tried everything what could it be ? thanks a lot
Hey sorry for the late response but are you still getting this error?
@@Flopperam no thanks i found out what was happening !
@@HadrienBasch Do you remember what you did haha ?
Damn sorry no... I don't even have an idea on what project this was about@@leohmedia1592 but ask @Flopperam
This might be unrelated to the video but I'm getting an error claiming that an SDK for linux is not installed properly, does anyone know how to fix this?
At what timestamp of the video is this error occurring?
@@Flopperam 3:22 , right after clicking Package Project. I'm on UE 5.0.3.
@@squade4873 Hmmm, did you download the engine from the Epic Games Launcher or from Github?
@@Flopperam Epic Games. I also double checked if I had Linux checked on Target platforms.
@@squade4873 Could you try reinstalling the engine, maybe even regenerating the visual studio project files for the project, rebuild the project in Visual Studio, and then trying again?
Should it work on linux?
Hey, are you asking about compiling on a Linux machine or will the cross-packaged game work on a linux machine?
@@Flopperam crooss-package.
How i know its when u make game on windows and linux sametime,am i right?
That's a good question. Unfortunately, since there are so many Linux operating systems, the only real way of knowing is to test the packaged game on a Linux machine. Unreal let's you cross compile for two Linux architectures I believe, arm and x64.