tips:gameengine:unreal

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
tips:gameengine:unreal [2015/04/11 12:05] – created scipiotips:gameengine:unreal [2015/04/17 12:28] (current) – [Build from sources] scipio
Line 1: Line 1:
 ====== Unreal ====== ====== Unreal ======
  
-====== Build from sources ======+===== Build from sources =====
  
 Register and access to: Register and access to:
Line 12: Line 12:
 Two branches: Two branches:
   * [[https://github.com/NvPhysX/UnrealEngine|Unreal with flex]]   * [[https://github.com/NvPhysX/UnrealEngine|Unreal with flex]]
-  * [[hhttps://github.com/EpicGames/UnrealEngine|Unreal]]+  * [[https://github.com/EpicGames/UnrealEngine|Unreal]]
  
 +
 +Prereq
 <code bash> <code bash>
 +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 xdg-user-dirs
 +
 +sudo ln -s /usr/bin/clang++-3.5 /usr/bin/clang++
 +sudo ln -s /usr/bin/clang-3.5 /usr/bin/clang
 +</code>
 +
 +First time
 +<code bash>
 +# clone
 git clone https://github.com/NvPhysX/UnrealEngine.git git clone https://github.com/NvPhysX/UnrealEngine.git
 +
 +# complete download of dependencies and binaries
 +cd UnrealEngine
 +./Setup.sh
 +./GenerateProjectFiles.sh
 +</code>
 +
 +build editor
 +<code bash>
 +make ShaderCompileWorker UnrealLightmass UnrealPak CrashReportClient UE4Editor
 +</code>
 +
 +To running editor an IDE must be present, Epic wants kdevelop but it is possible to use [[https://wiki.unrealengine.com/Linux_Known_Issues|others]].
 +
 +For example configure vim IDE for C++ editor mode: 
 +1) clone
 +<code>
 +cd Engine/Plugins/Developer
 +git clone https://github.com/fire/SensibleEditorSourceCodeAccess.git
 +</code>
 +
 +2) edit '''Engine/Config/Linux/LinuxEngine.ini'''
 +<code>
 +[/Script/SourceCodeAccess.SourceCodeAccessSettings]
 +PreferredAccessor=SensibleEditorSourceCodeAccessor
 +</code>
 +
 +run editor
 +<code>
 +Engine/Binaries/Linux/UE4Editor
 </code> </code>
  
 +===== Kdevelop =====
  
 +Import project selecting **CMakeLists.txt**
  • tips/gameengine/unreal.1428746717.txt.gz
  • Last modified: 2015/04/11 12:05
  • by scipio