Open
Description
The colcon build of create3_sim fails for me with cmake errors. I think I went thru the steps in the create3_sim readme pretty faithfully, but deviated on the ignition version before trying the build...
- When using the script in the readme to install ignition-edifice, I got this error: "E: Unable to locate package ignition-edifice". I changed to ignition-fortress, which succeeded. This seemed ok because I believe fortress is the recommended version for Humble anyway.
- After cloning the humble branch of create3_sim into a newly-created ~/create3_ws/src folder and changing the export IGNITION_VERSION value from edifice to fortress, then the colcon build failed. This is the full text of the script and the output:
export IGNITION_VERSION=fortress
colcon build --symlink-install
source install/local_setup.bash
Starting >>> irobot_create_toolbox
Starting >>> irobot_create_control
Starting >>> irobot_create_description
Starting >>> irobot_create_ignition_plugins
Starting >>> aws_robomaker_small_house_world
Finished <<< irobot_create_control [0.47s]
Finished <<< irobot_create_description [0.48s]
--- stderr: aws_robomaker_small_house_world
CMake Error at /usr/local/lib/cmake/Boost-1.72.0/BoostConfig.cmake:120 (find_package):
Could not find a configuration file for package "boost_program_options"
that exactly matches requested version "1.72.0".
The following configuration files were considered but not accepted:
/usr/lib/x86_64-linux-gnu/cmake/boost_program_options-1.74.0/boost_program_options-config.cmake, version: 1.74.0
/lib/x86_64-linux-gnu/cmake/boost_program_options-1.74.0/boost_program_options-config.cmake, version: 1.74.0
Call Stack (most recent call first):
/usr/local/lib/cmake/Boost-1.72.0/BoostConfig.cmake:185 (boost_find_component)
/usr/share/cmake-3.22/Modules/FindBoost.cmake:594 (find_package)
/usr/lib/x86_64-linux-gnu/cmake/gazebo/gazebo-config.cmake:197 (find_package)
/opt/ros/humble/share/gazebo_dev/cmake/gazebo_dev-extras.cmake:3 (find_package)
/opt/ros/humble/share/gazebo_dev/cmake/gazebo_devConfig.cmake:41 (include)
/opt/ros/humble/share/gazebo_ros/cmake/ament_cmake_export_dependencies-extras.cmake:21 (find_package)
/opt/ros/humble/share/gazebo_ros/cmake/gazebo_rosConfig.cmake:41 (include)
CMakeLists.txt:4 (find_package)
Failed <<< aws_robomaker_small_house_world [0.94s, exited with code 1]
Aborted <<< irobot_create_toolbox [0.99s]
Aborted <<< irobot_create_ignition_plugins [1.12s]
Summary: 2 packages finished [1.37s]
1 package failed: aws_robomaker_small_house_world
2 packages aborted: irobot_create_ignition_plugins irobot_create_toolbox
1 package had stderr output: aws_robomaker_small_house_world
8 packages not processed
I have only a little experience with cmake and have zero experience with boost, so this has me baffled. When I run this command:
dpkg -s libboost-dev | grep 'Version'
the boost version returned is 1.74.0.3ubuntu7. However, the error call stack refers to /usr/local/lib/cmake where all the files and folders imply 1.7.2.
Other setup notes:
- Running ROS2 humble installed on a Ubuntu 22.04 laptop
- The installed Gazebo version is 11.10.2
- I have been able to list the create3 topics, control the machine with a joystick controller, etc., no problem
Any help would be greatly appreciated!
Thanks,
Steve