GDAL Python 3.2 packages has now been added to the builds at <a href="http://www.gisinternals.com/sdk/">http://www.gisinternals.com/sdk/</a><br><br>Best regards,<br><br>Tamas<br><br><br><div class="gmail_quote">2011/7/9 Isaac Gerg <span dir="ltr"><<a href="mailto:isaac.gerg@gergltd.com">isaac.gerg@gergltd.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">This sounds great. Thanks so much Tamas.<div><br></div><div><font color="#888888">Isaac</font><div><div></div><div class="h5">
<br><br><div class="gmail_quote">On Sat, Jul 9, 2011 at 5:07 PM, Tamas Szekeres <span dir="ltr"><<a href="mailto:szekerest@gmail.com" target="_blank">szekerest@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm just working on to include that in the builds at <a href="http://www.gisinternals.com/sdk/" target="_blank">http://www.gisinternals.com/sdk/</a><br>
<br>Unfortunately I always have to patch the python-distutils stuff from versions to versions so as to make it work with all the supported compilers...<br>
<br>Best regards,<br><font color="#888888"><br>Tamas</font><div><div></div><div><br><br><br><div class="gmail_quote">2011/7/9 Isaac Gerg <span dir="ltr"><<a href="mailto:isaac.gerg@gergltd.com" target="_blank">isaac.gerg@gergltd.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Do you guys know when 3.2 will be supported? How do I build from 3.2 currently using the patches you mentioned -- are there instructions anywhere?<div><br></div><div>Thanks in advance,</div><div>Isaac<div><div></div><div>
<br><br><div class="gmail_quote">
On Sat, Jul 9, 2011 at 8:28 AM, Even Rouault <span dir="ltr"><<a href="mailto:even.rouault@mines-paris.org" target="_blank">even.rouault@mines-paris.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Le samedi 09 juillet 2011 13:56:54, Tamas Szekeres a écrit :<br>
<div><div></div><div>> 2011/7/8 Even Rouault <<a href="mailto:even.rouault@mines-paris.org" target="_blank">even.rouault@mines-paris.org</a>><br>
><br>
> > <a href="http://vbkto.dyndns.org/sdk/" target="_blank">http://vbkto.dyndns.org/sdk/</a> proposes bindings for 2.6, 2.7 and 3.1.<br>
> > Perhaps<br>
> > Tamas would want to add support for 3.2 ?<br>
><br>
> How do we stand with the Python 3.2 support in GDAL? Do we still require to<br>
> patch the gererated interface files so as to compile the bindings<br>
> successfully?<br>
> I'm a bit hesitant to include a patching step as part of the build<br>
> execution sequence.<br>
<br>
</div></div>I've just downloaded the latest swig version 2.0.4 and the good news is that<br>
it now generates binding files compatible with Python 3.2 (as well as with<br>
previous Python versions). I also tested quickly with Java and Perl and the<br>
generated files are good enough to enable "make test" to run successfully.<br>
<br>
However, with CSharp, the generated cpp files have the following duplicate<br>
declaration<br>
<br>
static OsrPINVOKE() {<br>
}<br>
<br>
static OsrPINVOKE() {<br>
}<br>
<br>
which causes the following error :<br>
<br>
mcs /debug:full /target:library /out:osr_csharp.dll osr/*.cs AssemblyInfo.cs<br>
osr/OsrPINVOKE.cs(192,10): error CS0111: A member<br>
`OSGeo.OSR.OsrPINVOKE.OsrPINVOKE()' is already defined. Rename this member or<br>
use different parameter types<br>
osr/OsrPINVOKE.cs(188,10): (Location of the symbol related to previous error)<br>
<br>
whereas it is ok with swig 1.3.40<br>
<br>
I couldn't find a relevant ticket in their bug tracker about this duplicate<br>
PINVOKE.<br>
<br>
<br>
><br>
><br>
> Best regards,<br>
><br>
> Tamas<br>
</blockquote></div><br></div></div></div>
</blockquote></div><br>
</div></div></blockquote></div><br></div></div></div>
</blockquote></div><br>