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

moveit_planners_ompl package failed #976

Open
mjkim001130 opened this issue Sep 29, 2024 · 3 comments
Open

moveit_planners_ompl package failed #976

mjkim001130 opened this issue Sep 29, 2024 · 3 comments

Comments

@mjkim001130
Copy link

Description

Hello, I have issue that following the moveit Tutorials
When I build my Colcon workspace,

cd ~/ws_moveit
colcon build --mixin release --executor sequential

And it printed the issue

---
Failed   <<< moveit_planners_ompl [1.03s, exited with code 2]

Summary: 26 packages finished [5.27s]
  1 package failed: moveit_planners_ompl
  1 package had stderr output: moveit_planners_ompl
  28 packages not processed

Your environment

  • ROS Distro: [Humble]
  • OS Version: e.g. Ubuntu 22.04
@sea-bass
Copy link
Contributor

Could you share the error message above those lines so we know what actually failed? Thanks!

@mjkim001130
Copy link
Author

Thanks for your repsones.

It has same issue with colcon build --mixin release

/usr/bin/ld: warning: libboost_serialization.so.1.74.0, needed by libmoveit_ompl_interface.so.2.5.5, may conflict with libboost_serialization.so.1.82.0
/usr/bin/ld: warning: libboost_serialization.so.1.74.0, needed by /opt/ros/humble/lib/x86_64-linux-gnu/libompl.so, may conflict with libboost_serialization.so.1.82.0
/usr/bin/ld: warning: libboost_serialization.so.1.74.0, needed by /opt/ros/humble/lib/x86_64-linux-gnu/libompl.so, may conflict with libboost_serialization.so.1.82.0
/usr/bin/ld: warning: libboost_serialization.so.1.74.0, needed by /opt/ros/humble/lib/x86_64-linux-gnu/libompl.so, may conflict with libboost_serialization.so.1.82.0
/usr/bin/ld: warning: libboost_serialization.so.1.74.0, needed by /opt/ros/humble/lib/x86_64-linux-gnu/libompl.so, may conflict with libboost_serialization.so.1.82.0
/usr/bin/ld: CMakeFiles/test_constrained_state_validity_checker.dir/test/test_constrained_state_validity_checker.cpp.o: in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > testing::PrintToString<std::shared_ptr<ompl_interface::ModelBasedStateSpace> >(std::shared_ptr<ompl_interface::ModelBasedStateSpace> const&)':
test_constrained_state_validity_checker.cpp:(.text._ZN7testing13PrintToStringISt10shared_ptrIN14ompl_interface20ModelBasedStateSpaceEEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKT_[_ZN7testing13PrintToStringISt10shared_ptrIN14ompl_interface20ModelBasedStateSpaceEEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKT_]+0x1e6): undefined reference to `testing::internal::PrintBytesInObjectTo(unsigned char const*, unsigned long, std::ostream*)'
/usr/bin/ld: CMakeFiles/test_state_validity_checker.dir/test/test_state_validity_checker.cpp.o: in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > testing::PrintToString<std::shared_ptr<ompl_interface::ModelBasedPlanningContext> >(std::shared_ptr<ompl_interface::ModelBasedPlanningContext> const&)':
test_state_validity_checker.cpp:(.text._ZN7testing13PrintToStringISt10shared_ptrIN14ompl_interface25ModelBasedPlanningContextEEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKT_[_ZN7testing13PrintToStringISt10shared_ptrIN14ompl_interface25ModelBasedPlanningContextEEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKT_]+0x1e6): undefined reference to `testing::internal::PrintBytesInObjectTo(unsigned char const*, unsigned long, std::ostream*)'
/usr/bin/ld: CMakeFiles/test_state_validity_checker.dir/test/test_state_validity_checker.cpp.o: in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > testing::PrintToString<std::shared_ptr<ompl_interface::ModelBasedStateSpace> >(std::shared_ptr<ompl_interface::ModelBasedStateSpace> const&)':
test_state_validity_checker.cpp:(.text._ZN7testing13PrintToStringISt10shared_ptrIN14ompl_interface20ModelBasedStateSpaceEEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKT_[_ZN7testing13PrintToStringISt10shared_ptrIN14ompl_interface20ModelBasedStateSpaceEEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKT_]+0x1e6): undefined reference to `testing::internal::PrintBytesInObjectTo(unsigned char const*, unsigned long, std::ostream*)'
collect2: error: ld returned 1 exit status
gmake[2]: *** [ompl_interface/CMakeFiles/test_constrained_state_validity_checker.dir/build.make:354: ompl_interface/test_constrained_state_validity_checker] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:378: ompl_interface/CMakeFiles/test_constrained_state_validity_checker.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....
collect2: error: ld returned 1 exit status
gmake[2]: *** [ompl_interface/CMakeFiles/test_state_validity_checker.dir/build.make:354: ompl_interface/test_state_validity_checker] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:294: ompl_interface/CMakeFiles/test_state_validity_checker.dir/all] Error 2
/usr/bin/ld: warning: libboost_serialization.so.1.74.0, needed by libmoveit_ompl_interface.so.2.5.5, may conflict with libboost_serialization.so.1.82.0
/usr/bin/ld: CMakeFiles/test_planning_context_manager.dir/test/test_planning_context_manager.cpp.o: in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > testing::PrintToString<std::shared_ptr<ompl::geometric::SimpleSetup> >(std::shared_ptr<ompl::geometric::SimpleSetup> const&)':
test_planning_context_manager.cpp:(.text._ZN7testing13PrintToStringISt10shared_ptrIN4ompl9geometric11SimpleSetupEEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKT_[_ZN7testing13PrintToStringISt10shared_ptrIN4ompl9geometric11SimpleSetupEEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKT_]+0x83): undefined reference to `testing::internal::PrintBytesInObjectTo(unsigned char const*, unsigned long, std::ostream*)'
collect2: error: ld returned 1 exit status
gmake[2]: *** [ompl_interface/CMakeFiles/test_planning_context_manager.dir/build.make:354: ompl_interface/test_planning_context_manager] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:322: ompl_interface/CMakeFiles/test_planning_context_manager.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2
---
Failed   <<< moveit_planners_ompl [25.5s, exited with code 2]
Aborted  <<< moveit_kinematics [26.9s]                                                         
Aborted  <<< moveit_visual_tools [27.2s]                                                         
Aborted  <<< moveit_ros_warehouse [29.9s]                                         
                                        
Summary: 27 packages finished [2min 53s]
  1 package failed: moveit_planners_ompl
  3 packages aborted: moveit_kinematics moveit_ros_warehouse moveit_visual_tools
  16 packages had stderr output: chomp_motion_planner moveit_chomp_optimizer_adapter moveit_core moveit_kinematics moveit_planners_chomp moveit_planners_ompl moveit_resources_prbt_ikfast_manipulator_plugin moveit_ros_control_interface moveit_ros_occupancy_map_monitor moveit_ros_perception moveit_ros_planning moveit_ros_robot_interaction moveit_ros_warehouse moveit_simple_controller_manager moveit_visual_tools pilz_industrial_motion_planner_testutils
  24 packages not processed

@sea-bass
Copy link
Contributor

Hmm, as the error indicates there may be conflicting library versions of boost that are causing these linking errors. Maybe try uninstall other version of boost on your system and try building clean?

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

2 participants