原文:test.cpp:(.text+0xc0): undefined reference to `cv::imread(std::string const&, int)'

opencv报错: test.cpp: .text xc : undefined reference to cv::imread std::string const amp , int test.cpp: .text x f : undefined reference to cv:: OutputArray:: OutputArray cv::Mat amp This is a linker is ...

2019-02-12 11:08 0 1501 推荐指数:

查看详情

Opencv undefined reference to `cv::imread() Ubuntu编译

Ubuntu下编译一个C++文件,C++源程序中使用了opencv,opencv的安装没有问题,但是在编译的过程中出现如下错误: undefined reference to `cv::imread(std::string const&, int)'undefined reference ...

Thu Jan 04 22:57:00 CST 2018 1 14292
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM