Cmake not detecting boost-python when installing ROS

二次信任 提交于 2019-12-06 13:42:09

I got an answer based on Tsyvarev's link. You can symlink the libraries in the same directory without the appended 27 like so:

ln -s libboost_python27-mt.a libboost_python-mt.a
ln -s libboost_python27-mt.dylib libboost_python-mt.dylib
ln -s libboost_python27.a libboost_python.a
ln -s libboost_python27.dylib libboost_python.dylib

You've got Boost installed, but have you built the Boost binaries? See

unix-prepare-to-use-a-boost-library-binary

Many Boost libraries are header-only and don't require building a binary, but boost-python does. See this answer for a list of libraries that do require building:

Which Boost libraries are header-only?

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!