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"

AnswerHub Maintenance

Background maintenance is scheduled to occur between 9 - 11am EDT on Tuesday, May 21. Site operation may be slower than normal during this time and a brief interruption in operation may be observed

Arch Linux: Could not determine version of the compiler, not registering Linux toolchain.

Following the instructions on the ArchWiki,

While running GenerateProjectFiles.sh, I got a long list of errors about not being able to determine the version of the complier, like this:

 WARNING: Exception while generating include data for UE4Editor: Could not determine version of the compiler, not registering Linux toolchain.
 WARNING: Exception while generating include data for BlankProgram: Could not determine version of the compiler, not registering Linux toolchain.
 WARNING: Exception while generating include data for BuildPatchTool: Could not determine version of the compiler, not registering Linux toolchain.
 WARNING: Exception while generating include data for CrashReportClient: Could not determine version of the compiler, not registering Linux toolchain.

and so on. I downgraded clang to 5.0.1-2 but that didn't help.

Trying to make it returns the same error.

 $ make -j1
 bash "/home/bns/Downloads/random_programs/UnrealEngine-4.19.2-release/Engine/Build/BatchFiles/Linux/Build.sh" CrashReportClient Linux Shipping  
 Building CrashReportClient...
 Creating makefile for CrashReportClient (no existing makefile)
 Performing full C++ include scan (no include cache file)
 ERROR: Could not determine version of the compiler, not registering Linux toolchain.
 make: *** [Makefile:257: CrashReportClient-Linux-Shipping] Error 5

Does anyone know what might be going on here?

Product Version: UE 4.19
Tags:
more ▼

asked Jun 29 '18 at 07:24 PM in Installation & Setup

avatar image

nonoesimposible
1 1 2

avatar image Acheta Games Jun 29 '18 at 07:28 PM

Use the AUR package? or let yourself be inspired by it. https://aur.archlinux.org/packages/unreal-engine/

avatar image nonoesimposible Jun 29 '18 at 07:34 PM

Ah, I should have mentioned that. ~14 GiB of download + all that build storage is not good for a limited data wifi plan and 120GB of storage. (Well yes, I probably shouldn't try to install UE4 with a 120 GB of SSD but I figured it was worth a try.)

avatar image Acheta Games Jun 29 '18 at 08:56 PM

Well it does not download anything extra. You still get the same amount of data either way. But look at the patches in that AUR package, they do resolve some stuff.

avatar image nonoesimposible Jun 30 '18 at 12:28 AM

Thank you very much for the help. Like most Linux installation problems, it had to do with clang. After I patched LinuxToolChain.cs with a clang 6 support patch, I was able to run GenerateProjectFiles.sh without any errors and then compile it with make.

My only problem is that I don't see it in the menu, and there's no Unreal stuff in /opt. Should I try running some scripts again?

avatar image nonoesimposible Jun 30 '18 at 12:37 AM

Oh, NVM. After checking out the official build instructions, all I had to do was run ./Engine/Binaries/Linux/UE4Editor. Thanks again! =)

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

0 answers: sort voted first
Be the first one to answer this question
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