Issue with colcon build with MacOS

asked 2023-04-21 10:59:25 -0600

mnr282001 gravatar image

I have followed the ROS2 Installation tutorial for MacOS from https://docs.ros.org/en/humble/Instal....

When I go to build the ROS2 code using colcon, it causes this error: [3.474s] WARNING:colcon.colcon_ros.prefix_path.catkin:The path '/usr/local/opt/qt@5/bin' in the environment variable CMAKE_PREFIX_PATH doesn't exist [3.474s] WARNING:colcon.colcon_ros.prefix_path.catkin:The path '/usr/local/opt/qt@5' in the environment variable CMAKE_PREFIX_PATH doesn't exist Starting >>> ament_package Starting >>> ament_lint Starting >>> gtest_vendor Starting >>> fastcdr Starting >>> ament_cppcheck
Starting >>> iceoryx_hoofs Starting >>> osrf_pycommon Starting >>> osrf_testing_tools_cpp --- stderr: fastcdr
gmake: /opt/homebrew/Cellar/cmake/3.26.1/bin/cmake: No such file or directory

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

Failed <<< fastcdr [1.20s, exited with code 2] Aborted <<< osrf_testing_tools_cpp [1.18s] Aborted <<< gtest_vendor [1.27s] Aborted <<< iceoryx_hoofs [1.22s] Aborted <<< ament_cppcheck [1.24s] Aborted <<< ament_package [1.27s] Aborted <<< ament_lint [1.27s] Aborted <<< osrf_pycommon [1.20s]

Summary: 0 packages finished [4.32s] 1 package failed: fastcdr 7 packages aborted: ament_cppcheck ament_lint ament_package gtest_vendor iceoryx_hoofs osrf_pycommon osrf_testing_tools_cpp 3 packages had stderr output: fastcdr gtest_vendor iceoryx_hoofs 335 packages not processed [4.809s] ERROR:colcon.colcon_notification.desktop_notification.terminal_notifier:Could not find the colcon-terminal-notifier.app in the install prefix '/Users/nayab/anaconda3'

edit retag flag offensive close merge delete