[GRASS5] compiling code
John Gillette
JGillette at rfmd.com
Tue May 6 12:23:15 EDT 2003
I am trying to compile a piece of code outside grass. It comes
from code with the following includes:
(from v.in.tig.basic)
#include <string.h>
#include <unistd.h>
#include <stdlib.h>
#include "gis.h"
#include "CC.h"
#include "dig_atts.h"
#include "Vect.h"
When I try to compile outside of grass, fseek, fopen
printf, etc need stdio.h.
gcc -g -Wall -D__USE_FIXED_PROTOTYPES__ -ansi test.c
How is that being included in Grass code?
Also, the coordinate conversion library "CC.h", has
this usage changed now that we are going to use the standard
proj4 library? Do you call proj4 routines directly?
John
More information about the grass-dev
mailing list