Thank you very much Markus! Following your instructions, the modification was mostly straightforward. I also needed to add $(RASTERLIB) to LIBES and $(RASTERDEP) to DEPENDENCIES in the Makefile.
Since I didn't test well the whole thing, I set up a mercurial repository. Interested people may follow development at http://bitbucket.org/jdenisgiguere/grass-mcda/ Regards, 2010/4/5 Markus Neteler <nete...@osgeo.org>: > On Mon, Apr 5, 2010 at 9:25 PM, Jean-Denis Giguere > <jdenisgigu...@gmail.com> wrote: > ... >> It seems to have many changes in raster modules between GRASS6 and >> GRASS7. I would like to know if I can find documentation about porting >> GRASS6 add-on to GRASS7. > > It requires several updates to the new raster library architecture. > Basically, the "raster.h" header must be added and functions renamed, > for example > > G_put_raster_row() -> Rast_put_row() > etc. > > For an overview table, see > http://trac.osgeo.org/grass/wiki/Grass7/RasterLib/ListOfFunctions > > A good idea is also to compare modules between GRASS 6.5 and 7. > > Best > Markus > _______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev