Ubuntu15.04 に Caffeをインストールした際のメモ
hdf5関係でコンパイル失敗。2箇所でひっかかる。
./include/caffe/data_layers.hpp:9:18: fatal error: hdf5.h: no such file or directory
/usr/bin/ld: cannot find -lhdf5_hl /usr/bin/ld: cannot find -lhdf5
Makefile.configの以下の2行を変更。
INCLUDE_DIRS := $(PYTHON_INCLUDE) /usr/local/include /usr/include/hdf5/serial/ LIBRARY_DIRS := $(PYTHON_LIB) /usr/local/lib /usr/lib /usr/lib/x86_64-linux-gnu/hdf5/serial