vision_opencv icon indicating copy to clipboard operation
vision_opencv copied to clipboard

catkin_make error

Open byeciao opened this issue 4 years ago • 2 comments

-- +++ 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")

byeciao avatar Apr 20 '21 11:04 byeciao

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

byeciao avatar Apr 20 '21 11:04 byeciao

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

akshay-ram-pp avatar May 11 '22 09:05 akshay-ram-pp