ORB_SLAM2 ROS Example 编译 CMake Error at CMakeLists.txt:37 (message): OpenCV > 2.4.3 not found解决办法

报错

CMake Error at CMakeLists.txt:37 (message):OpenCV > 2.4.3 not found.

解决办法
CMakeLists.txt添加

set(OpenCV_DIR /$PATH to opencv/build)
find_package(OpenCV QUIET)

$PATH替换为路径

你可能感兴趣的:(报错解决,opencv)