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.
- Solutions to the failure of importing Python 3.7 SSL module
- EnvironmentError:mysql config not found
- fatal error: Python.h: No such file or directory
- Installation and unloading of Python module
- Raspberry pie upgrade to Python 3.7.3
- When installing pyaudio, an error is reported: failed error: portaudio. H: there is no such file or directory
- Xcode configuring OpenGL
- RuntimeError: module compiled against API version 0xe but this version of numpy is 0xd
- Error: unrecognized command line option “-std=c++11”, to solve the problem that ubuntu does not support c++11
- Fatal error in CentOS: Python. H: no that file or directory
- fatal error: Python.h: No such file or directory compilation terminated.
- Error no module named ‘in newly installed Python_ sqlite3‘
- How to install scikit learn and other scientific computing libraries in Ubuntu 16.04
- Installing opencv and Linux Makefile:160 : recipe for target ‘all’ failed problem resolution
- Visual slam Lesson 6: curve fitting with g2o, error: cmake error at CMakeList.txt (find_ package) By not providing“FindG2O.cmake“
- How to login raspberry pie
- Compiling TPC-H tools for Mac
- Cannot run program “make” when compiling APM firmware with eclipse under Windows: launching failed problem
- brew link sip error