(1)/dso_rewrite/src/FullSystem/FullSystem.cpp:8:22: error: ‘placeholders’ is not a namespace-name
using namespace std::placeholders;
缺少头文件
#include <functional>
(2) error: ‘pause’ was not declared in this scope
pause();
dso_rewrite/Examples/main_dso_pangolin.cpp:462:21: error: ‘usleep’ was not declared in this scope
usleep ( ( int ) ( ( timesToPlayAt[ii]-sSinceStart ) 10001000 ) );
缺少头文件
#include <unistd.h>
(3)dso_rewrite/src/IOWrapper/ImageRW_OpenCV.cpp:37:40: error: ‘CV_LOAD_IMAGE_GRAYSCALE’ was not declared in this scope
cv::Mat m = cv::imread ( filename, CV_LOAD_IMAGE_GRAYSCALE );
缺少头文件
#include "opencv2/imgcodecs/legacy/constants_c.h"
或者直接改为值