我试图在树莓派上运行我的opencv代码,但我得到以下错误
/usr/bin/ld: CMakeFiles/main.dir/main.o: undefined reference to symbol 'cv::VideoCapture::~VideoCapture()'
/usr/local/lib/libopencv_videoio.so.3.0: error adding symbols: DSO missing from command line
DSO代表"动态共享对象",所以这可能是一个链接错误。openCV 2.4.7错误添加符号:命令行缺少DSO
将-lopencv_features2d
添加到编译路径