This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| tips:gameengine:unreal [2015/04/11 12:05] – created scipio | tips: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:// | * [[https:// | ||
| - | * [[hhttps:// | + | * [[https:// |
| + | |||
| + | Prereq | ||
| <code bash> | <code bash> | ||
| + | sudo apt-get install build-essential mono-gmcs mono-xbuild mono-dmcs libmono-corlib4.0-cil \ | ||
| + | | ||
| + | | ||
| + | cmake dos2unix clang-3.5 xdg-user-dirs | ||
| + | |||
| + | sudo ln -s / | ||
| + | sudo ln -s / | ||
| + | </ | ||
| + | |||
| + | First time | ||
| + | <code bash> | ||
| + | # clone | ||
| git clone https:// | git clone https:// | ||
| + | |||
| + | # complete download of dependencies and binaries | ||
| + | cd UnrealEngine | ||
| + | ./Setup.sh | ||
| + | ./ | ||
| + | </ | ||
| + | |||
| + | build editor | ||
| + | <code bash> | ||
| + | make ShaderCompileWorker UnrealLightmass UnrealPak CrashReportClient UE4Editor | ||
| + | </ | ||
| + | |||
| + | To running editor an IDE must be present, Epic wants kdevelop but it is possible to use [[https:// | ||
| + | |||
| + | For example configure vim IDE for C++ editor mode: | ||
| + | 1) clone | ||
| + | < | ||
| + | cd Engine/ | ||
| + | git clone https:// | ||
| + | </ | ||
| + | |||
| + | 2) edit ''' | ||
| + | < | ||
| + | [/ | ||
| + | PreferredAccessor=SensibleEditorSourceCodeAccessor | ||
| + | </ | ||
| + | |||
| + | run editor | ||
| + | < | ||
| + | Engine/ | ||
| </ | </ | ||
| + | ===== Kdevelop ===== | ||
| + | Import project selecting **CMakeLists.txt** | ||