[GRASS5] grass and external apps
Jachym Cepicky
jachym.cepicky at centrum.cz
Tue May 3 11:37:09 EDT 2005
Hallo,
how to write some application, which should be able to access GRASS maps?
I wanted to use GRASS G_* functions..
I included gis.h and gisdefs.h, like
#include /usr/local/grass-6.1.cvs/include/gis.h
#include /usr/local/grass-6.1.cvs/include/gisdefs.h
but, by the compilation, I get
[....]
readgrass.c:50: undefined reference to `G_allocate_raster_buf'
readgrass.o(.text+0x88):readgrass.c:67: undefined reference to `G_get_c_raster_row'
readgrass.o(.text+0x1dd):readgrass.c:139: undefined reference to `G_free'
readgrass.o(.text+0x1ea):readgrass.c:140: undefined reference to `G_close_cell'
[....]
What to do?
Thank you
Jachym
--
Jachym Cepicky
e-mail: jachym.cepicky at centrum.cz
URL: http://les-ejk.cz
GPG: http://www.fle.czu.cz/~jachym/gnupg_public_key/
More information about the grass-dev
mailing list