原文: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