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?