Skip to content
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

CMake Error at CMake/LinuxToolchain.cmake:53 (message): Could not find Unreal Engine clang sysroot. #8582

Open
XLR8-VISION opened this issue Jan 16, 2025 · 3 comments

Comments

@XLR8-VISION
Copy link

XLR8-VISION commented Jan 16, 2025

Hello everyone,

when running this command: sudo -E env GIT_LOCAL_CREDENTIALS=github_username@github_token ./CarlaSetup.sh

I get following error message:

Image

Inside the CarlaSetup.sh the line 113 says:

Image

So whe I run the command of line 113 I get following error:

Image

Does anyone know how to solve this?


CARLA version: 0.10.0 + UE 5.5
Platform/OS: Ubuntu 22.04
Problem you have experienced: Could not find Unreal Engine clang sysroot.
What you expected to happen: The setup should finish without errors
Steps to reproduce:
cd CarlaUE5
sudo -E env GIT_LOCAL_CREDENTIALS=github_username@github_token ./CarlaSetup.sh

@XLR8-VISION XLR8-VISION changed the title ./CarlaSetup.sh: line 113: cmake: command not found CMake Error at CMake/LinuxToolchain.cmake:53 (message): Could not find Unreal Engine clang sysroot. Jan 16, 2025
@MarcelPiNacy-CVC
Copy link
Contributor

Can you verify if UE5 is properly built? Try running ./Setup.sh && ./GenerateProjectFiles.sh && make in the unreal engine folder (it seems to be /home/ubuntu/CarlaUE5). Maybe a previous setup failed and left UE5 in a partially built state. I will add an argument to CarlaSetup to handle this case later.

@XLR8-VISION
Copy link
Author

XLR8-VISION commented Jan 16, 2025

The Setup.sh and the GenerateProjectFile.sh do not exist (yet?).

Image

@MarcelPiNacy-CVC
Copy link
Contributor

MarcelPiNacy-CVC commented Jan 16, 2025

You don't have the correct path in CARLA_UNREAL_ENGINE_PATH. Update the variable to point to where you UE5 resides. It might be in ../UnrealEngine5_carla relative to CARLA's directory. If this path doesn't exist, delete the environment variable from ~/.bashrc and rerun setup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants