<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>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? 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.  <br><br>Thanks in advance.<br>Shashank<br><br><div>> From: neteler@osgeo.org<br>> Date: Sun, 31 May 2015 21:37:06 +0200<br>> Subject: Re: [GRASS-user] compiling an addon in grass 7<br>> To: skhare@hotmail.com<br>> CC: grass-user@lists.osgeo.org<br>> <br>> On Sun, May 31, 2015 at 5:56 PM, shashank khare <skhare@hotmail.com> wrote:<br>> > I downloaded the source from  https://github.com/jontodd/r.refine. I am willing to port it to grass 7 if i get help.<br>> <br>> Great!<br>> <br>> > I guess the author is not supporting it since there is no commit after 2006. This is my first project on Grass. Is there any  tutorial/documentation on how to to write addons for grass 7?<br>> <br>> Yes, sure. It is written like any other GRASS GIS module.<br>> <br>> > I developed a plugin for qgis and its really easy with so much documentation available online. I wish it were the case with Grass. But nonetheless I want to give Grass a serious try.<br>> <br>> Please let us know where you looked for it and didn't find it - I<br>> would like to improve the documentation.<br>> A good chance to make it better!<br>> <br>> > Will try with compiled source code today. When i installed grass-dev I do not see the source code of grass on my system. Which dir does it go to?<br>> <br>> This depends on the package/distro. You can use your package manager<br>> (apt-get or aptitude in your case) to see where the files of the<br>> "grass-dev" package are on your machine.<br>> <br>> HTH<br>> Markus<br></div>                                           </div></body>
</html>