Unreal Engine 4 - ArchWiki

# Unreal Engine 4

Unreal Engine 4 is the latest version of the videogame Engine Created By Epic Games

The content of this article was originally written on this page and adapted specifically for Arch Linux.

## Minimum requirements

- PC or Mac
- Intel or Amd CPU@2.5GHz Quad Core 64 Bits
- GPU: NVIDIA GeForce GTX 470 or AMD Radeon 6870 HD series
- RAM: 8 GB

## Installation

This article or section needs language, wiki syntax or style improvements.

Reason: This must be translated into a PKGBUILD and uploaded to the AUR, and simply linked from here. (Discuss in Talk:Unreal Engine 4#)

### Compile from source code

#### Satisfy dependencies

Install clang35, mono, dos2unix and cmake.

Some users will have to either recompile their Clang or get a compiled package that does not use `ld.gold`:

If you installed clang35 from the repositories do the following:

    $ mkdir ~/bin/ && cd ~/bin/ && ln -s /bin/ld.bfd ./ld.gold

Then modify the .bashrc file and add the following line:

    export PATH=$HOME/bin:$PATH

Then close all the terminals to apply the changes.

#### Get the source code

First you need to register in the Epic Games Webpage and link your GitHub Account to your Epic Games Account.

Then download the source code with the following command:

    $ git clone -b release https://github.com/EpicGames/UnrealEngine.git

#### Prepare to compile

    $ cd UnrealEngine
    $ ./Setup.sh
    $ ./GenerateProjectFiles.sh

#### Compile the source code

To compile the source code execute the following command:

    $ make UE4Editor UE4Game UnrealPak CrashReportClient ShaderCompileWorker UnrealLightmass

This process will take a long time.

## Run Unreal Engine 4

    $ cd Engine/Binaries/Linux
    $ ./UE4Editor

## Troubleshooting

#### Compilation errors

##### "ConvexHull2D.h" not found

You need to modify the `SubUVAnimation.cpp` file located in `/Engine/Source/Runtime/Engine/Private/Particles` and override this line:

    #include "ConvexHull2D.h"

with this:

    #include "ConvexHull2d.h"

#### Compilation problems

If the compilation fails you should try building the Editor using the Debug profile:

    $ make UE4Editor-Linux-Debug

Categories:

- Development
- Gaming

Hidden category:

- Pages or sections flagged with Template:Style