next up previous contents
Next: Function return values Up: Working with the MINC Previous: Working with the MINC   Contents

Header and library files

The MINC 2 library can be included in any C or C++ program by including the file ``minc2.h'' in the source file, and linking against the libminc2.a library. This can be accomplished with most UNIX linking tools by adding the following to your compiler's link options:

-lminc2 -lhdf5 -lnetcdf

It is necessary to explicitly link with both the HDF5 and the NetCDF libraries to build a MINC 2 program.



Robert VINCENT 2004-05-28