编译OpenCV 4.5.3出现这个错误
In file included from /opt/opencv-4.5.3/modules/videoio/src/cap_ffmpeg.cpp:50:0:
/opt/opencv-4.5.3/modules/videoio/src/cap_ffmpeg_impl.hpp:535:5: error: ‘AVBSFContext’ does not name a type

 AVBSFContext* bsfc;
 ^

/opt/opencv-4.5.3/modules/videoio/src/cap_ffmpeg_impl.hpp: In member function ‘void CvCapture_FFMPEG::init()’:
/opt/opencv-4.5.3/modules/videoio/src/cap_ffmpeg_impl.hpp:576:5: error: ‘bsfc’ was not declared in this scope

 bsfc = NULL;
本文链接地址:https://const.net.cn/442.html

标签: none

添加新评论