How do I compile application programs that call HDF functions?
To use HDF routines in your C program, you must either have the line #include “hdf.h” if you do not use the mfhdf library, or #include “mfhdf.h” if you do, near the beginning of your code. The HDF Group provides the h4cc and h4fc scripts for compiling applications. These tools come with the pre-compiled binaries and source code.