Skip to content
This repository was archived by the owner on Jul 10, 2025. It is now read-only.
This repository was archived by the owner on Jul 10, 2025. It is now read-only.

There are compilation errors in gazebo_ros. #1556

Description

@garden666

``mso@mso-desktop:~/gazebo_ros_pkgs$ colcon build --packages-select gazebo_ros
Starting >>> gazebo_ros
--- stderr: gazebo_ros
CMake Warning (dev) at /home/mso/autoware/install/ament_cmake_target_dependencies/share/ament_cmake_target_dependencies/cmake/ament_target_dependencies.cmake:151 (target_link_libraries):
Link library type specifier "optimized" is followed by specifier "debug
CMake Warning (dev) at /home/mso/autoware/install/ament_cmake_target_dependencies/share/ament_cmake_target_dependencies/cmake/ament_target_dependencies.cmake:151 (target_link_libraries):
Link library type specifier "optimized" is followed by specifier "debug"
"CMake Error at CMakeLists.txt:101 (add_library):
Target "gazebo_ros_factory" links to target
"sdformat9::sdformat9optimized:/usr/lib/aarch64-linux-gnu/libOgreMain.so"
but the target was not found. Perhaps a find_package() call is missing for
an IMPORTED target, or an ALIAS target is missing?
CMake Error at /home/mso/autoware/install/ament_cmake_gtest/share/ament_cmake_gtest/cmake/ament_add_gtest_executable.cmake:50 (add_executable):
Target "test_conversions" links to target
"sdformat9::sdformat9optimized:/usr/lib/aarch64-linux-gnu/libOgreMain.so"
but the target was not found. Perhaps a find_package() call is missing for
an IMPORTED target, or an ALIAS target is missing?
Call Stack (most recent call first):
/home/mso/autoware/install/ament_cmake_gtest/share/ament_cmake_gtest/cmake/ament_add_gtest_executable.cmake:37 (_ament_add_gtest_executable)
/home/mso/autoware/install/ament_cmake_gtest/share/ament_cmake_gtest/cmake/ament_add_gtest.cmake:68 (ament_add_gtest_executable)
test/CMakeLists.txt:50 (ament_add_gtest)“
The above is the content of the error message.I'm using Gazebo under the arm64 framework. I downloaded the gazebo_ros source code package from Git, and then I used colcon build. Then this problem occurred. Is it a conflict with the dependencies in the previous AutoWare? Please take a look and see what's going on.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions