moveit / moveit2_tutorials

A sphinx-based centralized documentation repo for MoveIt 2
https://moveit.picknik.ai
BSD 3-Clause "New" or "Revised" License
163 stars 196 forks source link

colcon build error: undefined reference to `moveit_rviz_plugin::TrajectoryPanel::~TrajectoryPanel()' #909

Open david-wb opened 6 months ago

david-wb commented 6 months ago

Description

When following the getting started tutorial, the colcon build fails with an undefined reference error during compilation:

~/ws_moveit2$ colcon build --mixin release
Starting >>> moveit_common
Starting >>> srdfdom
Starting >>> launch_param_builder
Starting >>> moveit_resources_panda_description
Starting >>> moveit_resources_fanuc_description
Starting >>> moveit_task_constructor_msgs
Starting >>> moveit_resources_pr2_description
Starting >>> moveit_resources_prbt_support
Finished <<< moveit_common [2.57s]                                            
Starting >>> rviz_marker_tools
Finished <<< moveit_resources_panda_description [2.54s]
Finished <<< moveit_resources_fanuc_description [2.55s]          
Starting >>> moveit_resources_panda_moveit_config
Starting >>> moveit_resources_fanuc_moveit_config
Finished <<< moveit_resources_prbt_support [2.57s]
Finished <<< moveit_resources_pr2_description [2.59s]
Starting >>> rosparam_shortcuts
Finished <<< moveit_resources_panda_moveit_config [0.95s]        
Finished <<< moveit_resources_fanuc_moveit_config [1.49s]         
Starting >>> moveit_resources
Finished <<< moveit_resources [0.82s]                              
Finished <<< srdfdom [5.29s]                                    
Starting >>> moveit_core
Finished <<< rviz_marker_tools [3.25s]                               
Finished <<< rosparam_shortcuts [3.45s]                               
Finished <<< moveit_task_constructor_msgs [8.07s]                     
Finished <<< launch_param_builder [9.87s]                             
Starting >>> moveit_configs_utils
Finished <<< moveit_core [5.77s]                                        
Starting >>> moveit_ros_occupancy_map_monitor
Starting >>> moveit_simple_controller_manager
Starting >>> moveit_resources_prbt_ikfast_manipulator_plugin
Starting >>> chomp_motion_planner
Starting >>> pilz_industrial_motion_planner_testutils
Finished <<< moveit_configs_utils [1.69s]                             
Finished <<< chomp_motion_planner [0.80s]
Starting >>> moveit_chomp_optimizer_adapter
Starting >>> moveit_planners_chomp
Finished <<< moveit_resources_prbt_ikfast_manipulator_plugin [0.84s]
Finished <<< moveit_simple_controller_manager [0.86s]
Starting >>> moveit_plugins
Starting >>> moveit_ros_control_interface
Finished <<< moveit_ros_occupancy_map_monitor [1.14s]
Starting >>> moveit_ros_planning
Finished <<< moveit_plugins [0.48s]     
Finished <<< pilz_industrial_motion_planner_testutils [1.36s]
Finished <<< moveit_chomp_optimizer_adapter [0.61s]
Finished <<< moveit_planners_chomp [0.88s]                                     
Finished <<< moveit_ros_control_interface [0.95s]
Finished <<< moveit_ros_planning [2.23s]                       
Starting >>> moveit_kinematics
Starting >>> moveit_ros_warehouse
Starting >>> moveit_ros_robot_interaction
Starting >>> moveit_planners_ompl
Starting >>> moveit_ros_perception                                 
Starting >>> moveit_visual_tools
Finished <<< moveit_ros_robot_interaction [2.37s]                             
Finished <<< moveit_kinematics [2.74s]                                     
Starting >>> moveit_ros_move_group
Finished <<< moveit_ros_warehouse [2.82s]                                     
Starting >>> moveit_ros_benchmarks
Finished <<< moveit_ros_perception [3.15s]                                     
Finished <<< moveit_visual_tools [3.39s]                                        
Finished <<< moveit_ros_benchmarks [1.61s]                                      
Finished <<< moveit_planners_ompl [4.57s]                                     
Finished <<< moveit_ros_move_group [2.11s]                     
Starting >>> moveit_ros_planning_interface
Starting >>> moveit_resources_prbt_moveit_config
Finished <<< moveit_resources_prbt_moveit_config [0.33s]                       
Starting >>> moveit_resources_prbt_pg70_support
Finished <<< moveit_resources_prbt_pg70_support [0.20s]
Finished <<< moveit_ros_planning_interface [0.65s]                     
Starting >>> moveit_ros_visualization
Starting >>> pilz_industrial_motion_planner
Starting >>> moveit_hybrid_planning
Starting >>> moveit_servo
[Processing: moveit_hybrid_planning, moveit_ros_visualization, moveit_servo, pilz_industrial_motion_planner]
[Processing: moveit_hybrid_planning, moveit_ros_visualization, moveit_servo, pilz_industrial_motion_planner]
[Processing: moveit_hybrid_planning, moveit_ros_visualization, moveit_servo, pilz_industrial_motion_planner]
[Processing: moveit_hybrid_planning, moveit_ros_visualization, moveit_servo, pilz_industrial_motion_planner]
[Processing: moveit_hybrid_planning, moveit_ros_visualization, moveit_servo, pilz_industrial_motion_planner]
Finished <<< moveit_hybrid_planning [2min 44s]
[Processing: moveit_ros_visualization, moveit_servo, pilz_industrial_motion_planner]
[Processing: moveit_ros_visualization, moveit_servo, pilz_industrial_motion_planner]
[Processing: moveit_ros_visualization, moveit_servo, pilz_industrial_motion_planner]
[Processing: moveit_ros_visualization, moveit_servo, pilz_industrial_motion_planner]
[Processing: moveit_ros_visualization, moveit_servo, pilz_industrial_motion_planner]
[Processing: moveit_ros_visualization, moveit_servo, pilz_industrial_motion_planner]
[Processing: moveit_ros_visualization, moveit_servo, pilz_industrial_motion_planner]
Finished <<< pilz_industrial_motion_planner [6min 42s]
Starting >>> moveit_planners
Finished <<< moveit_planners [5.30s]         
Starting >>> moveit_task_constructor_core    
Starting >>> moveit_runtime
Finished <<< moveit_runtime [2.38s]          
[Processing: moveit_ros_visualization, moveit_servo, moveit_task_constructor_core]
[Processing: moveit_ros_visualization, moveit_servo, moveit_task_constructor_core]
Finished <<< moveit_servo [8min 8s]                                                                                                 
[Processing: moveit_ros_visualization, moveit_task_constructor_core]                                                                             
[Processing: moveit_ros_visualization, moveit_task_constructor_core]                                                                             
Finished <<< moveit_ros_visualization [9min 34s]                                                                                                  
Starting >>> moveit_setup_framework
Starting >>> moveit_ros                                                                                                        
Finished <<< moveit_ros [7.83s]                                                                                                                          
[Processing: moveit_setup_framework, moveit_task_constructor_core]                                                                         
Finished <<< moveit_task_constructor_core [3min 49s]                                                                                           
Starting >>> moveit_task_constructor_capabilities
Starting >>> moveit_task_constructor_visualization
Finished <<< moveit_task_constructor_capabilities [27.6s]                                                                                               
Starting >>> moveit_task_constructor_demo
Finished <<< moveit_setup_framework [1min 47s]                                                                                                           
Starting >>> moveit_setup_app_plugins
Starting >>> moveit_setup_controllers
Starting >>> moveit_setup_core_plugins                                                                                                                   
Starting >>> moveit_setup_srdf_plugins
[Processing: moveit_setup_app_plugins, moveit_setup_controllers, moveit_setup_core_plugins, moveit_setup_srdf_plugins, moveit_task_constructor_demo, moveit_task_constructor_visualization]
[Processing: moveit_setup_app_plugins, moveit_setup_controllers, moveit_setup_core_plugins, moveit_setup_srdf_plugins, moveit_task_constructor_demo, moveit_task_constructor_visualization]
Finished <<< moveit_task_constructor_demo [1min 17s]                                                         
[Processing: moveit_setup_app_plugins, moveit_setup_controllers, moveit_setup_core_plugins, moveit_setup_srdf_plugins, moveit_task_constructor_visualization]
[Processing: moveit_setup_app_plugins, moveit_setup_controllers, moveit_setup_core_plugins, moveit_setup_srdf_plugins, moveit_task_constructor_visualization]
[Processing: moveit_setup_app_plugins, moveit_setup_controllers, moveit_setup_core_plugins, moveit_setup_srdf_plugins, moveit_task_constructor_visualization]
[Processing: moveit_setup_app_plugins, moveit_setup_controllers, moveit_setup_core_plugins, moveit_setup_srdf_plugins, moveit_task_constructor_visualization]
--- stderr: moveit_setup_app_plugins                                                                         
/usr/bin/ld: /home/chroma/ws_moveit2/install/moveit_ros_visualization/lib/libmoveit_rviz_plugin_render_tools.so.2.5.5: undefined reference to `moveit_rviz_plugin::TrajectoryPanel::onDisable()'
/usr/bin/ld: /home/chroma/ws_moveit2/install/moveit_ros_visualization/lib/libmoveit_rviz_plugin_render_tools.so.2.5.5: undefined reference to `moveit_rviz_plugin::TrajectoryPanel::sliderValueChanged(int)'
/usr/bin/ld: /home/chroma/ws_moveit2/install/moveit_ros_visualization/lib/libmoveit_rviz_plugin_render_tools.so.2.5.5: undefined reference to `moveit_rviz_plugin::TrajectoryPanel::update(int)'
/usr/bin/ld: /home/chroma/ws_moveit2/install/moveit_ros_visualization/lib/libmoveit_rviz_plugin_render_tools.so.2.5.5: undefined reference to `moveit_rviz_plugin::TrajectoryPanel::buttonClicked()'
/usr/bin/ld: /home/chroma/ws_moveit2/install/moveit_ros_visualization/lib/libmoveit_rviz_plugin_render_tools.so.2.5.5: undefined reference to `moveit_rviz_plugin::TrajectoryPanel::~TrajectoryPanel()'
/usr/bin/ld: /home/chroma/ws_moveit2/install/moveit_ros_visualization/lib/libmoveit_rviz_plugin_render_tools.so.2.5.5: undefined reference to `moveit_rviz_plugin::TrajectoryPanel::TrajectoryPanel(QWidget*)'
/usr/bin/ld: /home/chroma/ws_moveit2/install/moveit_ros_visualization/lib/libmoveit_rviz_plugin_render_tools.so.2.5.5: undefined reference to `moveit_rviz_plugin::TrajectoryPanel::setSliderPosition(int)'
/usr/bin/ld: /home/chroma/ws_moveit2/install/moveit_ros_visualization/lib/libmoveit_rviz_plugin_render_tools.so.2.5.5: undefined reference to `non-virtual thunk to moveit_rviz_plugin::TrajectoryPanel::~TrajectoryPanel()'
/usr/bin/ld: /home/chroma/ws_moveit2/install/moveit_ros_visualization/lib/libmoveit_rviz_plugin_render_tools.so.2.5.5: undefined reference to `moveit_rviz_plugin::TrajectoryPanel::pauseButton(bool)'
/usr/bin/ld: /home/chroma/ws_moveit2/install/moveit_ros_visualization/lib/libmoveit_rviz_plugin_render_tools.so.2.5.5: undefined reference to `moveit_rviz_plugin::TrajectoryPanel::onEnable()'
/usr/bin/ld: /home/chroma/ws_moveit2/install/moveit_ros_visualization/lib/libmoveit_rviz_plugin_render_tools.so.2.5.5: undefined reference to `non-virtual thunk to moveit_rviz_plugin::TrajectoryPanel::~TrajectoryPanel()'
/usr/bin/ld: /home/chroma/ws_moveit2/install/moveit_ros_visualization/lib/libmoveit_rviz_plugin_render_tools.so.2.5.5: undefined reference to `moveit_rviz_plugin::TrajectoryPanel::onInitialize()'
/usr/bin/ld: /home/chroma/ws_moveit2/install/moveit_ros_visualization/lib/libmoveit_rviz_plugin_render_tools.so.2.5.5: undefined reference to `moveit_rviz_plugin::TrajectoryPanel::~TrajectoryPanel()'
collect2: error: ld returned 1 exit status
gmake[2]: *** [CMakeFiles/test_perception.dir/build.make:431: 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 [3min 18s, exited with code 2]
Aborted  <<< moveit_setup_core_plugins [3min 55s]                                                                       
Aborted  <<< moveit_task_constructor_visualization [5min 18s]                                                            
Aborted  <<< moveit_setup_controllers [4min 43s]                                                                                                           
Aborted  <<< moveit_setup_srdf_plugins [4min 55s]                                            

Summary: 47 packages finished [16min 43s]
  1 package failed: moveit_setup_app_plugins
  4 packages aborted: moveit_setup_controllers moveit_setup_core_plugins moveit_setup_srdf_plugins moveit_task_constructor_visualization
  4 packages had stderr output: moveit_setup_app_plugins moveit_setup_controllers moveit_setup_srdf_plugins moveit_task_constructor_visualization
  3 packages not processed

Any idea how this can be resolved? Thanks for your guidance.

Your environment