[GRASS-dev] Re: correction: d.thematic.area doesn't compile

Moritz Lennert mlennert at club.worldonline.be
Mon Sep 1 08:48:03 EDT 2008


Hamish wrote:
> Michael:
>> It turns out that while arraystats compiles, d.thematic.area and  
>> v.class have stopped compiling in develbranch_6. Here is the  
>> successful compile of arraystats and the errors with d.thematic.area  
>> and v.class
> ....
>> main.c: In function ‘main’:
>> main.c:133: error: ‘G_OPT_DB_WHERE’ undeclared (first use in this  
>> function)
> 
> In grass7 svn lib/gis/parser.c changed the default G_OPT_WHERE standard
> option definition to be G_OPT_DB_WHERE to match the form of other standard
> parser options. This wasn't backported to devbr6, but the modules try to
> use it anyway.
> 
> Solutions:
> - change devbr6 versions of v.class and d.thematic.area to use old name

This is actually the case.
Michael, did you use the svn version of the modules, or did you use the 
tarball on my web site ? The latter is grass7-only. And no longer 
necessary, since I backported to grass6_devel with G_OPT_WHERE.

Moritz


More information about the grass-dev mailing list