BVLC / caffe

Caffe: a fast open framework for deep learning.

Home Page:http://caffe.berkeleyvision.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

RenzhiDaDa opened this issue · comments

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)

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