he5cc -- Unsupported

The he5cc is a shell script that can be used as a C compiler. This script eventually executes h5cc, part of the HDF5external library, with HDF-EOS5-specific options. These options are -I option to specify include directory and library files originating from HDF-EOS5 and GCTP.

Suppose that you have a C program foo.c that depends on the HDF-EOS5 library. The following command will give compilation errors and/or link errors.

Obviously, those errors are caused because C compilers cannot find needed HDF-EOS5 and GCTP header files and libraries. Users can fix this problem by manually providing include paths and archive files, but users can also try he5cc as follows:
Figure 2 Using he5cc
$ he5cc foo.c
This will fix the problem because he5cc supply all necessary compiler switches.

This program is a mere shell script; so, no installation is required. However, users need to edit the script file to set the path to the HDF-EOS5 library.


Last modified: 11/11/2020
About Us | Contact Info | Archive Info | Disclaimer
Sponsored by Subcontract number 4400528183 under Raytheon Contract number NNG15HZ39C, funded by NASA / Maintained by The HDF Group