-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Carla UE5 build failed due to clang 16 compatibility issue #7991
Comments
Closing this issue since after spending many hours I still couldn't figure out how to make Carla UE5.3 work in Ubuntu 24.04 (probably in future if someone visits this issue again). The solution is to basically change OS to either Ubuntu 22.04 or Windows 10/11. I did later and with few minor errors I was able to make UE5.3 work in windows 11. In case someone encounters this issue, it is regarding UE5.3 internal Clang Toolchain compiler only supporting Linux version upto 22.04 (more info here), This is exact compiler which is being used inside Setup.sh script during compiling. (One crude solution is to remove that and use system's default Clang toolchain but also requires configuring UE5 compiler too), in case the clang support has been extended in future then you can use Ubuntu 24.04 with Carla UE5 without any hassle. Commenting this so that no-one else have to waste many hours on a dead-end. |
Hello Jerome, I would use Ubuntu 22.04, since this is the version which is recommended on the offical CARLA docs. I could not discover any website mentioning Ubuntu 24.04 yet. |
Hi, |
Hello,
I am trying to build the Carla version with Unreal Engine 5 from the official docs given here
I am getting clang
cannot find /lib64/ld-linux-x86-64.so.2
error, I have tried on two different linux machines and encountering the same error.My machine has 64 GB RAM and 24 GB VRAM so I don't think it's an issue. I tried reinstalling system clang from the git (to version 20.0) and it still gives error. I figured the error lies from the fact that clang 16.0.6 from UE5 might be having error with the Ubuntu version 24.04 during compilation (or boost) of carla since the error comes when running
./Setup.sh
AND I can seefrom UE5 setup script. It's the configuration line in carla setup script which gives this error:
The error is as follows:
To check whether the issue is clang from UE5, I tried running the following simple command
and it gives the exact same error so now I know where it's coming from (clang is broken inside UE5). I tried to look it up where it's setting up this exact version of LLVM but couldn't find anywhere where it's setting this up from.
Is there a way to resolve this issue ? Any help would be appreciated. I am guessing if I can work with my system clang (since it works) then I would be able to build the CarlaUE5 properly.
Thanks!
The text was updated successfully, but these errors were encountered: