x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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).

Screenshot

Product Version: UE 4.14
Tags:
more ▼

asked Feb 14 '17 at 01:25 AM in Linux

avatar image

syddel
26 1 5 8

avatar image oak1980 Apr 20 '18 at 08:52 PM

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 :-)

alt text

avatar image syddel Apr 23 '18 at 11:15 PM

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

https://www.youtube.com/watch?v=_UG2wtCJAwM

and post-installation setup:

https://www.youtube.com/watch?v=_UG2wtCJAwM

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

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

more ▼

answered Feb 15 '17 at 12:53 AM

avatar image

syddel
26 1 5 8

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

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.

more ▼

answered Feb 14 '17 at 11:02 PM

avatar image

RCL STAFF
2.7k 59 6 88

avatar image syddel Feb 15 '17 at 12:51 AM

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.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question