This may be a newbie question, but I am trying to package my game for Linux from a Windows computer. When I am in the UE4 Editor, I go to File → Package Project → Linux, just like I usually do for packaging my Win-64 version. But I keep getting the error: “Sorry, packaging a code-based project for the selected platform is currently not supported. This feature may be available in a future release.”
I have been trying to follow the instructions found on the “Compiling for Linux” page (A new, community-hosted Unreal Engine Wiki - Announcements - Epic Developer Community Forums) and followed the steps. I installed the Linux-x86_64 cross compile toolchain, set it up with the Powershell script (as administrator), made sure the environment variable was set, and I ran the GenerateProjectFiles.bat before restarting Visual Studio. Maybe I am supposed to re-write the Environment Variable? The variable value is different in the guide. This is mine:
I noticed that Linux was not available with the Solution Platforms. I am not sure if that is what the instructions meant when it said, “After this, you should have “Linux” available among Win32/Win64 configurations, and you should be able to cross-compile for it.”
But as far as I can tell, I followed the steps right. I am just not really experienced with this type of thing, so I don’t know if I am going about this the wrong way. Perhaps I missed a step or I have to do this through Visual Studio. If so, I need help/instructions on how to do so. Sorry if this is something really basic or obvious! Like i said, I am new at this. I’m just trying to package my game so that my friend on a Linux can try it out. Thanks in advance!