Robotics StackExchange | Archived questions

colcon build error on mac

Hi all,

I am trying to follow the tutorial for ROS2 on Mac OS. This fails after entering the colcon build --symlink-install command and I get this error message: tall --packages-skip-by-dep pythonqtbinding Starting >>> amentpackage Starting >>> amentlint Starting >>> gtestvendor Starting >>> fastcdr Starting >>> amentcppcheck Starting >>> iceoryxhoofs Starting >>> osrfpycommon Starting >>> osrftestingtoolscpp
Finished <<< gtest
vendor [0.86s]
Starting >>> gmockvendor
--- stderr: osrf
testingtoolscpp CMake Error: The source directory "/Users/liutianze/ros2iron/src/osrf/osrftestingtoolscpp/osrftestingtools_cpp" does not exist. Specify --help for usage, or press the help button on the CMake GUI.

make: *** [cmakecheckbuild_system] Error 1

Failed <<< osrftestingtoolscpp [0.92s, exited with code 2] Aborted <<< amentlint [0.96s] Aborted <<< gmockvendor [0.09s] Aborted <<< osrfpycommon [0.94s] Aborted <<< amentpackage [0.96s] Aborted <<< fastcdr [1.03s]
Aborted <<< iceoryx
hoofs [1.14s]
Aborted <<< ament_cppcheck [1.16s]

Summary: 1 package finished [3.31s] 1 package failed: osrftestingtoolscpp 7 packages aborted: amentcppcheck amentlint amentpackage fastcdr gmockvendor iceoryxhoofs osrfpycommon 2 packages had stderr output: amentcppcheck osrftestingtoolscpp 323 packages not processed [3.582s] ERROR:colcon.colconnotification.desktopnotification.terminalnotifier:Could not find the colcon-terminal-notifier.app in the install prefix '/opt/miniconda3'

Could anyone try to explain how to solve that?

Asked by ray518 on 2023-06-16 20:38:33 UTC

Comments

Answers