No such file but the file is there!

Posted by user288757 on Ask Ubuntu See other posts from Ask Ubuntu or by user288757
Published on 2014-06-05T15:32:51Z Indexed on 2014/06/05 15:37 UTC
Read the original article Hit count: 216

Filed under:
|
|

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

© Ask Ubuntu or respective owner

Related posts about files

Related posts about compiling