[GRASS-user] compiling an addon in grass 7

Anna Petrášová kratochanna at gmail.com
Tue Jun 2 06:23:16 PDT 2015


On Tue, Jun 2, 2015 at 8:05 AM, Markus Neteler <neteler at osgeo.org> wrote:

> On Tue, Jun 2, 2015 at 1:35 PM, shashank khare <skhare at hotmail.com> wrote:
> > I tried compiling r.refine with grass 7 but gcc could not find
> definition of
> > Site_head struct. I looked into it and figured out that grass/site.h is
> > missing. Where has it gone?
>
> It has been eliminated many years back in the update to GRASS GIS 7
> (or even 6, don't remember).
>

Actually quite recently:
https://trac.osgeo.org/grass/ticket/2440

>
> > I even downloaded the entire source code of
> > 7.0.0 but even that does not have any file which contains definition of
> > Site_head struct. Can someone enlighten me regarding "site" data
> structure.
> > I believe site is a way of storing point type data.
>
> Nowadays the vector library is used for that:
>
> http://grass.osgeo.org/programming7/vectorlib.html
>
> You may want to look at the source code of point related modules (see
> keyword index of manual).
>
> Markus
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20150602/1ea47cdc/attachment.html>


More information about the grass-user mailing list