-
-
Notifications
You must be signed in to change notification settings - Fork 4k
Not being able to build & launch the editor on Ubuntu 24.04 #8865
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
Comments
I face the same problem |
Problem still exists on Ubuntu 24.04, carla unreal engine fork commit eea6a8e677e3509a3e56122d69e3d380bb624bbf and carla commit 83a7d44
Dockerfile:
Commands (assuming UE5 is built and located at
Thoughts: |
Setup
Describe the setup you are using to run CARLA along with its version:
Describe the bug
When trying to build and launch the editor with the
cmake --build Build --target launch
command it throws an error when trying toLink (lld) CarlaUnreal (UBA disabled)
Steps to reproduce
Expected behavior
The Carla editor Builds and launches.
Logs
Log started at 04/24/2025 14:53:38 (2025-04-24T12:53:38Z)
No config file at /home/user/repos/unreal_engine_carla_0.10.0/UnrealEngine/Engine/Restricted/NotForLicensees/Programs/UnrealBuildTool/BuildConfiguration.xml
No config file at /usr/share/Unreal Engine/UnrealBuildTool/BuildConfiguration.xml
No config file at /home/user/snap/code/190/.local/share/Unreal Engine/UnrealBuildTool/BuildConfiguration.xml
No config file at /home/user/Documents/Unreal Engine/UnrealBuildTool/BuildConfiguration.xml
Configuration will be read from:
/home/user/repos/unreal_engine_carla_0.10.0/UnrealEngine/Engine/Saved/UnrealBuildTool/BuildConfiguration.xml
/home/user/.config/Unreal Engine/UnrealBuildTool/BuildConfiguration.xml
Setting temp directory to '/tmp/UnrealBuildTool/d8b99b33'
Registering build platform: UnrealBuildTool.AndroidPlatformFactory
Unable to find valid SDK(s) for Android:
Found Sdk Version, MinRequired=r25b, MaxRequired=r27.
Found AutoSdk Version, Required=r25b.
Registering build platform: Android - buildable: False
Registering build platform: UnrealBuildTool.IOSPlatformFactory
Registering build platform: IOS - buildable: False
Registering build platform: UnrealBuildTool.LinuxPlatformFactory
Linux Installed SDK(s): Version_Sdk=v23_clang-18.1.0-rockylinux8, CurrentVersion_Sdk=v23_clang-18.1.0-rockylinux8, Version_AutoSdk=v23_clang-18.1.0-rockylinux8, CurrentVersion_AutoSdk=
Registering build platform: Linux - buildable: True
LinuxArm64 Installed SDK(s): Version_Sdk=v23_clang-18.1.0-rockylinux8, CurrentVersion_Sdk=v23_clang-18.1.0-rockylinux8, Version_AutoSdk=v23_clang-18.1.0-rockylinux8, CurrentVersion_AutoSdk=
Registering build platform: LinuxArm64 - buildable: True
Registering build platform: UnrealBuildTool.MacPlatformFactory
Registering build platform: Mac - buildable: False
Registering build platform: UnrealBuildTool.TVOSPlatformFactory
Registering build platform: TVOS - buildable: False
Registering build platform: UnrealBuildTool.WindowsPlatformFactory
Registering build platform: Win64 - buildable: False
Registering build platform: UnrealBuildTool.VisionOSPlatformFactory
Registering build platform: VisionOS - buildable: False
Command line: /home/user/repos/unreal_engine_carla_0.10.0/UnrealEngine/Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool.dll CarlaUnreal Linux Development -project=/home/user/repos/unreal_engine_carla_0.10.0/CarlaUE5/Unreal/CarlaUnreal/CarlaUnreal.uproject -game -buildscw
Log file: /home/user/repos/unreal_engine_carla_0.10.0/UnrealEngine/Engine/Programs/UnrealBuildTool/Log.txt
Deleting old log file: /home/user/repos/unreal_engine_carla_0.10.0/UnrealEngine/Engine/Programs/UnrealBuildTool/Log-backup-2025.04.24-11.31.43.txt
Using 'git status' to determine working set for adaptive non-unity build (/home/user/repos/unreal_engine_carla_0.10.0/UnrealEngine).
Waiting for 'git status' command to complete
Generated code is up to date.
CarlaUnreal: Produced item "/home/user/repos/unreal_engine_carla_0.10.0/CarlaUE5/Unreal/CarlaUnreal/Binaries/Linux/CarlaUnreal" doesn't exist.
Module.Carla.3.cpp: Dependency /home/user/repos/unreal_engine_carla_0.10.0/CarlaUE5/LibCarla/source/util/ue-header-guard-begin.h is newer than the last execution of the action: 04/24/2025 14:48:29 vs 04/24/2025 14:05:04
Module.Carla.4.cpp: Dependency /home/user/repos/unreal_engine_carla_0.10.0/CarlaUE5/LibCarla/source/util/ue-header-guard-begin.h is newer than the last execution of the action: 04/24/2025 14:48:29 vs 04/24/2025 14:05:05
Module.Carla.5.cpp: Dependency /home/user/repos/unreal_engine_carla_0.10.0/CarlaUE5/LibCarla/source/util/ue-header-guard-begin.h is newer than the last execution of the action: 04/24/2025 14:48:29 vs 04/24/2025 14:05:05
Module.Carla.6.cpp: Dependency /home/user/repos/unreal_engine_carla_0.10.0/CarlaUE5/LibCarla/source/util/ue-header-guard-begin.h is newer than the last execution of the action: 04/24/2025 14:48:29 vs 04/24/2025 14:05:04
Module.Carla.7.cpp: Dependency /home/user/repos/unreal_engine_carla_0.10.0/CarlaUE5/LibCarla/source/util/ue-header-guard-begin.h is newer than the last execution of the action: 04/24/2025 14:48:29 vs 04/24/2025 14:05:03
Module.Carla.8.cpp: Dependency /home/user/repos/unreal_engine_carla_0.10.0/CarlaUE5/LibCarla/source/util/ue-header-guard-begin.h is newer than the last execution of the action: 04/24/2025 14:48:29 vs 04/24/2025 14:05:11
Module.Carla.9.cpp: Dependency /home/user/repos/unreal_engine_carla_0.10.0/CarlaUE5/LibCarla/source/util/ue-header-guard-begin.h is newer than the last execution of the action: 04/24/2025 14:48:29 vs 04/24/2025 14:05:19
CarlaUnreal.cpp: Dependency /home/user/repos/unreal_engine_carla_0.10.0/CarlaUE5/LibCarla/source/util/ue-header-guard-begin.h is newer than the last execution of the action: 04/24/2025 14:48:29 vs 04/24/2025 14:05:05
PCH.CarlaUnreal.h: Dependency /home/user/repos/unreal_engine_carla_0.10.0/CarlaUE5/LibCarla/source/util/ue-header-guard-begin.h is newer than the last execution of the action: 04/24/2025 14:48:29 vs 04/24/2025 14:04:58
CarlaUnreal.target: Produced item "/home/user/repos/unreal_engine_carla_0.10.0/CarlaUE5/Unreal/CarlaUnreal/Binaries/Linux/CarlaUnreal.target" doesn't exist.
Module.Carla.1.cpp: Dependency /home/user/repos/unreal_engine_carla_0.10.0/CarlaUE5/LibCarla/source/util/ue-header-guard-begin.h is newer than the last execution of the action: 04/24/2025 14:48:29 vs 04/24/2025 14:04:59
PCH.Carla.h: Dependency /home/user/repos/unreal_engine_carla_0.10.0/CarlaUE5/LibCarla/source/util/ue-header-guard-begin.h is newer than the last execution of the action: 04/24/2025 14:48:29 vs 04/24/2025 14:04:51
Module.Carla.10.cpp: Dependency /home/user/repos/unreal_engine_carla_0.10.0/CarlaUE5/LibCarla/source/util/ue-header-guard-begin.h is newer than the last execution of the action: 04/24/2025 14:48:29 vs 04/24/2025 14:05:24
Module.Carla.11.cpp: Dependency /home/user/repos/unreal_engine_carla_0.10.0/CarlaUE5/LibCarla/source/util/ue-header-guard-begin.h is newer than the last execution of the action: 04/24/2025 14:48:29 vs 04/24/2025 14:06:48
Module.Carla.12.cpp: Dependency /home/user/repos/unreal_engine_carla_0.10.0/CarlaUE5/LibCarla/source/util/ue-header-guard-begin.h is newer than the last execution of the action: 04/24/2025 14:48:29 vs 04/24/2025 14:05:34
Module.Carla.13.cpp: Dependency /home/user/repos/unreal_engine_carla_0.10.0/CarlaUE5/LibCarla/source/util/ue-header-guard-begin.h is newer than the last execution of the action: 04/24/2025 14:48:29 vs 04/24/2025 14:05:05
Module.Carla.2.cpp: Dependency /home/user/repos/unreal_engine_carla_0.10.0/CarlaUE5/LibCarla/source/util/ue-header-guard-begin.h is newer than the last execution of the action: 04/24/2025 14:48:29 vs 04/24/2025 14:05:05
Checking for live coding mutex: Global\LiveCoding_+home+user+repos+unreal_engine_carla_0.10.0+CarlaUE5+Unreal+CarlaUnreal+Binaries+Linux+CarlaUnreal
Building CarlaUnreal...
Determining max actions to execute in parallel (12 physical cores, 24 logical cores)
Executing up to 12 processes, one per physical core
Using Unreal Build Accelerator local executor to run 18 action(s)
Storage capacity 40Gb
Deleting old log file: /home/user/repos/unreal_engine_carla_0.10.0/UnrealEngine/Engine/Programs/UnrealBuildTool/Log-backup-2025.04.21-10.10.17.uba
---- Starting trace ----
UbaSessionServer - Disable remote execution (remote sessions will finish current processes)
------ Building 18 action(s) started ------
[1/18] Compile PCH.Carla.h
[2/18] Compile PCH.CarlaUnreal.h
[3/18] Compile Module.Carla.1.cpp
[4/18] Compile Module.Carla.7.cpp
[5/18] Compile Module.Carla.6.cpp
[6/18] Compile Module.Carla.3.cpp
[7/18] Compile CarlaUnreal.cpp
[8/18] Compile Module.Carla.13.cpp
[9/18] Compile Module.Carla.4.cpp
[10/18] Compile Module.Carla.5.cpp
[11/18] Compile Module.Carla.2.cpp
[12/18] Compile Module.Carla.8.cpp
[13/18] Compile Module.Carla.9.cpp
[14/18] Compile Module.Carla.10.cpp
[15/18] Compile Module.Carla.12.cpp
[16/18] Compile Module.Carla.11.cpp
In file included from /home/user/repos/unreal_engine_carla_0.10.0/CarlaUE5/Unreal/CarlaUnreal/Intermediate/Build/Linux/x64/CarlaUnreal/Development/Carla/Module.Carla.11.cpp:48:
/home/user/repos/unreal_engine_carla_0.10.0/CarlaUE5/Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Server/CarlaServer.cpp:495:46: warning: 'GetNamesOfAllActors' is deprecated: This command no longer makes sense since the apply_textures API relies on IDs. [-Wdeprecated-declarations]
495 | error: undefined symbol: __isoc23_strtol
[ 0.000]
0.000
[145.248] TArray NamesFString = GameMode->GetNamesOfAllActors();
| ^
/home/user/repos/unreal_engine_carla_0.10.0/CarlaUE5/Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Game/CarlaGameModeBase.h:118:5: note: 'GetNamesOfAllActors' has been explicitly marked deprecated here
118 | [[deprecated("This command no longer makes sense since the apply_textures API relies on IDs.")]]
| ^
1 warning generated.
[17/18] Link (lld) CarlaUnreal (UBA disabled)
Link (lld) CarlaUnreal (UBA disabled): Exited with error code 1 . The build will fail.
Link (lld) CarlaUnreal (UBA disabled): WorkingDirectory /home/user/repos/unreal_engine_carla_0.10.0/UnrealEngine/Engine/Source
Link (lld) CarlaUnreal (UBA disabled): /bin/sh "/home/user/repos/unreal_engine_carla_0.10.0/CarlaUE5/Unreal/CarlaUnreal/Intermediate/Build/Linux/x64/CarlaUnreal/Development/Link-CarlaUnreal.link.sh"
ld.lld:
Additional context
I had to install UE5 by using the extended instructions and then proceed with the normal setup but I reference the UE5 with my env variable. Also using a custom python environment.
The text was updated successfully, but these errors were encountered: