fatal error:H5pubconf.h: No such file or directory


#1

I’m trying to get started with HDF5 for Eclipse C++, but I’m getting this error when I compile the example create.cpp provided when you download the library. The Location of the error is:
C:…\hdf5-1.8.21\src\H5public.h.
At the beginning, I had to changed the code in line 25 of example create.cpp, to set the proper path to find H5Cpp.h. After that, I also had to change line 15 of H5Include.h to #include <src/hdf5.h>.

After doing that, the error with H5pubconf appeared, and I’m not able to solve it.
I suppose this may be a common error, so if anybody knows how to make it work I would be really pleased. Thank you very much.


#2