<span id="result_box" class="long_text"><span style="" title="">I think
there is an error in the generation process with ctypesgen for vector.py. </span><span style="" title="">The problem is that "dig_estructs.h" needs the
heading "ogr_api.h" which is not found in the path included. </span><span style="background-color: rgb(255, 255, 255);" title="">The problem is
solved if you add the path to that file (in my case
-I/usr/include/gdal). </span><span title="">Thank you. </span><span title="">Greetings. </span><span title="">Fernando.</span></span><span id="result_box" class="long_text"><span title=""></span><span title=""><br><br clear="all">
</span></span>Ing. Fernando Pacheco M.S.L.<br><br>Ingesur srl<br>Dirección: Requena 1062 ap.302, Montevideo, Uruguay.<br>Teléfonos: (+598 2) 408 90 48, (+598 9) 962 79 32<br>Web: <a href="http://ingesur.com.uy/">http://ingesur.com.uy/</a><br>
<br>
<br><br><div class="gmail_quote">On Wed, Jun 16, 2010 at 1:12 AM, Fernando Pacheco <span dir="ltr"><<a href="mailto:fernando.pacheco@ingesur.com.uy">fernando.pacheco@ingesur.com.uy</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<span><span title="">Yes of
course, after updating the source code to the 42 566 version I ran "make
clean", "./configure ...", "make", "rm-rf / usr/local/grass-7.0.svn
" and "</span><span title="">make install". </span><span style="background-color: rgb(255, 255, 255);" title="">In this situation
is that I get the error mentioned in my previous email.<br></span><span style="background-color: rgb(255, 255, 255);" title="">If you have
suggestions or an example that works please send me. </span><span style="background-color: rgb(255, 255, 255);" title="">I need to make a
decision about the language used to develop the application (I want to
use Python!). </span><span title="">Thank you very much. </span><span title="">Greetings. </span><span title="">Fernando.</span></span><div class="im"><br><br clear="all">Ing. Fernando Pacheco M.S.L.<br><br>Ingesur srl<br>
Dirección: Requena 1062 ap.302, Montevideo, Uruguay.<br>
Teléfonos: (+598 2) 408 90 48, (+598 9) 962 79 32<br>Web: <a href="http://ingesur.com.uy/" target="_blank">http://ingesur.com.uy/</a><br><br>
<br><br></div><div><div></div><div class="h5"><div class="gmail_quote">On Tue, Jun 15, 2010 at 7:45 PM, Glynn Clements <span dir="ltr"><<a href="mailto:glynn@gclements.plus.com" target="_blank">glynn@gclements.plus.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><br>
Fernando Pacheco wrote:<br>
<br>
> I modified the code as you have suggested. But I encounter a new problem. If<br>
> I run a simple program from the command line like this:<br>
> <a href="http://osgeo.pastebin.com/pPqkcvk3" target="_blank">http://osgeo.pastebin.com/pPqkcvk3</a> get the following error:<br>
<br>
> "python: malloc.c:4628: _int_malloc: Assertion `(unsigned long)(size) >=<br>
> (unsigned long)(nb)' failed."<br>
<br>
</div>That's the error which I saw before fixing the wrappers.<br>
<div><br>
> I updated the code to the 42566 version but I still have the same problem. Any<br>
> suggestions?. I will keep trying!. Thank you. Fernando.<br>
<br>
</div>Did you run "make clean" after updating? Makefiles aren't treated as<br>
prerequisites, so an incremental build won't cause the wrappers to be<br>
regenerated.<br>
<br>
It should suffice to run:<br>
<br>
make -C lib/python/ctypes clean<br>
make -C lib/python/ctypes<br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div>Glynn Clements <<a href="mailto:glynn@gclements.plus.com" target="_blank">glynn@gclements.plus.com</a>><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>