解决方法: 将各文件中的 #include <opencv/cv.h>替换为 #include <opencv2/opencv.hpp>即可 另外,ORB SLAM要求OpenCV 3.0,noetic自带的是opencv4,编译仍会失败