Unreal Engine 4.14 Linux "No compiler was found"

I’ve just installed Unreal Engine 4.14 on Kubuntu and cannot create a new C++ project. At the bottom of the Unreal Project Browser window, the following is displayed (with a red background):

! No compiler was found. In order to use C++ template, you must first install an IDE to edit source code.

In Engine/Config/Linux/LinuxEngine.ini I have modified the “PreferredAccessor” to:

 [/Script/SourceCodeAccess.SourceCodeAccessSettings]
 PreferredAccessor=CodeLiteSourceCodeAccessor

I have also created soft links to clang+±3.9 and clang-3.9:

sudo ln -s /usr/bin/clang++-3.9 /usr/bin/clang++
sudo ln -s /usr/bin/clang-3.9 /usr/bin/clang

Unfortunately, the above has not worked, I am still unable to create a new C++ project (the “Create Project” button remained grayed out).

Try adding an alternative so /usr/bin/clang file exists. The code only checks for versions it knows that the engine can be compiled with, and although 4.14 should support clang 3.9, maybe it was missed.

Hi TCL. Thanks for your reply.

I just completed a clean install of Ubuntu 16.10, Unreal Engine 4.14, Clang 3.9 and CodeLite 9.2 - and everything works!

I would like to mention, however, that I find this error string very confusing:

“No compiler found. In order to use a C++ template, you must first install an IDE to edit source code”

It’s complaining about not finding a compiler, then explaining an IDE must be installed. I believe the error string should be “No IDE found”, or “No compiler found”, not both.

Performed a clean install of Ubuntu 16.10, Unreal Engine 4.14, Clang 3.9 and CodeLite 9.2. Everything now works as expected.

Almost identical issue on UE4.18 with Ubuntu 17.10 - except the error message is now: “No compiler was found. In order to use a C++ template, you must first install NullSourceCodeAccessor. Download NullSourceCodeAccessor” (which is a link to a Wikipedia page about what an IDE is :slight_smile:

Here’s a video showing installation on Kubuntu 18.04 beta 1:

and post-installation setup: