安装OpenCV时,会遇到下面的错误
/home/zhang/slam/opencv-3.4.5/opencv_contrib/modules/xfeatures2d/src/boostdesc.cpp:653:20: fatal error: boostdesc_bgm.i: 没有那个文件或目录
#include “boostdesc_bgm.i”
^~~~~~~~~~~~~~~~~
compilation terminated.
把下列压缩包解压到目录opencv_contrib/modules/xfeatures2d/src/下即可。
压缩包地址:链接: https://pan.baidu.com/s/1UJa9_X0TmgMaczh8fvhTaw
提取码: zuh9
链接: https://pan.baidu.com/s/1SjAYkDDd-ddQ8Ygzfy2TrQ?pwd=s5vr
提取码: s5vr