1. 错误1:
fatal error: caffe/proto/caffe.pb.h: No such file or directory
解决方法:
You need to generate caffe.pb.h manually using protoc as follows.
In the directory you installed Caffe to
protoc src/caffe/proto/caffe.proto --cpp_out=.
mkdir include/caffe/proto
mv src/caffe/proto/caffe.pb.h include/caffe/proto
出处:
https://github.com/BVLC/caffe/issues/1761
2. 错误2
/caffe: error while loading shared libraries: libhdf5_hl.so.10
解决方法:
cd /usr/lib/x86_64-linux-gnu
sudo ln -s libhdf5.so.7 libhdf5.so.10
sudo ln -s libhdf5_hl.so.7 libhdf5_hl.so.10sudo ldconfig
出处:
https://github.com/BVLC/caffe/issues/1463