Build, Run, Code & Debug Unreal Engine 4.19 under Ubuntu 18.04

About Building UE4 on Linux
https://wiki.unrealengine.com/Building_On_Linux

About Running UE4 on Linux

  1. Run with UE4 Editor:
  2. Open compiled project with UE4 Editor.
    ///Terminal commands - To open the project with the editor:
~$  /<YourUnrealEngine4Folder>/UnrealEngine-4.19/Engine/Binaries/Linux/UE4Editor /<YourUnrealProjectFolder>/CrossPlatformProj/CrossPlatformProj.uproject -run

Note: UE4 Editor and UE4 project could be stored in NTFS (usually used in Win 10), and Ubuntu can mount NTFS easily.

About Coding UE4 on Linux
///Terminal commands - Checking clang status

~$ sudo update-alternatives --config c++ 
checking clang++ version

///Terminal commands - Promotion of Clang 5.0

~$  update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-5.0 100
~$  update-alternatives --install /usr/bin/clang clang /usr/bin/clang-5.0 100

///Terminal commands - Uninstall just clang-6.0

~$ sudo apt-get remove clang-6.0

///Terminal commands - Uninstall clang-6.0 and its dependencies

~$ sudo apt-get remove --auto-remove clang-6.0

///Terminal commands - Purging config /data after the deletion

~$ sudo apt-get purge clang-6.0
~$ sudo apt-get purge --auto-remove clang-6.0

About Compiling & Building UE4 on Linux with CodeLite

  1. Opening the workplace, which almost equals to .sln of Visual Studio, noticing that it may encounter that the recent workplace is not able to open due to unmounted disks. So pls don't forget.
  2. Firstly build the editor, then build the project under Development


    Project: CrossPlatfromProj
Specify clang 501, Settings -> Code Completion -> CTags -> Search Paths -> Suggest
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡書系信息發(fā)布平臺,僅提供信息存儲服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容