Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
5 tasks
RenzhiDaDa opened this issue Dec 16, 2021 · 3 comments
Open
5 tasks

Comments

@RenzhiDaDa
Copy link

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

  • Operating system:
  • Compiler:
  • CUDA version (if applicable):
  • CUDNN version (if applicable):
  • BLAS:
  • Python version (if using pycaffe):
  • MATLAB version (if using matcaffe):

Issue checklist

  • read the guidelines and removed the first paragraph
  • written a short summary and detailed steps to reproduce
  • explained how solutions to related problems failed (tick if found none)
  • filled system configuration
  • attached relevant logs/config files (tick if not applicable)
@xiaolin1990
Copy link

xiaolin1990 commented Dec 16, 2021 via email

@lovie123
Copy link

lovie123 commented Dec 16, 2021 via email

@RenzhiDaDa
Copy link
Author

RenzhiDaDa commented Dec 16, 2021

当我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就能成功了!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants