The relevant library is contained in /usr/local/lib and is represented
by the filed named
libgraphics.a. The related include files are in the directory
/usr/local/include. Both of these directories are usually on the
search path for the compiler, so the compile line looks like:
cc -prototypes -c test_graphics.c
Source files making calls to BIC Graphics library functions must have the following line at the top, to include the relevant type definitions and prototypes:
The link line looks like:
cc test_volume_io.o -o test_volume_io \
-lgraphics -lbicpl -lvolume_io \
-lminc -lnetcdf -lfm_s -lgl_s -lm -lsun -lmalloc
The -lfm_s and -lgl_s options includes the
Silicon Graphics GL graphics library, to which the BIC Graphics library makes function calls.
The other link options are described in the documentation for the
BIC Volume IO Library and the BIC Programming Library.