[GRASS5] r.nntool

---------- Forwarded message ----------
From: Hamish <hamish_nospam@yahoo.com>

[...]

maybe never came over from GRASS 4?

look in http://grass.ibiblio.org/grass43/source/

----- End forwarded message -----

Thank You,
r.nntool is there. Can I ask, why it isn't in GRASS >= 5.0 any more? And why is
the r.nntool manpage in the GRASS 5.x package (I suppose, someone had forgotten
to remove it)?

I tried to compile by the naive way only the r.nntool:

cp -r grass4.3.src/src/raster/r.nntool grass/src/raster/
cd grass/src/raster/
gmake53

but I got this message:

gcc -I/usr/src/grass/grass/src/include -g -O2 -c draw.c -o
OBJ.i686-pc-linux-gnu/draw.o
In file included from draw.c:4:
globals.h:86: warning: useless keyword or type name in empty declaration
draw.c: In function `draw':
draw.c:35: error: too many arguments to function `G_open_cell_new'
draw.c:39: error: too many arguments to function `G_open_cell_new'
draw.c:75: warning: passing arg 2 of `G_put_map_row' from incompatible pointer
type
make: *** [OBJ.i686-pc-linux-gnu/draw.o] Error 1

What would you advice me? Is there some other "Neural Network classification
tool for raster maps" in GRASS?

Cheers

Jáchym
--
Jachym Cepicky
e-mail: jachym.cepicky@centrum.cz
URL: http://les-ejk.cz