ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
It looks like you installed python from homebrew. There are issues with cmake and brewed python, i.e. cmake pickes up the library provided by Apple (version 2.7.5), but the python interpreter is the one from homebrew 2.7.8. Hence the error. See https://github.com/Homebrew/homebrew/issues/25118 for a long unresolved discussion of this problem.
You should be able to address this with a patched (but experimental!) version of the Python cmake modules:
brew remove cmake; brew install nikolausdemmel/homebrew-devel/cmake
Then remove the build*
and devel*
folders and retry the compilation.
On a side note, you are aware of the other patches currently needed to build Hydro desktop_full
on OS X 10.9? You will likely need to apply the following patches in your workspace (see https://github.com/ros/rosdistro/issues/4663):
pushd src/robot_model
curl https://github.com/ros/robot_model/pull/43.patch | patch -p1
popd
pushd src/robot_state_publisher
curl https://github.com/ros/robot_state_publisher/pull/5.patch | patch -p1
popd
pushd src/python_qt_binding/
curl https://github.com/ros-visualization/python_qt_binding/pull/12.patch | patch -p1
popd
2 | No.2 Revision |
It looks like you installed python from homebrew. There are issues with cmake and brewed python, i.e. cmake pickes up the library provided by Apple (version 2.7.5), but the python interpreter is the one from homebrew 2.7.8. Hence the error. See https://github.com/Homebrew/homebrew/issues/25118 for a long unresolved discussion of this problem.
You should be able to address this with a patched (but experimental!) version of the Python cmake modules:
brew remove cmake; brew install nikolausdemmel/homebrew-devel/cmake
nikolausdemmel/devel/cmake
Then remove the build*
and devel*
folders and retry the compilation.
On a side note, you are aware of the other patches currently needed to build Hydro desktop_full
on OS X 10.9? You will likely need to apply the following patches in your workspace (see https://github.com/ros/rosdistro/issues/4663):
pushd src/robot_model
curl https://github.com/ros/robot_model/pull/43.patch | patch -p1
popd
pushd src/robot_state_publisher
curl https://github.com/ros/robot_state_publisher/pull/5.patch | patch -p1
popd
pushd src/python_qt_binding/
curl https://github.com/ros-visualization/python_qt_binding/pull/12.patch | patch -p1
popd
3 | No.3 Revision |
It looks like you installed python from homebrew. There are issues with cmake and brewed python, i.e. cmake pickes up the library provided by Apple (version 2.7.5), but the python interpreter is the one from homebrew 2.7.8. Hence the error. See https://github.com/Homebrew/homebrew/issues/25118 for a long unresolved discussion of this problem.
You should be able to address this with a patched (but experimental!) version of the Python cmake modules:
brew remove cmake; brew install nikolausdemmel/devel/cmake
Then remove the build*
and devel*
folders and retry the compilation.
On a side note, you are aware of the other patches currently needed to build Hydro desktop_full
on OS X 10.9? You will likely need to apply the following patches in your workspace (see https://github.com/ros/rosdistro/issues/4663):
pushd src/robot_model
curl https://github.com/ros/robot_model/pull/43.patch | patch -p1
popd
pushd src/robot_state_publisher
curl https://github.com/ros/robot_state_publisher/pull/5.patch | patch -p1
popd
pushd src/python_qt_binding/
curl https://github.com/ros-visualization/python_qt_binding/pull/12.patch | patch -p1
popd
Update: Of the above three patches, only the robot_model patch is needed, and even that should be released soon.