You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Likely you need to install the Python development libraries somehow.
That said, macOS is a community supported platform, so there is no official support for it. If you do figure out how to make it work, please feel free to submit a PR to this repository or to https://github.com/ros2/ros2_documentation on what you needed to get it going. We'll be happy to review it.
This may help as well, but it might be an issue with the way FindPython3 works in CMake 3.22 vs older versions (3.16 tested). Attempting a source build of humble against Ubuntu 20.04 produces a similar result. The find call somehow manages to find python 3.9 on the system but not the default 3.8 interpreter even though python3 is set to the 3.8 interpreter. It will then fail the build at this stage.
If you feed colcon the following CMake arg, it should resolve the issue.
-DPython3_EXECUTABLE=/usr/bin/python3
NOTE: this arg is specifically for Ubuntu 20.04, change the path to be correct for your interpreter
Hey, I'm trying to compile the new version of ros2 on mac m1 but I am having a CMake error.
my python version is : Python 3.8.13
and all the installation steps went without any error.
The text was updated successfully, but these errors were encountered: