next up previous 264
Next: ...Read a WCS Calibration from a Dataset
Up: How To...
Previous: ...Structure an AST Program


...Build an AST Program

To build a simple AST program that doesn't use graphics, use:

cc program.c -L/star/lib -I/star/include `ast_link` -o program

To build a program which uses PGPLOT for graphics, use:

cc program.c -L/star/lib `ast_link -pgplot` -o program

For more details about accessing the ``ast.h'' header file, see [*]. For more details about linking programs, see [*] and the description of the ``ast_link'' command in [*].


next up previous 264
Next: ...Read a WCS Calibration from a Dataset
Up: How To...
Previous: ...Structure an AST Program

AST A Library for Handling World Coordinate Systems in Astronomy
Starlink User Note 211
R.F. Warren-Smith & D.S. Berry
7th December 2012
E-mail:starlink@jiscmail.ac.uk

Copyright (C) 2012 Science \& Technology Facilities Council