[GRASS-user] Compile module with different name

Richard Chirgwin rchirgwin at ozemail.com.au
Fri Jul 31 06:43:35 EDT 2009


Martin Landa wrote:
> Hi,
>
> 2009/7/31 Richard Chirgwin <rchirgwin at ozemail.com.au>:
>   
>> I need to keep an older copy of v.buffer, one that maintains the
>> debug=buffer capability - I use this to retain overlaps as distinct polygons
>> (instead of having two overlapping buffers merged into one).
>>
>> So, what I would like to do is recompile the old v.buffer, but do so with
>> the output as a different name - eg, v.oldbuffer.
>>
>> How would I do this?
>>     
> just change PGM variable in Makefile, e.g.
>
> PGM = v.oldbuffer
>
> Martin
>
>   
Martin and Janek,

Thanks, but not successful. Unfortunately, v.buffer won't make. The errors:

 >main.c:214: error: too many arguments to function 'Vect_build_partial'
 >main.c:215: error: too many arguments to function 'Vect_build'
 >main.c: in function 'main':
 >main.c.572: error: too many arguments to function 'Vect_build_partial'
 >main.c.584: error: too many arguments to function 'Vect_snap_lines'
 >main.c.587: error: too many arguments to function 'Vect_break_lines'
 >main.c.590: error: too many arguments to function 'Vect_remove_duplicates'
 >main.c.602: error: too many arguments to function 'Vect_build_partial'
 >main.c.710: error: too many arguments to function 'Vect_build_partial'

This takes things beyond my limited programming skills. My issue is that 
I really need to be able to work with a "dirty" buffer.

Richard



More information about the grass-user mailing list