Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

./include/caffe/util/hdf5.hpp:6:18: fatal error: hdf5.h: No such file or directory #5658

Closed
usama6832 opened this issue May 29, 2017 · 3 comments

Comments

@usama6832
Copy link

I am facing this problem when I run 'make all' command during compilation of caffe.
please help me to solve this issue?

In file included from src/caffe/solver.cpp:8:0:
./include/caffe/util/hdf5.hpp:6:18: fatal error: hdf5.h: No such file or directory
compilation terminated.
Makefile:581: recipe for target '.build_release/src/caffe/solver.o' failed
make: *** [.build_release/src/caffe/solver.o] Error 1

Your system configuration

Operating system: ubuntu16.04
Compiler: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
CUDA version : cuda-8.0
BLAS:
Python or MATLAB version (for pycaffe and matcaffe respectively):

@EricWebsmith
Copy link

I fixed this by the following
https://askubuntu.com/questions/629654/building-caffe-failed-to-see-hdf5-h

hope that will solve your problem.

@pixelatedbrian
Copy link

The following helped me with this same issue.

From:
https://gist.github.com/wangruohui/679b05fcd1466bb0937f#fix-hdf5-naming-problem

@Noiredd
Copy link
Member

Noiredd commented Mar 2, 2018

Also see the wiki entry on commonly encountered build problems, it might contain some solutions gathered by the community.

I will close the issue for now, basing on the upvotes of @juwikuang's answer. Feel free to reopen if the problem persists, though.

@Noiredd Noiredd closed this as completed Mar 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants