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

ue5devStable0.1 does not build #8408

Open
NeoGruber opened this issue Nov 25, 2024 · 3 comments
Open

ue5devStable0.1 does not build #8408

NeoGruber opened this issue Nov 25, 2024 · 3 comments
Assignees

Comments

@NeoGruber
Copy link

NeoGruber commented Nov 25, 2024

CARLA version: ue5devStable0.1 (0.10.0 ?)
Platform/OS: Ubuntu 22.04
Problem you have experienced: project does not build
What you expected to happen: hey, :) I faced the issue that the ue5devStable0.1 branch is not building anymore due to the following reason...
Steps to reproduce:

  • pulling the branch
  • executing the Setup.sh script

I do get the following build error:

CMake Error at CMakeLists.txt:34 (project):
  The CMAKE_C_COMPILER:

    /home/ngruber/Documents/carla/UnrealEngine5_carla/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v22_clang-16.0.6-centos7/x86_64-unknown-linux-gnu/bin/clang

  is not a full path to an existing compiler tool.

  Tell CMake where to find the compiler by setting either the environment
  variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
  the compiler, or to the compiler name if it is in the PATH.


CMake Error at CMakeLists.txt:34 (project):
  The CMAKE_CXX_COMPILER:

    /home/ngruber/Documents/carla/UnrealEngine5_carla/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v22_clang-16.0.6-centos7/x86_64-unknown-linux-gnu/bin/clang++

  is not a full path to an existing compiler tool.

  Tell CMake where to find the compiler by setting either the environment
  variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
  to the compiler, or to the compiler name if it is in the PATH.


CMake Error at CMakeLists.txt:34 (project):
  The CMAKE_ASM_COMPILER:

    /home/ngruber/Documents/carla/UnrealEngine5_carla/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v22_clang-16.0.6-centos7/x86_64-unknown-linux-gnu/bin/clang

  is not a full path to an existing compiler tool.

  Tell CMake where to find the compiler by setting either the environment
  variable "ASM" or the CMake cache entry CMAKE_ASM_COMPILER to the full path
  to the compiler, or to the compiler name if it is in the PATH.

The reason for that is, that the newest Unreal Engine fork is pulled inside the build script:

# part of the Setup.sh script
else
    echo "Found UnrealEngine5 $CARLA_UNREAL_ENGINE_PATH - FAIL"
    echo "Cloning CARLA UnrealEngine5..."
    pushd ..
    git clone -b ue5-dev-carla https://github.com/CarlaUnreal/UnrealEngine.git UnrealEngine5_carla
    pushd UnrealEngine5_carla
    echo -e '\n#CARLA UnrealEngine5\nexport CARLA_UNREAL_ENGINE_PATH='$PWD >> ~/.bashrc
    export CARLA_UNREAL_ENGINE_PATH=$PWD
    popd
    popd
    echo "CARLA UnrealEngine5 Installed..."
ls ../UnrealEngine5_carla/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/
v23_clang-18.1.0-rockylinux8

this version uses the v23_clang-18.1.0-rockylinux8 compiler instead of the v22_clang-16.0.6-centos7 that is required by the build scripts. I wanted to change that, but unfortunately I was not able to make it work. I hope you can fix that, thank you very much!

Greetings, Neo.

@Blyron
Copy link
Contributor

Blyron commented Nov 25, 2024

Hello! The stable version tag was for a project. We are going to delete it. For now, I suggest you to use ue5-dev branch. The 0.1 hasn't any vehicles available. Only sensors

@Blyron Blyron self-assigned this Nov 25, 2024
@NeoGruber
Copy link
Author

Alright, thank you! Unfortunately, switching the branch and executing the Script again, I still get the same build issue. Maybe Unreal Engine did something there?

@Blyron
Copy link
Contributor

Blyron commented Nov 25, 2024

make sure to run git clean -fdx in both repos, add the UE5 path variable to the enviorment
CARLA_UNREAL_ENGINE_PATH=/home/cvc-246/UnrealEngine5_carla

and then run the CarlaSetup script

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