- Code cleanup and minor rearrangement (e.g. variable name changes). - Additions. - Case issues fixed. - Minor fixes (init ordering). [CL 2172690 by Dmitry Rekman in Main branch]
Build scripts for native Linux build
This document describes how to build UE4 natively on a Linux host. So far this has only been tested on Debian/Sid and Ubuntu/Precise.
A wiki page page regarding building on linux is also maintained at https://wiki.unrealengine.com/Building_On_Linux, and public IRC discussion happens on #UE4Linux on FreeNode.
Prerequisites
You will need mono + gmcs and several other packages installed in order to build EU4. The command to install these on Ubundu 12.04 (Precise) is:
$ apt-get install mono-mcs mono-xbuild dos2unix clang-3.3 \
libogg-dev libmono-microsoft-build-tasks-v4.0-4.0-cil \
libmono-system-data-datasetextensions4.0-cil \
libmono-system-web-extensions4.0-cil \
libmono-system-management4.0-cil
Building
-
Download the additional .zip archives for the master branch from Epic's GitHub Releases page at https://github.com/EpicGames/UnrealEngine/releases
-
Download v129a of the Steamworks SDK.
-
Install the downloaded dependencies with:
$ ./UpdateDeps.sh. -
Build third party libraries:
$ ./BuildThirdParty.sh. -
Build UnrealBuildTool (UBT) and generate top level Makefile:
$ ./GenerateProjectFiles.sh -
Build your targets using the top-level Makefile. e.g:
$ make UE4ClientOr by running
Build.shdirectly:$ Engine/Build/BatchFiles/Linux/Build.sh UE4Client Linux Debug