Skip to content

ninja: error: '/home/tami/carla/Build/fast-dds-install/lib/libfastrtps.a', needed by 'LibCarla/cmake/test/libcarla_test_server_release', missing and no known rule to make it #9802

Description

@zycwow

Setup
Describe the setup you are using to run CARLA along with its version:

CARLA version: 0.9.16
Platform: ubuntu 22.04
Python version: python 3.11
GPU: rtx4500
Describe the bug
When I run make launch, the build process fails during the LibCarla build step with the following error:
text

BuildLibCarla.sh: Building LibCarla "Server.Release" configuration.
ninja: error: '/home/tami/carla/Build/fast-dds-install/lib/libfastrtps.a', needed by 'LibCarla/cmake/test/libcarla_test_server_release', missing and no known rule to make it
make: *** [Util/BuildTools/Linux.mk:123:LibCarla.server.release] 错误 1

The file libfastrtps.a is missing from Build/fast-dds-install/lib/, causing the Ninja build system to fail.
This is the second time that I have suffered from this bug.

Steps to reproduce
Previously, I successfully built and ran CARLA 0.9.16 on the same system.
Due to some issues, I deleted the entire CARLA directory.

I re-cloned CARLA 0.9.16:
Ran make launch — encountered the above error.

Logs
BuildUE4Plugins.sh: Downloading STREETMAP plugin.
HEAD 目前位于 260273d Correct descriptor
BuildUE4Plugins.sh: StreetMap Success!
Setup.sh: Generating CMake configuration files.
Setup.sh: boost-1.84.0-c10 already installed.
Setup.sh: rpclib-carla-callbacks-c10 already installed.
Setup.sh: gtest-1.8.1-c10 already installed.
Setup.sh: recast-c10 already installed.
Setup.sh: Libpng already installed.
Setup.sh: Xerces-c already installed.
Setup.sh: Eigen already installed.
Setup.sh: Sqlite already installed.
Setup.sh: PROJ already installed.
Setup.sh: Patchelf already installed.
Setup.sh: CARLA version ff5e490.
Setup.sh: Success!
BuildLibCarla.sh: Building LibCarla "Server.Release" configuration.
ninja: error: '/home/tami/carla/Build/fast-dds-install/lib/libfastrtps.a', needed by 'LibCarla/cmake/test/libcarla_test_server_release', missing and no known rule to make it
make: *** [Util/BuildTools/Linux.mk:123:LibCarla.server.release] 错误 1
Scripts
Add any scripts relevant for the reproducibility of the error.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions