Closed MOHAMMEDHUSSEIN94 closed 1 week ago
Please, do a make clean a retry following all steps in the guide https://carla.readthedocs.io/en/latest/build_linux/
Please, do a make clean a retry following all steps in the guide https://carla.readthedocs.io/en/latest/build_linux/
thanks.. I have tried that and did not work.. actually I have followed all steps in the guide and that was the result
it seems you haven't installed libc++
libc++
no it is installed and I am getting the same error.
by the way I am using the latest unreal engine named carla(default) 4.26.2 cloned from your repository and set the path of UE4_ROOT to be its directory through bashrc and sourced bashrc
CARLA version: 0.9.15 Platform/OS: Ubuntu 22.04 Problem you have experienced: when I run [make PythonAPI] I get [CMake Error at /usr/share/cmake-3.22/Modules/CMakeDetermineCCompiler.cmake:49 (message): Could not find compiler set in environment variable CC:
/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v17_clang-10.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang. Call Stack (most recent call first): CMakeLists.txt:2 (project)
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage -- Configuring incomplete, errors occurred! See also "/home/mohammed/carla/Build/rpclib-v2.2.1_c5-c10-libcxx-build/CMakeFiles/CMakeOutput.log". make: *** [Util/BuildTools/Linux.mk:142: setup] Error 1 ] I added [export UE4_ROOT=~/UnrealEngineCarla] at the end of bashrc and then ran source and used echo $UE4_ROOT to make sure the directory is that of unreal engine and still getting the same error What you expected to happen: build to succeed Steps to reproduce: do not know Other information (documentation I consulted, workarounds you tried): tried all documentations , github, stackoverflow, gemini and chat gpt 4