ubuntu 18.04.2下编译DSO-SLAM遇到的问题和解决方法,仅供参考

问题1:

cmake时提示

error: ‘CV_LOAD_IMAGE_GRAYSCALE’ was not declared in this scope
  cv::Mat m = cv::imread(filename, CV_LOAD_IMAGE_GRAYSCALE);
解决方式:修改dso/src/IOWrapper/OpenCV/ImageRW_OpenCV.cpp中相应的内容

 

问题2:

cmake时提示

/usr/bin/ld: cannot find -lboost_system错误

解决方式:sudo apt-get install libboost-dev

你可能感兴趣的:(SLAM,DSO,Ubuntu,boost)