weiliu89 / caffe

Caffe: a fast open framework for deep learning.
http://caffe.berkeleyvision.org/
Other
4.77k stars 1.68k forks source link

Cannot compile Caffe (cannot find -lhdf5, cannot find -lhdf5) #1030

Closed FathiMahdi closed 3 years ago

FathiMahdi commented 3 years ago
FathiMahdi commented 3 years ago

I solved this problem by adding /usr/lib/x86_64-linux-gnu/hdf5/serial to the LIBRARY_DIRS := $(PYTHON_LIB)