실습/오류 해결
caffe make 시 : fatal error: hdf5.h: no such file or directory #include "hdf5.h"
gldmg
2017. 11. 29. 15:47
To get the build to pass on Debian Jessie, I had to (in addition to the above)
modify
INCLUDE_DIRS
inMakefile.config
INCLUDE_DIRS := $(PYTHON_INCLUDE) /usr/local/include /usr/include/hdf5/serial/
create symlinks as instructed here
cd /usr/lib/x86_64-linux-gnu sudo ln -s libhdf5_serial.so.8.0.2 libhdf5.so sudo ln -s libhdf5_serial_hl.so.8.0.2 libhdf5_hl.so
Work around #337 by installing
g++-4.6
from the Wheezy repo and adding toMakefile.config
:CUSTOM_CXX := g++-4.6
출처 : https://github.com/BVLC/caffe/issues/2347