Question one: Installing Caffe without cuda:fatal error:cublas_v2.h No such file:
Change in Makefile.config, cpu_only: = 1 open.
Question two: "Fatal error:hdf5.h: No file or directory" workaround
Reference from http://blog.csdn.net/hongye000000/article/details/51043913
Step 1
In line 85th of the makefile.config file, add /usr/include/hdf5/serial/ to include_dirs, i.e. change the first line below to the second line of code.
INCLUDE_DIRS := $(PYTHON_INCLUDE) /usr/local/include
INCLUDE_DIRS := $(PYTHON_INCLUDE) /usr/local/include /usr/include/hdf5/serial/
Step 2
In line 173th of the Makefile file, change hdf5_hl and Hdf5 to hdf5_serial_hl and hdf5_serial, That is, change the first line of code below to the second line.
LIBRARIES += glog gflags protobuf boost_system boost_filesystem m hdf5_hl hdf5
LIBRARIES += glog gflags protobuf boost_system boost_filesystem m hdf5_serial_hl hdf5_serial
"Fatal error:hdf5.h: There is no file or directory" workaround