We've been discussing it mostly on the IRC at irc://irc.freenode.net/UE4Linux, but you can also find a few forum threads about it.
For the first time setup (if you just want to use the release version, if not follow the instructions after the following instructions), run the below commands in your favorite terminal: $ git clone https://github.com/Epic Games/Unreal $ # or if you are using ssh authentication: $ # git clone [email protected]: Epic Games/Unreal $ cd Unreal Engine $ ./$ ./Generate Project Or if you want to use a versioned branch that the latest Release is based on to get latest fixes, use a versioned branch for the release version. (Note to maintainers, please keep this section up to date) $ git clone -b 4.18 https://github.com/Epic Games/Unreal $ # or if you are using ssh authentication: $ # git clone -b 4.18 [email protected]: Epic Games/Unreal $ cd Unreal Engine $ ./$ ./Generate Project The script may ask you to install additional packages (on certain distributions), and either git hooks will download the binary dependencies or the script will handle that for you.
Now you should be all set and you can build all needed UE4 projects to develop your projects using the generated Makefile.
Automation.csproj: warning : Project has unknown Tools Version '11.0'. If you run multi-monitor setup and have issues e.g.
Editor splash screen appears centered between displays, make sure that SDL2 is compiled with xinerama and/or xrandr support.
If you do not have a Git Hub username, then you need to get one first.
If you get a message that repository does not exist, you probably: Make sure you linked your Git Hub account to your profile on https://unrealengine.com, as all Epic repositories are private.
See https://forums.unrealengine.com/showthread.php? 53451-Successful-4-6-0-build-on-Fedora-20-x86_64 For a manual install, the dependencies needed to build Unreal Engine 4 can be added by running the following command: Arch users will have to either recompile their Clang or get a compiled package that does not use ld.gold, because causes linking problems yet has been hard coded into Clang. Execute the following command: This might work better and not cause threading crashes seen when building standard "Development" profile. Mint users should install the dependencies needed to build Unreal Engine 4 by running the following command: version (09.2016): When running Slate Viewer, and later UE4Editor, lib 1 needs to be either preloaded with LD_PRELOAD -OR- an installation of a package like fglrx to add the library to the build.
Optionally you could go through the following steps for a work around (faster and easier): 1. installation example: This will also generate the necessary include file lists for vscode, they should be found in projectdir/.vscode.
You will need to have the dev libs of both installed ahead of time.
In Ubuntu (and alike) do: $ sudo apt-get install build-essential mono-gmcs mono-xbuild mono-dmcs libmono-corlib4.0-cil libmono-system-data-datasetextensions4.0-cil libmono-system-web-extensions4.0-cil libmono-system-management4.0-cil libmono-system-xml-linq4.0-cil cmake dos2unix clang-3.5 libfreetype6-dev libgtk-3-dev libmono-microsoft-build-tasks-v4.0-4.0-cil xdg-user-dirs $ sudo apt-get install build-essential mono-mcs mono-devel mono-xbuild mono-dmcs mono-reference-assemblies-4.0 libmono-system-data-datasetextensions4.0-cil libmono-system-web-extensions4.0-cil libmono-system-management4.0-cil libmono-system-xml-linq4.0-cil cmake dos2unix clang-3.5 libfreetype6-dev libgtk-3-dev libmono-microsoft-build-tasks-v4.0-4.0-cil xdg-user-dirs See Building on Cent OS page.
PHONY: statement at the bottom: shaders-clean: rm -rf Engine/Intermediate/Shaders Engine/Saved Engine/Derived Data Cache Engine/Intermediate/Cached Asset editor-clean: rm -rf Engine/Intermediate/Build/Linux/x86_64-unknown-linux-gnu/UE4Editor Engine/Binaries/Linux/lib UE4Editor-* Engine/Binaries/Linux/UE4Editor clean: rm -f Engine/Binaries/Linux/Unreal* Engine/Binaries/Linux/UE* \ Engine/Binaries/Linux/lib Unreal* Engine/Binaries/Linux/lib UE* Engine/Binaries/Linux/lib Sh* \ Engine/Binaries/Linux/Shader Compile Worker* Engine/Binaries/Linux/Slate Viewer* Engine/Binaries/Linux/Crash Report Client* rm -rf Engine/Intermediate/Build Engine/Binaries/Linux/HTML5 Engine/Binaries/Linux/Linux Engine/Binaries/Linux/Android Engine/Binaries/Linux/IOS Engine/Binaries/Linux/HTML5 Make sure that the indented sections are not made out of spaces, but a single tab.