<div><br></div>Thanks to all for helping me. Later I build Grass7 developement environment. At that time I have not much time for research. I can solve my requirement using r.lake and r.hazard.flood command. I have also found another solution using psmap flooding example scripts.<br>
<div><br></div><div>Thanks & Regards,</div><div><br></div><div>Swapan</div><div><br><div class="gmail_quote">On Thu, Nov 8, 2012 at 4:08 PM, Roberto Marzocchi <span dir="ltr"><<a href="mailto:roberto.marzocchi@gmail.com" target="_blank">roberto.marzocchi@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi, <div><br></div><div>r.dam is a simple bash script that is useful to create the data for r.damflood. <div>Unfortunately r.dam is written in the grass 6 style and is needed to convert it to use in grass 7, while r.damflood is written in C using the grass7 libraries [1] so you don't find itr for grass6.5.</div>

<div><br></div><div>The error [2] depend on the absence of a makefile. I see that Markus add a makefile this morning ( I also try to add it), I think that now you can compile r.dam. </div><div>There is no description of r.dam, I will add as soon as possible.</div>

<div> </div><div>Concerning r.damflood, you can find the codes in grass7/raster/r.damflood/ [1] and I think you can easily compile for Grass7. IYou cannot compile for grass6.5, it is need a correction of libraries. I'm not an expert about it. I did it manually to update r.damflood to grass7, but after we develop some new functionalities and perform the debug on the grass7 version of r.damflood, so I do not want to add the old code developed in for Grass 6.4 because I'm not sure about the correctness of it. We choose in fact to develop it only for grass7 and I think it is reasonable.</div>
<span class="HOEnZb"><font color="#888888">
<div><br></div><div><br></div><div>Roberto</div></font></span><div><div class="h5"><div><br></div><div><br></div><div><br><div class="gmail_quote">2012/11/8 Martin Landa <span dir="ltr"><<a href="mailto:landa.martin@gmail.com" target="_blank">landa.martin@gmail.com</a>></span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
2012/11/8 SWAPAN GHOSH <<a href="mailto:swap.ghsh@gmail.com" target="_blank">swap.ghsh@gmail.com</a>>:<br>
<div>> I am trying to compile source code in Mingw environment for r.damflood. But<br>
> I have a problem that some libary is missing in my environment. Can you<br>
> please send me the .exe file by remaning as r.damflood.txt. Is it run<br>
> succesfully in Grass6.5.<br>
<br>
</div>all addons are automatically build for winGRASS. You can install them<br>
from the GUI (Settings -> Addons -> Install). The binaries are<br>
available at [1]. I didn't find r.damflood, just r.dam (which failed)<br>
[2].<br>
<br>
Martin<br>
<br>
[1] <a href="http://wingrass.fsv.cvut.cz/grass65/addons/" target="_blank">http://wingrass.fsv.cvut.cz/grass65/addons/</a><br>
[2] <a href="http://wingrass.fsv.cvut.cz/grass65/addons/logs/r.dam.log" target="_blank">http://wingrass.fsv.cvut.cz/grass65/addons/logs/r.dam.log</a><br>
<br>
--<br>
Martin Landa <landa.martin <a href="http://gmail.com" target="_blank">gmail.com</a>> * <a href="http://geo.fsv.cvut.cz/~landa" target="_blank">http://geo.fsv.cvut.cz/~landa</a><br>
</blockquote></div><br></div></div></div></div>
</blockquote></div><br></div>