Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm trying to compile a C++ file with some includes. My main file (well I didn't make it hdf5_getters includes a file which includes the file hdf5.h, also not my design but it's a downloaded library. Every time I try to compile it I get the error message that the file hdf5.h does not exist while it clearly does. I started reading on the internet and people say it can happen because it's a 32bit binary running on a 64bit architecture. But I'm running a 32bit Ubuntu so that can't be it... I'm out of ideas, if anyone can help me please :) This is the errormessage with commands:

make hdf5_getters
g++ -c -Wall -std=c++0x -O2 -c hdf5_getters.cc
In file included from H5Cpp.h:20:0,
                 from hdf5_getters.cc:34:
H5Include.h:17:18: fatal error: hdf5.h: No such file or directory
 #include <hdf5.h>
                  ^
compilation terminated.
make: *** [hdf5_getters.o] Error 1
share|improve this question
4  
Where does that file exist? –  saiarcot895 Jun 5 at 15:35
1  
The best way to prove it is with a command that list the files. –  Lucio Jun 5 at 15:37
    
Please add a listing of the directory where the files resides. –  Rmano Jun 5 at 18:41

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.