-
-
Notifications
You must be signed in to change notification settings - Fork 4k
[Feature Request] Provide make LibCarla for Carla 0.10.0 #8839
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
You can use cmake --build Build --target carla-help to look into the possible targets. The target you are looking for is carla-server and carla-client |
I have tried this, and it says no work to do, and I still cannot get carla-client library, wondering and looking for help. carla@star-x:~/CarlaUE5$ cmake --build Build --target carla-help
[0/2] Re-checking globbed directories...
[1/1] cd /home/carla/CarlaUE5/Build && /opt/cmake-3.28.3-linux-x86_64/bin/cmake -E cat /home/carla/CarlaUE5/Build/Help.md
# CARLA - CMake Help
## CMake Targets
- clean
- Type: Builtin
- Description: Removes all build directories and files.
- carla-server
- Type: Library
- Description: Build the CARLA server.
- carla-client
- Type: Library
- Description: Build the CARLA client.
- carla-ros2-native
- Type: CustomTarget
- Description: Build the ROS2-Native CARLA subproject.
- carla-python-api
- Type: CustomTarget
- Description: Build the CARLA Python API.
- carla-python-api-install
- Type: CustomTarget
- Description: Build & install the CARLA Python API
- carla-unreal
- Type: CustomTarget
- Description: Build the CarlaUnreal subproject.
- carla-unreal-editor
- Type: CustomTarget
- Description: Build the CarlaUnrealEditor subproject.
- carla-unreal-package
- Type: CustomTarget
- Description: Create a CARLA package in default (shipping) mode.
- package
- Type: CustomTarget
- Description: Create a CARLA package in default (shipping) mode.
- carla-unreal-package-shipping
- Type: CustomTarget
- Description: Create a CARLA package in Shipping mode.
- package-shipping
- Type: CustomTarget
- Description: Create a CARLA package in Shipping mode.
- carla-unreal-package-debug
- Type: CustomTarget
- Description: Create a CARLA package in Debug mode.
- package-debug
- Type: CustomTarget
- Description: Create a CARLA package in Debug mode.
- carla-unreal-package-debuggame
- Type: CustomTarget
- Description: Create a CARLA package in DebugGame mode.
- package-debuggame
- Type: CustomTarget
- Description: Create a CARLA package in DebugGame mode.
- carla-unreal-package-development
- Type: CustomTarget
- Description: Create a CARLA package in Development mode.
- package-development
- Type: CustomTarget
- Description: Create a CARLA package in Development mode.
- carla-unreal-package-test
- Type: CustomTarget
- Description: Create a CARLA package in Test mode.
- package-test
- Type: CustomTarget
- Description: Create a CARLA package in Test mode.
- check-unreal-content
- Type: CustomTarget
- Description: Perform some basic checks to ensure that the CARLA Unreal Editor will not open without its assets.
- launch-only
- Type: CustomTarget
- Description: Open CARLA in the Unreal Editor. This will not rebuild outdated targets.
- launch
- Type: CustomTarget
- Description: Build and open CARLA in the Unreal Editor.
- carla-example-client
- Type: Executable
- Description: Build the CARLA C++ client example.
- carla-help
- Type: CustomTarget
- Description: Display this message.
## CMake Options
- BUILD_CARLA_CLIENT
- Description: Build the CARLA client.
- Default: ON
- BUILD_CARLA_SERVER
- Description: Build the CARLA server.
- Default: ON
- BUILD_EXAMPLES
- Description: Build CARLA examples.
- Default: ON
- BUILD_LIBCARLA_TESTS
- Description: Build LibCarla tests.
- Default: ON
- ENABLE_PYTORCH
- Description: Enable PyTorch for CARLA.
- Default: OFF
- BUILD_PYTHON_API
- Description: Build the CARLA Python API.
- Default: ON
- ENABLE_ROS2
- Description: Enable ROS2.
- Default: OFF
- ENABLE_ROS2_DEMO
- Description: Enable ROS2 demo.
- Default: OFF
- ENABLE_OSM2ODR
- Description: Enable OSM2ODR.
- Default: OFF
- ENABLE_RSS
- Description: Enable RSS components (ad-rss-lib)
- Default: OFF
- INSTALL_LIBCARLA
- Description: Install LibCarla and all of its dependencies.
- Default: ON
- BUILD_OSM_WORLD_RENDERER
- Description: Build OSM World Renderer.
- Default: OFF
- ENABLE_RTTI
- Description: Enable C++ RTTI.
- Default: ON
- ENABLE_EXCEPTIONS
- Description: Enable C++ Exceptions.
- Default: ON
- PREFER_CLONE
- Description: Whether to clone dependencies instead of directly downloading a compressed archive.
- Default: OFF
- ENABLE_PEP517
- Description: Whether to use PEP 517.
- Default: ON
- ENABLE_ALL_WARNINGS
- Description: Whether to emit extra build warnings.
- Default: OFF
- ENABLE_WARNINGS_TO_ERRORS
- Description: Whether to convert build warnings to errors.
- Default: OFF
- LIBCARLA_IMAGE_SUPPORTED_FORMATS
- Description: Semicolon-separated list of supported image formats by LibCarla. Available formats: png, jpeg, tiff.
- Default: "png"
- VERBOSE_CONFIGURE
- Description: Whether to emit extra messages during CMake configure.
- Default: OFF
- ENABLE_STREETMAP
- Description: Whether to download the Streetmap UE plugin.
- Default: OFF
- CARLA_UNREAL_CONTENT_PREFER_CLONE
- Description: Whether to perform a git clone instead of a direct archive download of the CARLA Unreal assets (EXTREMELY DISCOURAGED).
- Default: OFF
- CARLA_UNREAL_ENGINE_PATH
- Description: Path to the CARLA fork of Unreal Engine.
- Default: "/home/carla/UnrealEngine5_carla"
- BUILD_CARLA_UNREAL
- Description: Build the Carla Unreal Engine project.
- Default: ON
- CARLA_UNREAL_RHI
- Description: Target CARLA Unreal Engine RHI.
- Default: "vulkan"
- CARLA_LAUNCH_ARGS
- Description: CMake-style semicolon-separated list of arguments to pass when launching the Unreal Editor with CARLA.
- Default: ""
- CARLA_UNREAL_BUILD_TYPE
- Description: Set the default CARLA Unreal Editor build configuration.
- Default: "Development"
- CARLA_UNREAL_PACKAGE_BUILD_TYPE
- Description: Set the default CARLA package build configuration.
- Default: "Shipping"
- CARLA_BOOST_VERSION
- Description: Target boost version.
- Default: "1.84.0"
- CARLA_BOOST_TAG
- Description: Target boost git tag.
- Default: "boost-1.84.0"
- CARLA_EIGEN_VERSION
- Description: Target Eigen version.
- Default: "3.4.0"
- CARLA_EIGEN_TAG
- Description: Target Eigen git tag.
- Default: "3.4.0"
- CARLA_GTEST_VERSION
- Description: Target googletest version.
- Default: "1.14.0"
- CARLA_GTEST_TAG
- Description: Target googletest git tag.
- Default: "v1.14.0"
- CARLA_LIBPNG_VERSION
- Description: Target libpng version.
- Default: "1.6.40"
- CARLA_LIBPNG_TAG
- Description: Target libpng git tag.
- Default: "v1.6.40"
- CARLA_PROJ_VERSION
- Description: Target PROJ version.
- Default: "7.2.1"
- CARLA_PROJ_TAG
- Description: Target PROJ git tag.
- Default: "7.2.1"
- CARLA_RECAST_TAG
- Description: Target recastnavigation git tag.
- Default: "carla"
- CARLA_RPCLIB_TAG
- Description: Target rpclib git tag.
- Default: "carla"
- CARLA_SQLITE_VERSION
- Description: Target SQLite version (major[1].minor[2].patch[2].revision[2]).
- Default: "3.45.01.00"
- CARLA_XERCESC_VERSION
- Description: Target xerces-c version.
- Default: "3.2.4"
- CARLA_XERCESC_TAG
- Description: Target xerces-c git tag.
- Default: "v3.2.4"
- CARLA_ZLIB_VERSION
- Description: Target zlib git tag.
- Default: "1.3.1"
- CARLA_ZLIB_TAG
- Description: Target zlib git tag.
- Default: "v1.3.1"
- CARLA_LUNASVG_VERSION
- Description: Target lunasvg version.
- Default: "master"
- CARLA_LUNASVG_TAG
- Description: Target lunasvg git tag.
- Default: "master"
- CARLA_LIBOSMSCOUT_VERSION
- Description: Target libosmscout version.
- Default: "master"
- CARLA_LIBOSMSCOUT_TAG
- Description: Target libosmscout git tag.
- Default: "master"
- CARLA_STREETMAP_VERSION
- Description: Target StreetMap version.
- Default: "ue5.3"
- CARLA_STREETMAP_TAG
- Description: Target StreetMap git tag.
- Default: "ue5.3"
- CARLA_FASTDDS_VERSION
- Description: Target Fast-DDS version.
- Default: "2.11.2"
- CARLA_FASTDDS_TAG
- Description: Target Fast-DDS git tag.
- Default: "2.11.2"
- CARLA_FASTCDR_VERSION
- Description: Target Fast-CDR version.
- Default: "1.1.x"
- CARLA_FASTCDR_TAG
- Description: Target Fast-CDR git tag.
- Default: "1.1.x"
- CARLA_FOONATHAN_MEMORY_VENDOR_VERSION
- Description: Target foonathan_memory_vendor version.
- Default: "master"
- CARLA_FOONATHAN_MEMORY_VENDOR_TAG
- Description: Target foonathan_memory_vendor git tag.
- Default: "master"
- ENABLE_DIRECTORY_CLEAN
- Description: Enable ADDITIONAL_CLEAN_FILES on directory level
- Default: ON
carla@star-x:~/CarlaUE5$ cmake --build Build --target carla-client
[0/2] Re-checking globbed directories...
ninja: no work to do.
carla@star-x:~/CarlaUE5$ |
Something more, when I using libcarla with Carla 0.9.15, it need dynamicly link boost, and |
Is your feature request related to a problem? Please describe.
I have successfully compiled Carla 0.10.0 from source. However, unlike previous versions, this version does not provide the
make LibCarla
option, which prevents me from compiling the Carla client and performing the installation.Describe the solution you'd like
I would like the current version to include the
make LibCarla
compile option as it was available in earlier versions. This would allow users to compile the Carla client and install it as before.Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
I deeply appreciate the work that has gone into developing Carla and sincerely hope that this enhancement can be implemented in a future release. Your efforts in supporting the community are highly valued, and I eagerly look forward to this improvement. Thank you for your consideration.
The text was updated successfully, but these errors were encountered: