Build the game for linux on windows. Help

Hi everyone, Im triying to build my game for linux on a Windows machine. I followed this documentation: Linux Development Requirements for Unreal Engine | Unreal Engine 5.1 Documentation

I’m having a few troubles. I think i got right the enviroment variable. I also did generate project files with visual studio with right click on my game.uproject

I dont understand this step becouse i cant find the file called setup.bat and generateprojectfiles.bat either:

i cant see the linux tab on visual studio

Hey -

To cross-compile for Linux you will need to be using a content-only project (blueprint pure with no added code) or, if your project does include code, you will need to use an engine build from Source. The Setup.bat and GenerateProjectFiles.bat files are included in the download of the source code. Please follow the instructions on this page for detailed steps on cross-compiling for windows: A new, community-hosted Unreal Engine Wiki - Announcements - Epic Developer Community Forums


Thank you for your answer. Is it possible to compile for Linux my c+ game using linux itself?.

Yes, if you’re using a Linux machine you can package for Linux without any issues.