ORB_SLAM2-PythonBindings
ORB_SLAM2-PythonBindings copied to clipboard
How to install boost, specifically its python component (python-35)
I tried to install boost, but i got still this error message when i try 'cmake ..' Boost version: 1.45.0
Boost include path: /usr/local/include
Could not find the following Boost libraries:
boost_python-py35
No Boost libraries were found. You may need to set BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT to the location of Boost. Call Stack (most recent call first): CMakeLists.txt:33 (find_package)
-- Configuring incomplete, errors occurred!
Please give me the answer
This is a problem of: i. Different libboost_python3x.so version ii. Variation of libboost name (libboost_python vs libboost_python-py vs etc)
For my case (Ubuntu 18.04) Boost is in /usr/lib/x86_64-linux-gnu, so something along these lines is a workaround:
cd /usr/lib/x86_64-linux-gnu
sudo ln -s libboost_python-py3x.so [libboost_python_name].so
where libboost_python-py3x.so is the installed version you have [libboost_python_name] is the name convention and version used by CMakeLists.txt