我正在尝试在 Ubuntu 16.04 中安装 caffe。我按照文档中提到的步骤进行操作。一切都很好,但我的机器安装了 CUDA 工具包 9,但文档说版本 8 - 希望这不是问题(我猜)。但是当我尝试编译它 caffe repo 时,我收到以下错误 -
usr1@ubox:~/SDK/caffe$ cp Makefile.config.example Makefile.config
usr1@ubox:~/SDK/caffe$ make all
CXX src/caffe/solver.cpp
In file included from src/caffe/solver.cpp:9:0:
./include/caffe/util/hdf5.hpp:6:18: fatal error: hdf5.h: No such file or directory
compilation terminated.
Makefile:581: recipe for target '.build_release/src/caffe/solver.o' failed
make: *** [.build_release/src/caffe/solver.o] Error 1