build-carla-ue58

Builds CARLA on Unreal Engine 5.8 through its CMake presets and targets.

3|Updated Jul 20, 2026
One-click install
npx skills add https://github.com/carla-simulator/carla-agentic-tools --skill build-carla-ue58-carla-simulator
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: build-carla-ue58
Source: https://github.com/carla-simulator/carla-agentic-tools/tree/main/skills/ue58/build-carla-ue58
Command: npx skills add https://github.com/carla-simulator/carla-agentic-tools --skill build-carla-ue58-carla-simulator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve? Building CARLA on the ue58-dev branch fails for users who apply UE4-era Makefile recipes, forget to repeat CMake cache options on re-configure, or trust exit codes that hide dead targets and missing artifacts. ## Core Features & Use Cases - Preflight validation: check_env.sh verifies the checkout flavor, engine version 5.8, CMake >= 3.28, disk space, sudo-poisoned home directories, and the actual CMake cache configuration. - Guided CMake build workflow: configure presets with ROS 2, DLSS, RSS, and cook-scope options, then build libcarla, the Python API wheel, carla-unreal, and the editor in the correct order. - Artifact verification: build.sh verify checks the editor binary, plugin shared objects, wheel importability, and carla::ros2 symbols instead of trusting build exit codes. - Use Case: A user asks to build CARLA UE5 with ROS 2; the skill runs preflight, configures with -DENABLE_ROS2=ON, builds the targets in order, and confirms ROS 2 symbols exist in the plugin. ## Quick Start Ask the agent to build CARLA on UE 5.8 with ROS 2 enabled and verify the resulting artifacts.

Frequently Asked Questions about build-carla-ue58

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build CARLA on Unreal Engine 5.8?▼

Configure with cmake --preset Release, then build targets with cmake --build Build/Release --target carla-unreal. The ue58-dev tree has no Makefile, so UE4 commands like make CarlaUE4 do not exist; the engine fork on branch ue58-dev-carla must be built first.

How do I build CARLA UE5 with ROS 2 support?▼

Pass -DENABLE_ROS2=ON at configure time and repeat it on every re-configure, since options live in the CMake cache. Then rebuild carla-unreal and verify libcarla-ros2-native.so exists and the plugin carries carla::ros2 symbols.

Why does make CarlaUE4 fail on the ue58-dev branch?▼

The UE5 CARLA tree removed the Makefile and Util/BuildTools entirely, so every UE4 make recipe is invalid. Use the CMake targets instead: carla-server, carla-python-api-install, carla-unreal, carla-unreal-editor, and launch.

Why did my CARLA build succeed but ROS 2 stopped working?▼

A re-configure without -DENABLE_ROS2=ON silently reverts the option to OFF because CMake options are cache variables. Check ENABLE_ROS2 in CMakeCache.txt, re-configure with the flag, and rebuild carla-unreal.

Can I run make -j to speed up the Unreal Engine build?▼

No. Parallel make jobs collide on the UnrealBuildTool mutex and die with Failed (ConflictingInstance). Plain make is already parallel internally; also verify the UnrealEditor binary exists because make can exit 0 with dead targets.

What are the system requirements for building CARLA UE 5.8?▼

You need Ubuntu 22.04/24.04, CMake 3.28 or newer, ninja, git-lfs, Python 3.8-3.12, and about 400 GB free on a local disk. The engine clone also requires a GitHub account linked to Epic Games.