BVLC / caffe

Caffe: a fast open framework for deep learning.
http://caffe.berkeleyvision.org/
Other
33.96k stars 18.72k forks source link

make all error 出现:undefined reference to cv::imread(std::__cxx11::basic_string #7046

Open RenzhiDaDa opened 2 years ago

RenzhiDaDa commented 2 years ago

Important - read before submitting

Please read the guidelines for contributing before submitting this issue!

Please do not post installation, build, usage, or modeling questions, or other requests for help to Issues. Use the caffe-users list instead. This helps developers maintain a clear, uncluttered, and efficient view of the state of Caffe.

Issue summary

Steps to reproduce

Tried solutions

System configuration

Issue checklist

xiaolin1990 commented 2 years ago

这是来自QQ邮箱的假期自动回复邮件。 谢谢,您的邮件已收到,尽快给您回复。

lovie123 commented 2 years ago

您好,邮件已收到,谢谢!

RenzhiDaDa commented 2 years ago

当我make all的时候出现的是undefined reference to cv::imread(std::__cxx11::basic_string。。。。。。。

查询opencv版本是2.X 不能开opencv=3!

解决办法: 查到原因是gcc编译器的版本太新了!!!不能用gcc-5.2版本的,需要降回到gcc-4.8版本的。 当gcc降级完成之后,make all就能成功了!!!