Closed jmorgan2023 closed 2 years ago
I think you have might have mixed binaries and sources. Can you try to delete MoveIt binaries if you have any sudo apt remove ros-humble-moveit*
?
After doing that and running the command again I am running into dependency issues with earlier builds,
colcon build --mixin release
[0.467s] WARNING:colcon.colcon_core.package_selection:Some selected packages are already built in one or more underlay workspaces:
'controller_interface' is in: /opt/ros/humble
'controller_manager' is in: /opt/ros/humble
'hardware_interface' is in: /opt/ros/humble
'ros2_control_test_assets' is in: /opt/ros/humble
If a package in a merged underlay workspace is overridden and it installs headers, then all packages in the overlay must sort their include directories by workspace order. Failure to do so may result in build failures or undefined behavior at run time.
If the overridden package is used by another package in any underlay, then the overriding package in the overlay must be API and ABI compatible or undefined behavior at run time may occur.
If you understand the risks and want to override a package anyways, add the following to the command line:
--allow-overriding controller_interface controller_manager hardware_interface ros2_control_test_assets
This may be promoted to an error in a future release of colcon-override-check.
Starting >>> moveit_common
Starting >>> moveit_resources_panda_description
Starting >>> moveit_configs_utils
Starting >>> moveit_resources_fanuc_description
Starting >>> controller_manager_msgs
Starting >>> ros2_control_test_assets
Starting >>> moveit_task_constructor_msgs
Starting >>> rviz_marker_tools
Finished <<< moveit_resources_panda_description [0.42s]
Starting >>> moveit_resources_panda_moveit_config
Finished <<< moveit_common [0.48s]
Starting >>> moveit_resources_pr2_description
Finished <<< moveit_resources_fanuc_description [0.51s]
Starting >>> moveit_resources_fanuc_moveit_config
Finished <<< ros2_control_test_assets [0.52s]
Starting >>> hardware_interface
Finished <<< rviz_marker_tools [0.55s]
Starting >>> moveit_resources_prbt_support
Finished <<< moveit_resources_panda_moveit_config [0.29s]
Starting >>> joint_limits
Finished <<< moveit_resources_pr2_description [0.35s]
Starting >>> moveit_core
Finished <<< moveit_resources_fanuc_moveit_config [0.33s]
Finished <<< moveit_resources_prbt_support [0.28s]
Starting >>> rviz_visual_tools
Starting >>> rosparam_shortcuts
--- stderr: moveit_task_constructor_msgs
CMake Error at CMakeLists.txt:6 (find_package):
By not providing "Findmoveit_msgs.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"moveit_msgs", but CMake did not find one.
Could not find a package configuration file provided by "moveit_msgs" with
any of the following names:
moveit_msgsConfig.cmake
moveit_msgs-config.cmake
Add the installation prefix of "moveit_msgs" to CMAKE_PREFIX_PATH or set
"moveit_msgs_DIR" to a directory containing one of the above files. If
"moveit_msgs" provides a separate development package or SDK, be sure it
has been installed.
gmake: *** [Makefile:2907: cmake_check_build_system] Error 1
---
Failed <<< moveit_task_constructor_msgs [0.89s, exited with code 2]
Aborted <<< joint_limits [0.21s]
Aborted <<< rviz_visual_tools [0.06s]
Aborted <<< rosparam_shortcuts [0.05s]
Aborted <<< hardware_interface [0.39s]
Aborted <<< moveit_core [0.10s]
Aborted <<< controller_manager_msgs [1.00s]
Aborted <<< moveit_configs_utils [1.16s]
Summary: 9 packages finished [1.52s]
1 package failed: moveit_task_constructor_msgs
7 packages aborted: controller_manager_msgs hardware_interface joint_limits moveit_configs_utils moveit_core rosparam_shortcuts rviz_visual_tools
2 packages had stderr output: moveit_configs_utils moveit_task_constructor_msgs
46 packages not processed
You should re-run sudo apt update && rosdep install -r --from-paths . --ignore-src --rosdistro $ROS_DISTRO -y
under your src directory.
Description
During the build process of the tutorials, there is an import that is unrecognized in the libmoveit_robot_interaction.so.2.5.3 that prevents successful compilation of the rest of the tutorial suite.
Your environment
Steps to reproduce
Perform a clean install of Ubuntu 22.04 I then followed the initial setup located here to install Ros2 Humble Then followed the instructions here to attempt to install MoveIt2 and the associated tutorials.
Expected behaviour
Build success
Backtrace or Console output
View Output Here or below: