Files
UnrealEngineUWP/Engine/Build/BatchFiles/Linux
Dmitry Rekman dbdea559eb [Github] PR 242 (safe changes).
- 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]
2014-07-08 00:06:17 -04:00
..
2014-07-08 00:06:17 -04:00
2014-07-08 00:06:17 -04:00

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

  1. Download the additional .zip archives for the master branch from Epic's GitHub Releases page at https://github.com/EpicGames/UnrealEngine/releases

  2. Download v129a of the Steamworks SDK.

  3. Install the downloaded dependencies with:

     $ ./UpdateDeps.sh.
    
  4. Build third party libraries:

     $ ./BuildThirdParty.sh.
    
  5. Build UnrealBuildTool (UBT) and generate top level Makefile:

     $ ./GenerateProjectFiles.sh
    
  6. Build your targets using the top-level Makefile. e.g:

     $ make UE4Client
    

    Or by running Build.sh directly:

     $ Engine/Build/BatchFiles/Linux/Build.sh UE4Client Linux Debug