my files in my compiling folder:
input.cpp contains the line #include "input.h"
input.h contains the line #include "input.cpp" and #input H5Cpp.h
test.cpp contains the line #include "input.cpp"
however, H5Cpp.h is in another folder, it is part of the HDF5 library
when I compile with the command:
g++ -c input.cpp test.cpp
I get an error telling me that H5Cpp.h is not found.
I have added the H5Cpp.h's folder location to LD_LIBRARY_PATH variable in .bash_profile and have made certain that it is loaded each time. However, this error persists. What am I doing wrong?