This error occurs when installing Caffe while compiling to source code if it is not in accordance with HDF5
sudo apt-get install libhdf5-dev
If an error is still reported after installation, open makefile.config, go to INCLUDE_DIRS and add /usr/include/hdf5/ Serial after it, as follows:
INCLUDE_DIRS := $(PYTHON_INCLUDE) /usr/local/include /usr/include/hdf5/serial
LIBRARY_DIRS, then add /usr/lib/ x86_64-Linux-gnu /hdf5/serial, as follows:
LIBRARY_DIRS := $(PYTHON_LIB) /usr/local/lib /usr/lib /usr/lib/x86_64-linux-gnu/hdf5/serial
Re-execute make All.
Read More:
- caffe deep learning [three] compilation error: fatal error: hdf5.h: No such file or directory compilation terminated.
- fatal error: Python.h: No such file or directory
- fatal error: Python.h: No such file or directory compilation terminated.
- Fatal error in CentOS: Python. H: no that file or directory
- fatal error: Python.h: No such file or directory
- gcc /usr/include/stdio.h:27:10: fatal error: bits/libc-header-start.h: No such file or directory
- [C]fatal error: mysql.h: No such file or directory
- Compiling the pi_kernel source code appears: fatal error: openssl/opensslv.h: No such file or directory
- #During OpenGL development, fatal error C1083: can’t open include file: “GL / glut. H”: no such file or directory
- fatal error: openssl/bio.h: No such file or directory settlement programme
- [Solved] Docker ubuntu swoole fatal error: openssl/ssl.h: No such file or directory
- A fatal error C1083 occurred when compiling C + + code under. Net: unable to open the include file: “xuhk”_ Jnihelloworld. H “: solution to no such file or directory error.
- Solution of header file StdAfx. H “no such file or directory” in Visual Studio
- Error: libipq. H: no such file or directory solution
- Linux QT download / usr / include / C + + / 7/ cstdlib:75 : 15: fatal error: stdlib. H: no such file or directory error
- RCurl error-fatal error: curl/curl.h: No such file or directory
- Cannot open include file: ‘io.h‘: No such file or directory
- In VS2010, the compiler cannot open the file “GL / glaux. H”: no such file or directory
- VS2010 compiler can’t open include file: “GL / glaux. H”: no such file or directory
- 【linux】error: stdio.h: No such file or directory