I downloaded the source from  https://github.com/jontodd/r.refine. I am willing 
to port it to grass 7 if i get help. 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? 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.

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? 

Thanks
Shashank

----------------------------------------
> From: [email protected]
> Date: Sun, 31 May 2015 14:03:10 +0200
> Subject: Re: [GRASS-user] compiling an addon in grass 7
> To: [email protected]
> CC: [email protected]
>
> On Sun, May 31, 2015 at 7:28 AM, <[email protected]> wrote:
>>
>> Hi!
>>
>> I would like to install r.refine addon in grass 7. I have the c/c++ code of
>> r.refine and I installed grass 7 and grass-dev.
>
> Quick question: Is r.refine online available (for testing)? Do you refer to
> https://github.com/jontodd/r.refine
> ?
>
> It appears to be written for an older GRASS GIS version.
>
>> When I compile it keeps giving me error about grass-src directory.
>
> You can compile like this (example for path) as on my machine:
>
> make MODULE_TOPDIR=$HOME/software/grass70
>
> Indeed, you need to have the compiled GRASS GIS source code available for 
> that.
> As Venka wrote:
>
> sudo apt-get install grass-dev
>
> will get the source code onto your computer.
>
> However, the r.refine version needs to be GRASS GIS 7 ready, otherwise
> it won't compile.
>
> Best
> Markus
                                          
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to