UE4 Linux Native Compilation using KDevelop not working

Hey there!

Thanks for your reply, I’ll definitely try code::blocks with your method (although – you say heavily modified? Want to elaborate?).

In the mean time, regarding QTCreator, I was able to make it work up until a certain point (see screenshot below). Here is my step-by-step (bear in mind I’m using latest Arch Linux):

---------------------------------------------------------------------------

DEPS

---------------------------------------------------------------------------

sudo pacman -Sy git clang35 dos2unix qtcreator cmake mono gdb

Start UE4 Editor, then create a new C++ project.

---------------------------------------------------------------------------

QTCreator - setup

---------------------------------------------------------------------------

Then, inside QTCreator:

Go to
Projects - Build Steps - click DETAILS
- Make arguments:
TestEditor

Projects - Clean Steps - click DETAILS
- Make Arguments:
TestEditor ARGS=" -clean"

Select RUN (PROJECTS/RUN)
- Run configuration (Executable -> browse until binaries/linux, choose UE4Editor) or write directly the path:
/hd/home/UE4/UnrealEngine/Engine/Binaries/Linux/UE4Editor <------- of course, your path will vary, mine is /hd/home/UE4

Put .uproject name to run
- Arguments: “/hd/home/UE4…myproject.uproject” -opengl4 <------------- or, wherever your project resides.

Working directory:
- Put : /hd/home/UE4/UnrealEngine/Engine/Binaries/Linux

Click “RUN IN TERMINAL”.

Then
ADD BUILD ENVIRONNEMENT VARIABLE

New/Modify Variable: LD_LIBRARY_PATH -> “:.:”

Then:

Go to Tools > Options, select Build & Run from left side panel, click Kits tab, click on Desktop (default), with an exclamation mark near it, click Auto-detect.
Finally: Select Debug - Start Debugging - Start Debugging

(If it says GDB not found – as was my case, then, you need to ensure gdb is installed – basically gdb must be found in the $PATH of your running session – then, redo these last steps and select GDB – do not create an entry manually – doesn’t seem to work.)

---------------------------------------------------------------------------

Compiling

---------------------------------------------------------------------------

So, All was well up to this point, it compiles and finds the gdb debugger… but then I get this:

Using binned.
Increasing per-process limit of core file size to infinity.

(and when I click OK on the message)

Exiting abnormally (error code: 1)
Press <RETURN> to close this window…

Is there a font issue, or some other error? (Message popup seems empty…)

So, that’s basically where I am at right now… if anyone has an idea what to do next… :slight_smile:

Thanks!