1.解压pangolin的压缩文件
2.mkdir build
3.cd build
4.cmake -DCPP11_NO_BOOST=1 ..
5.make -j后报错
error: ‘PixelFormat’ does not name a type; did you mean ‘AVPixelFormat’?
PixelFormat fmtout;
^~~~~~~~~~~
AVPixelFormat
/home/qin/slam14/3rdparty/Pangolin/include/pangolin/video/drivers/ffmpeg.h:142:5: error: ‘PixelFormat’ does not name a type; did you mean ‘AVPixelFormat’?
PixelFormat fmtsrc;
^~~~~~~~~~~
AVPixelFormat
/home/qin/slam14/3rdparty/Pangolin/include/pangolin/video/drivers/ffmpeg.h:143:5: error: ‘PixelFormat’ does not name a type; did you mean ‘AVPixelFormat’?
PixelFormat fmtdst;
^~~~~~~~~~~
AVPixelF