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

Build error for moveit_setup_app_plugin #952

Open
jay4upeople opened this issue Aug 26, 2024 · 0 comments
Open

Build error for moveit_setup_app_plugin #952

jay4upeople opened this issue Aug 26, 2024 · 0 comments

Comments

@jay4upeople
Copy link

Description

I'm getting a build error while following the steps here - https://moveit.picknik.ai/humble/doc/tutorials/getting_started/getting_started.html.

ubuntu@ubuntu:~/ws_moveit2$ colcon build --mixin release
Starting >>> moveit_resources_panda_description
Starting >>> moveit_common
Starting >>> moveit_resources_pr2_description
Starting >>> srdfdom
Finished <<< moveit_common [0.81s]                                                                                                                                                         
Starting >>> moveit_resources_fanuc_description
Finished <<< moveit_resources_panda_description [0.85s]
Starting >>> moveit_resources_panda_moveit_config
Finished <<< moveit_resources_pr2_description [0.95s]                                                                                                                 
Starting >>> launch_param_builder
Finished <<< moveit_resources_fanuc_description [1.39s]                                                                                                                     
Starting >>> moveit_resources_fanuc_moveit_config
Finished <<< moveit_resources_panda_moveit_config [1.48s]                                                                                          
Starting >>> moveit_resources_prbt_support
Finished <<< srdfdom [2.72s]                                                                                                                                                                
Starting >>> moveit_core
Finished <<< launch_param_builder [2.09s]                                                                                                                                                 
Starting >>> moveit_configs_utils
Finished <<< moveit_resources_prbt_support [0.79s]                                                                                                                    
Starting >>> moveit_task_constructor_msgs
Finished <<< moveit_resources_fanuc_moveit_config [1.40s]                                                                                                                                  
Starting >>> rviz_marker_tools
Finished <<< rviz_marker_tools [2.01s]                                                                                                                                               
Starting >>> rosparam_shortcuts                                                                                                                 
Finished <<< rosparam_shortcuts [2.17s]                                                                                                                                                 
Starting >>> moveit_resources
Finished <<< moveit_configs_utils [5.02s]                                                                                                                                   
Finished <<< moveit_resources [1.03s]                                                                                                                 
Finished <<< moveit_core [7.00s]                                                                                  
Starting >>> moveit_ros_occupancy_map_monitor                            
Starting >>> moveit_simple_controller_manager
Starting >>> moveit_resources_prbt_ikfast_manipulator_plugin
Finished <<< moveit_simple_controller_manager [1.30s]                                                                                                                                    
Starting >>> pilz_industrial_motion_planner_testutils
Finished <<< moveit_resources_prbt_ikfast_manipulator_plugin [1.41s]                                                                    
Starting >>> moveit_plugins
Finished <<< moveit_ros_occupancy_map_monitor [1.79s]                                                                                   
Starting >>> moveit_ros_planning
Finished <<< moveit_plugins [1.18s]                                                                                                                                              
Starting >>> chomp_motion_planner                                                                                                                                                  
Finished <<< pilz_industrial_motion_planner_testutils [1.57s]                                                                                                                          
Starting >>> moveit_ros_control_interface
Finished <<< chomp_motion_planner [1.77s]                                                                                                                              
Starting >>> moveit_chomp_optimizer_adapter
Finished <<< moveit_ros_control_interface [2.07s]                                                                                                                            
Starting >>> moveit_planners_chomp
Finished <<< moveit_task_constructor_msgs [11.7s]                                                                                                                              
Finished <<< moveit_chomp_optimizer_adapter [0.84s]                                                                                                           
Finished <<< moveit_ros_planning [3.64s]                                                                      
Starting >>> moveit_kinematics
Starting >>> moveit_ros_warehouse                                                                       
Starting >>> moveit_planners_ompl
Finished <<< moveit_planners_chomp [2.05s]                                                                                                                                                 
Starting >>> moveit_ros_robot_interaction
Finished <<< moveit_kinematics [2.03s]                                                                                                                         
Starting >>> moveit_ros_move_group                                                                                                                                   
Finished <<< moveit_ros_warehouse [2.96s]                                                                                                                              
Starting >>> moveit_ros_benchmarks                                                                                                                                
Finished <<< moveit_planners_ompl [3.09s]                                                                                                                             
Starting >>> moveit_ros_perception
Finished <<< moveit_ros_robot_interaction [2.16s]                                                                                                                                         
Starting >>> moveit_visual_tools
Finished <<< moveit_ros_move_group [2.61s]                                                                                                                                                
Starting >>> moveit_ros_planning_interface                                                                                                                   
Finished <<< moveit_ros_benchmarks [2.18s]                                                                                                                 
Starting >>> moveit_resources_prbt_moveit_config
Finished <<< moveit_ros_perception [2.14s]                                                                                                                           
Finished <<< moveit_visual_tools [1.73s]                                                                                                                               
Finished <<< moveit_ros_planning_interface [1.31s]                                                                                       
Starting >>> moveit_ros_visualization
Starting >>> moveit_hybrid_planning
Starting >>> moveit_servo
Finished <<< moveit_resources_prbt_moveit_config [0.92s]                                                                                                                         
Starting >>> moveit_resources_prbt_pg70_support
Finished <<< moveit_resources_prbt_pg70_support [1.09s]                                                                                                                                   
Starting >>> pilz_industrial_motion_planner
Finished <<< moveit_hybrid_planning [3.25s]                                                                                                                     
Finished <<< moveit_servo [4.70s]                                                                                                                                  
Finished <<< moveit_ros_visualization [5.12s]                                                                                    
Starting >>> moveit_setup_framework
Starting >>> moveit_ros
Finished <<< moveit_ros [0.96s]                                                                                                                            
Finished <<< pilz_industrial_motion_planner [5.09s]                                                                            
Starting >>> moveit_planners
Finished <<< moveit_planners [0.64s]                                                                          
Starting >>> moveit_task_constructor_core
Starting >>> moveit_runtime
Finished <<< moveit_setup_framework [2.09s]                                                                                                     
Starting >>> moveit_setup_app_plugins
Starting >>> moveit_setup_controllers
Finished <<< moveit_runtime [1.62s]                                                                                                                                                        
Starting >>> moveit_setup_core_plugins                                                                                                                                     
Finished <<< moveit_setup_core_plugins [2.67s]                                                                                                                                   
Starting >>> moveit_setup_srdf_plugins
Finished <<< moveit_task_constructor_core [4.56s]                                                                                                                             
Starting >>> moveit_task_constructor_capabilities                                                                                                              
--- stderr: moveit_setup_app_plugins
/usr/bin/ld: /home/ubuntu/ws_moveit2/install/moveit_ros_visualization/lib/libmoveit_robot_state_rviz_plugin_core.so.2.5.5: undefined reference to `moveit_rviz_plugin::RobotStateVisualization::setDefaultAttachedObjectColor(std_msgs::msg::ColorRGBA_<std::allocator<void> > const&)'
/usr/bin/ld: /home/ubuntu/ws_moveit2/install/moveit_ros_visualization/lib/libmoveit_robot_state_rviz_plugin_core.so.2.5.5: undefined reference to `moveit_rviz_plugin::RobotStateVisualization::setCollisionVisible(bool)'
/usr/bin/ld: /home/ubuntu/ws_moveit2/install/moveit_ros_visualization/lib/libmoveit_robot_state_rviz_plugin_core.so.2.5.5: undefined reference to `moveit_rviz_plugin::RobotStateVisualization::update(std::shared_ptr<moveit::core::RobotState const> const&)'
/usr/bin/ld: /home/ubuntu/ws_moveit2/install/moveit_ros_visualization/lib/libmoveit_robot_state_rviz_plugin_core.so.2.5.5: undefined reference to `moveit_rviz_plugin::RobotStateVisualization::load(urdf::ModelInterface const&, bool, bool)'
/usr/bin/ld: /home/ubuntu/ws_moveit2/install/moveit_ros_visualization/lib/libmoveit_robot_state_rviz_plugin_core.so.2.5.5: undefined reference to `moveit_rviz_plugin::RobotStateVisualization::clear()'
/usr/bin/ld: /home/ubuntu/ws_moveit2/install/moveit_ros_visualization/lib/libmoveit_robot_state_rviz_plugin_core.so.2.5.5: undefined reference to `moveit_rviz_plugin::RobotStateVisualization::setVisible(bool)'
/usr/bin/ld: /home/ubuntu/ws_moveit2/install/moveit_ros_visualization/lib/libmoveit_robot_state_rviz_plugin_core.so.2.5.5: undefined reference to `moveit_rviz_plugin::RobotStateVisualization::RobotStateVisualization(Ogre::SceneNode*, rviz_common::DisplayContext*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, rviz_common::properties::Property*)'
/usr/bin/ld: /home/ubuntu/ws_moveit2/install/moveit_ros_visualization/lib/libmoveit_robot_state_rviz_plugin_core.so.2.5.5: undefined reference to `moveit_rviz_plugin::RobotStateVisualization::setAlpha(float)'
/usr/bin/ld: /home/ubuntu/ws_moveit2/install/moveit_ros_visualization/lib/libmoveit_robot_state_rviz_plugin_core.so.2.5.5: undefined reference to `moveit_rviz_plugin::RobotStateVisualization::setVisualVisible(bool)'
collect2: error: ld returned 1 exit status
gmake[2]: *** [CMakeFiles/test_perception.dir/build.make:430: test_perception] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:190: CMakeFiles/test_perception.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2
---
Failed   <<< moveit_setup_app_plugins [4.30s, exited with code 2]
Aborted  <<< moveit_setup_srdf_plugins [0.32s]                                                                                                                              
Aborted  <<< moveit_task_constructor_capabilities [0.28s]                                                                                
Aborted  <<< moveit_setup_controllers [4.73s]                                  

Summary: 46 packages finished [33.9s]
  1 package failed: moveit_setup_app_plugins
  3 packages aborted: moveit_setup_controllers moveit_setup_srdf_plugins moveit_task_constructor_capabilities
  2 packages had stderr output: moveit_setup_app_plugins moveit_setup_controllers
  5 packages not processed

Your environment

ubuntu@ubuntu:~/ws_moveit2$ printenv | grep -i ros
ROS_VERSION=2
ROS_PYTHON_VERSION=3
AMENT_PREFIX_PATH=/opt/ros/humble
PYTHONPATH=/opt/ros/humble/lib/python3.10/site-packages:/opt/ros/humble/local/lib/python3.10/dist-packages
LD_LIBRARY_PATH=/opt/ros/humble/opt/rviz_ogre_vendor/lib:/opt/ros/humble/lib/x86_64-linux-gnu:/opt/ros/humble/lib
ROS_LOCALHOST_ONLY=0
PATH=/opt/ros/humble/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin
ROS_DISTRO=humble
@moveit moveit deleted a comment Aug 26, 2024
@moveit moveit deleted a comment Aug 26, 2024
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

3 participants
@jay4upeople and others