Robotics StackExchange | Archived questions

Issue with colcon build with MacOS

I have followed the ROS2 Installation tutorial for MacOS from https://docs.ros.org/en/humble/Installation/Alternatives/macOS-Development-Setup.html.

When I go to build the ROS2 code using colcon, it causes this error: [3.474s] WARNING:colcon.colconros.prefixpath.catkin:The path '/usr/local/opt/qt@5/bin' in the environment variable CMAKEPREFIXPATH doesn't exist [3.474s] WARNING:colcon.colconros.prefixpath.catkin:The path '/usr/local/opt/qt@5' in the environment variable CMAKEPREFIXPATH doesn't exist Starting >>> amentpackage Starting >>> amentlint Starting >>> gtestvendor Starting >>> fastcdr Starting >>> amentcppcheck
Starting >>> iceoryxhoofs Starting >>> osrfpycommon Starting >>> osrftestingtools_cpp --- stderr: fastcdr
gmake: /opt/homebrew/Cellar/cmake/3.26.1/bin/cmake: No such file or directory

gmake: *** [Makefile:223: cmakecheckbuild_system] Error 127

Failed <<< fastcdr [1.20s, exited with code 2] Aborted <<< osrftestingtoolscpp [1.18s] Aborted <<< gtestvendor [1.27s] Aborted <<< iceoryxhoofs [1.22s] Aborted <<< amentcppcheck [1.24s] Aborted <<< amentpackage [1.27s] Aborted <<< amentlint [1.27s] Aborted <<< osrf_pycommon [1.20s]

Summary: 0 packages finished [4.32s] 1 package failed: fastcdr 7 packages aborted: amentcppcheck amentlint amentpackage gtestvendor iceoryxhoofs osrfpycommon osrftestingtoolscpp 3 packages had stderr output: fastcdr gtestvendor iceoryxhoofs 335 packages not processed [4.809s] ERROR:colcon.colconnotification.desktopnotification.terminalnotifier:Could not find the colcon-terminal-notifier.app in the install prefix '/Users/nayab/anaconda3'

Asked by mnr282001 on 2023-04-21 10:59:25 UTC

Comments

Answers