我正在尝试在raspberry pi上运行我的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
答案 0 :(得分:0)
DSO代表"动态共享对象"所以它可能是一个链接错误。请参阅:openCV 2.4.7 error adding symbols: DSO missing from command line
将-lopencv_features2d
添加到编译路径。