-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Closed
Description
Setup
Describe the setup you are using to run CARLA along with its version:
- CARLA version: 0.9.16
- Platform: Windows11 x64
- Python version: 3.8.10
- GPU: NVIDIA RTX 5060
- GPU Drivers: Geforce Game Ready 581.57
- Unreal Engine version: 5.5.4
Describe the bug
I was following the instructions on https://carla-ue5.readthedocs.io/en/latest/build_windows_ue5/ to build Carla UE5. Everything went well until I ran this command:
cmake --build Build --target launch
Some error occurs and the compile failed. Please see the logs.
Steps to reproduce
Clone this repo with git clone -b ue5-dev https://github.com/carla-simulator/carla.git CarlaUE5, run CarlaSetup.bat, and run cmake --build Build --target launch in x64 Native Tools Command Prompt for VS 2022.
Logs
These are errors occured when I run cmake --build Build --target launch
[1/5] Compile [x64] PostProcessJsonUtils.cpp
C:\Users\Maplef\Develop\CarlaUE5\Unreal\CarlaUnreal\Plugins\Carla\Source\Carla\BlueprintLibary\PostProcessJsonUtils.cpp(19): error C2653: 'FJsonObjectConverter': is not a class or namespace name
C:\Users\Maplef\Develop\CarlaUE5\Unreal\CarlaUnreal\Plugins\Carla\Source\Carla\BlueprintLibary\PostProcessJsonUtils.cpp(19): error C3861: 'UStructToJsonObjectString': identifier not found
C:\Users\Maplef\Develop\CarlaUE5\Unreal\CarlaUnreal\Plugins\Carla\Source\Carla\BlueprintLibary\PostProcessJsonUtils.cpp(35): error C2653: 'FJsonObjectConverter': is not a class or namespace name
C:\Users\Maplef\Develop\CarlaUE5\Unreal\CarlaUnreal\Plugins\Carla\Source\Carla\BlueprintLibary\PostProcessJsonUtils.cpp(35): error C3861: 'UStructToJsonObjectString': identifier not found
C:\Users\Maplef\Develop\CarlaUE5\Unreal\CarlaUnreal\Plugins\Carla\Source\Carla\BlueprintLibary\PostProcessJsonUtils.cpp(58): error C2653: 'FJsonObjectConverter': is not a class or namespace name
C:\Users\Maplef\Develop\CarlaUE5\Unreal\CarlaUnreal\Plugins\Carla\Source\Carla\BlueprintLibary\PostProcessJsonUtils.cpp(58): error C3861: 'JsonObjectStringToUStruct': identifier not found
C:\Users\Maplef\Develop\CarlaUE5\Unreal\CarlaUnreal\Plugins\Carla\Source\Carla\BlueprintLibary\PostProcessJsonUtils.cpp(75): error C2653: 'FJsonObjectConverter': is not a class or namespace name
C:\Users\Maplef\Develop\CarlaUE5\Unreal\CarlaUnreal\Plugins\Carla\Source\Carla\BlueprintLibary\PostProcessJsonUtils.cpp(75): error C3861: 'JsonObjectStringToUStruct': identifier not found
C:\Users\Maplef\Develop\CarlaUE5\Unreal\CarlaUnreal\Plugins\Carla\Source\Carla\BlueprintLibary\PostProcessJsonUtils.cpp(93): error C2653: 'FJsonObjectConverter': is not a class or namespace name
C:\Users\Maplef\Develop\CarlaUE5\Unreal\CarlaUnreal\Plugins\Carla\Source\Carla\BlueprintLibary\PostProcessJsonUtils.cpp(93): error C3861: 'JsonObjectStringToUStruct': identifier not found
C:\Users\Maplef\Develop\CarlaUE5\Unreal\CarlaUnreal\Plugins\Carla\Source\Carla\BlueprintLibary\PostProcessJsonUtils.cpp(95): error C2027: use of undefined type 'USceneCaptureComponent2D'
C:\Program Files\Epic Games\UE_5.5\Engine\Source\Runtime\Engine\Public\SceneInterface.h(273): note: see declaration of 'USceneCaptureComponent2D'
[2/5] Compile [x64] Radar.cpp
C:\Users\Maplef\Develop\CarlaUE5\Unreal\CarlaUnreal\Plugins\Carla\Source\Carla\Sensor\Radar.cpp(165): error C2039: 'ParallelLineTraceSingleByChannel': is not a member of 'UWorld'
C:\Program Files\Epic Games\UE_5.5\Engine\Source\Runtime\Engine\Classes\Engine\World.h(855): note: see declaration of 'UWorld'
C:\Users\Maplef\Develop\CarlaUE5\Unreal\CarlaUnreal\Plugins\Carla\Source\Carla\Sensor\Radar.cpp(165): error C2737: 'Hitted': const object must be initialized
[3/5] Compile [x64] RayCastSemanticLidar.cpp
C:\Users\Maplef\Develop\CarlaUE5\Unreal\CarlaUnreal\Plugins\Carla\Source\Carla\Sensor\RayCastSemanticLidar.cpp(262): error C2039: 'ParallelLineTraceSingleByChannel': is not a member of 'UWorld'
C:\Program Files\Epic Games\UE_5.5\Engine\Source\Runtime\Engine\Classes\Engine\World.h(855): note: see declaration of 'UWorld'
Trace file written to C:/Users/Maplef/AppData/Local/UnrealBuildTool/Log.uba with size 6.3kb
Total time in Unreal Build Accelerator local executor: 14.07 seconds
Total execution time: 14.85 seconds
FAILED: Unreal/CMakeFiles/carla-unreal C:/Users/Maplef/Develop/CarlaUE5/Build/Unreal/CMakeFiles/carla-unreal
C:\WINDOWS\system32\cmd.exe /C "cd /D C:\Users\Maplef\Develop\CarlaUE5\Build\Unreal && "C:\Program Files\Epic Games\UE_5.5\\Engine\Build\BatchFiles\Build.bat" CarlaUnreal Win64 Development -project=C:/Users/Maplef/Develop/CarlaUE5/Unreal/CarlaUnreal/CarlaUnreal.uproject -game -buildscw"
ninja: build stopped: subcommand failed.
I have no idea what to do next. Please help me.
Metadata
Metadata
Assignees
Labels
No labels