[GRASS-dev] r.prominence fails to compile under grass 7
Michael Barton
michael.barton at asu.edu
Wed Nov 25 19:25:20 EST 2009
Benjamin,
I've been testing r.prominence and it is pretty nice. I forgot to copy
you on a recent post to the user list with screenshots, but I assume
that you received it via the list.
I've had no trouble compiling it on grass 6.4 and 6.5, but it failed
with grass 7. The error is below.
cmb-MBP-2:r.prominence cmbarton$ make
test -d OBJ.i386-apple-darwin9.8.0 || mkdir -p OBJ.i386-apple-
darwin9.8.0
gcc -I/Users/cmbarton/grass_dev/grass7_src/dist.i386-apple-darwin9.8.0/
include -I/Users/cmbarton/grass_dev/grass7_src/dist.i386-apple-
darwin9.8.0/include -g -O2 -I../dst/include -DPACKAGE=
\""grassmods"\" -I/Users/cmbarton/grass_dev/grass7_src/dist.i386-
apple-darwin9.8.0/include -I/Users/cmbarton/grass_dev/grass7_src/
dist.i386-apple-darwin9.8.0/include -o OBJ.i386-apple-darwin9.8.0/
main.o -c main.c
main.c: In function ‘main’:
main.c:72: error: storage size of ‘colors’ isn’t known
main.c:74: error: ‘DCELL’ undeclared (first use in this function)
main.c:74: error: (Each undeclared identifier is reported only once
main.c:74: error: for each function it appears in.)
main.c:74: error: ‘diskrow’ undeclared (first use in this function)
main.c:76: error: ‘outrow’ undeclared (first use in this function)
main.c:146: warning: assignment makes pointer from integer without a
cast
main.c:162: error: ‘DCELL_TYPE’ undeclared (first use in this function)
make: *** [OBJ.i386-apple-darwin9.8.0/main.o] Error 1
Also, the GUI doesn't work because it tries to reference something
called fpmap, instead of something like old,cell,raster, and I don't
think that is a valid item.
BTW, I'll be at UCL and the IOA to give a talk on March 1. Maybe you
can come down and say hi.
Best
Michael
____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University
Phone: 480-965-6262
Fax: 480-965-7671
www: www.public.asu.edu/~cmbarton, http://csdc.asu.edu
More information about the grass-dev
mailing list