how to compile to linux?
i really want to compile my games to linux, but i think i'm to dumb to configure the crosscompiler, there's some tutorials about how doing it but i can't follow it, if someone did it before and can help me with a "step by step compiling to linux on UE4 for dummies" i would be gratefull,
let's start, on this page: https://wiki.unrealengine.com/Building_Linux_cross-toolchain "You need to download the pre-built toolchain first" where can i find this "pre-built toolchain"?
then it says: "Copy BuildCrossToolchain.sh together with linux-host.config and win64-host.config to a Linux machine running reasonably recent distro. Make sure that the following pre-requisites are installed" I believe i've configurated the "linux machine" already, i was kinda desperate to build the crosscompiler so i've downloaded and installed:"cygwin64","mingw","msys","gcc", and "sysgcc" all i know is that gcc is the default c and c++ compiler on linux, i don't know anything about the rest, but i think one of these is the linux machine,
i've installed llvm and clang as it suggests but i have no idea what "Use cmake to generate project files and then build Release (or MinSizeRel) x64 configuration of "install" (or INSTALL, if you are using Visual Studio) target"means
then last, there's this tutorial (when you click on 'compile to linux' inside unreal): http://docs.unrealengine.com/latest/INT/Platforms/Linux/GettingStarted/index.html i'm ok with the "environment variable" part, but then it asks to "regenerate UE4 project files (using GenerateProjectFiles.bat)" and i have no idea where i would find this "GenerateProjectFiles.bat"
i really hope someone helps me, sorry if i'm being "too dumb" but i really can't understand the tutorials.
First, you will want to make sure you are using a source build of the engine from GitHub to make use of cross-compiling. I would suggest following this documentation which is similar to the second link that you provided but also includes links to download the toolchain binaries:
The info necessary for setting up the environment variables should be in one of the text files after this is installed. It should have
answered May 12 '16 at 05:05 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here