Skip to content
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

There are compilation errors in gazebo_ros. #1556

Open
garden666 opened this issue Nov 8, 2024 · 0 comments
Open

There are compilation errors in gazebo_ros. #1556

garden666 opened this issue Nov 8, 2024 · 0 comments

Comments

@garden666
Copy link

``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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant