[Gdal-dev] NumPy supported in 1.4.0?

Frank Warmerdam warmerdam at pobox.com
Sat Feb 10 11:21:20 EST 2007


William Kyngesburye wrote:
> Regarding my python 2.5 const char* errors, I just got a response on the 
> Mac python list.  It turns out that the Mac python build of 2.5 (unclear 
> if it's mac-only, or python 2.5 in general) needs a current SWIG to 
> generate gdal_wrap.cpp.  Quote:
> 
>> This has nothing to do with numpy. The wrapper source was generated 
>> from a
>> slightly-old version of SWIG that generates non-const-correct C++ 
>> code. Python
>> 2.5 uses a version of gcc that's a bit pickier than the 2.4 build that 
>> you used.
>>
>> Get the latest version of SWIG (1.3.31 should be fine, I think), 
>> regenerate the
>> gdal_wrap.cpp, and recompile.

Howard / William,

Do you think this means we should declare 1.3.31 our new preferred version
of SWIG?  Is there any barrier (other than churn) to doing so?

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org




More information about the Gdal-dev mailing list