[gdal-dev] Using GDAL with Windows 7

Jason Roberts jason.roberts at duke.edu
Tue May 4 15:27:54 EDT 2010

Here is an email thread that describes one possible reason you may not be
able to use GDAL from an ArcGIS 9.3.1 Python geoprocessing script:


Basically, to be able to load the GDAL DLL into an ArcGIS 9.3.x process, you
have to compile the GDAL DLL without xerces support. The "minimalist window
executables" for GDAL 1.6 referenced by
http://trac.osgeo.org/gdal/wiki/DownloadingGdalBinaries did not have the
problem because they do not compile xerces. Windows builds available at
http://vbkto.dyndns.org/sdk/ tend to have xerces enabled (at least as of a
few months ago) so they do have the problem. But if you are used to
compiling stuff, it is relatively easy to build your own GDAL DLL without

Also, here's a thread that describes a compatibility problem between the
GDAL 1.6.x Python bindings and ArcGIS 9.3.x "in process" Python
geoprocessing script tools:


This problem was rectified by the GDAL team moving to a newer version of
SWIG. Depending on where and when you got your 1.6 bindings, you might hit
that problem with 1.6.


-----Original Message-----
From: gdal-dev-bounces at lists.osgeo.org
[mailto:gdal-dev-bounces at lists.osgeo.org] On Behalf Of Ari Jolma
Sent: Tuesday, May 04, 2010 2:39 PM
To: Discourse Maps
Cc: gdal-dev at lists.osgeo.org
Subject: Re: [gdal-dev] Using GDAL with Windows 7

Discourse Maps wrote:
> Greetings,
> Is GDAL compatible with Windows 7?

At least with MinGW it is possible to compile and use GDAL in Win 7.
I've done that and also compiled the Perl bindings (and Perl itself)
succesfully in Win 7.

> Specifically I am trying to use a Windows 7 machine (with ArcGIS 9.3.1 
> and Python 2.5) to install the bindings.

I'm not sure what ArcGIS has to do with this, but I've got no reason to
believe that the Python bindings are impossible to compile and use in Win 7.

> GDAL 1.6 did not work, but perhaps the newest version of GDAL 1.7.x does??

Perhaps you could share us why GDAL 1.6 did not work? Which compiler did
you use? What was the error message?

Best regards,

Ari Jolma

> Thanks!
> ------------------------------------------------------------------------
> The New Busy is not the old busy. Search, chat and e-mail from your 
> inbox. Get started. 
> ------------------------------------------------------------------------
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev

gdal-dev mailing list
gdal-dev at lists.osgeo.org

More information about the gdal-dev mailing list