catkin_make error
-- +++ processing catkin package: 'cv_bridge' -- ==> add_subdirectory(vision_opencv/cv_bridge) -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.6m.so (found version "3.6.9") CMake Warning at /usr/share/cmake-3.10/Modules/FindBoost.cmake:1626 (message): No header defined for python36; skipping header check Call Stack (most recent call first): vision_opencv/cv_bridge/CMakeLists.txt:11 (find_package)
CMake Error at /usr/share/cmake-3.10/Modules/FindBoost.cmake:1947 (message): Unable to find the requested Boost libraries.
Boost version: 1.65.1
Boost include path: /usr/include
Could not find the following Boost libraries:
boost_python36
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): vision_opencv/cv_bridge/CMakeLists.txt:11 (find_package)
-- Did not find OpenCV 4, trying OpenCV 3 -- Found OpenCV: /usr (found suitable version "3.2.0", minimum required is "3") found components: opencv_core opencv_imgproc opencv_imgcodecs -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.6m.so (found suitable version "3.6.9", minimum required is "3.6")
It doesn't work for me
cd /usr/lib/x86_64-linux-gnu/ sudo ln -s libboost_python-py36.so libboost_python3.so sudo ln -s libboost_python-py36.a libboost_python3.a
Edit vision_opencv/cv_bridge/CMakeLists.txt , Change line no 11 from find_package(Boost REQUIRED python36) to find_package(Boost REQUIRED python)
After doing so , it worked for me