按照博客:
https://blog.csdn.net/yggaoeecs/article/details/79163789
1.安装caffe,在安装caffe的依赖项时:
会提示unable to locate package
这时候需要改成: sudo apt-get install libhdf5-serial-dev
来安装hdf5
https://askubuntu.com/questions/630716/cannot-install-libhdf5-dev
2. 出现了和下面博客类似的问题
https://blog.csdn.net/w5688414/article/details/79478695
protocolbuffer有问题
然后安装protobuf
shit!
安装完后并没有解决问题,继续找:
https://blog.csdn.net/Bone_ACE/article/details/80645522
按照这篇博客,补装了一些依赖项
然后,提示nvcc fatal : unkown optioon fPIC
竟然是因为参考的博客
https://blog.csdn.net/u013524303/article/details/81609643
3. 修改过后又出现了新的问题:nvcc fatal : Unsupported gpu architecture 'compute_20'
参考网站:
https://github.com/kaldi-asr/kaldi/issues/1918
已经删掉了,确实解决了这个问题,但是,又出现了新的问题
https://www.cnblogs.com/zhming26/p/6164131.html
4. /usr/bin/ld: cannot find -lxxx 的解决办法
4. caffe fails with error undefined reference to `cv::imread(cv::String const&, int)' and undefined reference to `cv::imdecode(cv::_InputArray const&, int)
https://github.com/BVLC/caffe/issues/3700