[Gdal-dev] Re: Compiling GDAL SWIG wrappers

Frank Warmerdam warmerdam at pobox.com
Thu Oct 6 13:17:42 EDT 2005


On 10/6/05, Matt Foster <Matthew.Foster at noaa.gov> wrote:
> Frank,
>
> I'm trying to compile GDAL with --with-perl, so I can get the Perl
> bindings (mainly to OGR), and the compile is failing.  It's complaining
> that SWIG_NewPointerObj is undeclared in gdal_wrapper.cpp.  I'm assuming
> that means something's amiss in my SWIG install, but I'm not sure what.
> The baseline system (RHEL 3) has SWIG 1.1, but I also have SWIG 1.3.19
> available in /usr/local.
>
> Any clue what might be fouled up?

Matt,

I believe that the swig bindings for GDAL/OGR require at least
SWIG 1.3.25 if you are rebuilding the wrappers.  However, my
understanding was that the GDAL 1.3.1 release included pre-built
wrappers in which case this should not be a problem.

I not really sure what the solution to your problem is, so I am
ccing this to the list so Kevin, Ari or others can comment.

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    | Geospatial Programmer for Rent




More information about the Gdal-dev mailing list