简体   繁体   English

错误:cv :: VideoCapture :: ~~ VideoCapture()的未定义引用符号,命令行中缺少DSO

[英]Error: Undefined reference symbol to cv::VideoCapture::~VideoCapture(), DSO missing from command line

I am trying to run my opencv code on raspberry pi but i get the following error 我正在尝试在树莓派上运行我的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 stands for "dynamic shared object" so it's probably a linking error. DSO代表“动态共享对象”,因此它可能是链接错误。 See this: openCV 2.4.7 error adding symbols: DSO missing from command line 看到这个: openCV 2.4.7添加符号时出错:命令行缺少DSO

Add -lopencv_features2d to your compile path. -lopencv_features2d添加到编译路径。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 未定义的符号引用,命令行中缺少 DSO - Undefined reference to symbol, DSO missing from command line 未定义的符号引用 '<symbol> '...添加符号时出错:命令行中缺少 DSO(使用 CMake)</symbol> - Undefined Reference to Symbol '<Symbol>' ... Error Adding Symbols: DSO Missing From Command Line (With CMake) 对 `cv::VideoCapture::VideoCapture(int) 的未定义引用 - undefined reference to `cv::VideoCapture::VideoCapture(int) GLEW + cmake链接失败“未定义引用符号glDrawElements”+“DSO从命令行中丢失” - GLEW + cmake linking fails “undefined reference to symbol glDrawElements” + “DSO missing from command line” 在shm_open上的C ++ Boost库未定义参考:命令行缺少DSO - C++ Boost Library Undefined Reference On shm_open: DSO Missing From Command Line 添加符号时出错:命令行中缺少DSO - error adding symbols: DSO missing from command line openCV 2.4.7 添加符号时出错:命令行中缺少 DSO - openCV 2.4.7 error adding symbols: DSO missing from command line glfw3错误:命令行缺少DSO - glfw3 error: DSO Missing from command line 来自字符串的cv :: VideoCapture在Mac上的Qt5中给出了链接器错误 - cv::VideoCapture from string gives linker error in Qt5 on Mac Lib Poco:命令行缺少DSO - Lib Poco: DSO missing from command line
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM