[Qgis-developer] 2 different gdal_contour.exe in windows osgeo4w installation

Jürgen E. Fischer jef at norbit.de
Tue Dec 15 13:54:33 EST 2009

Hi Giuseppe,

On Tue, 15. Dec 2009 at 19:25:01 +0100, Giuseppe Sucameli wrote:
> The error instead is that there are 2 gdal_contour.exe, one in
> "%OSGEO4W_ROOT%"\bin and the other in
> "%OSGEO4W_ROOT%"\apps\gdal-16\bin.
> Their size are also different!

Sure they are:
"%OSGEO4W_ROOT%"\bin\gdal_contour.exe is from GDAL 1.5 and
"%OSGEO4W_ROOT%"\apps\gdal-16\bin is from GDAL 1.6.

QGIS uses GDAL 1.6.  And GDAL 1.6's bin preceedes the general
OSGeo4W bin that has GDAL 1.5.

> By the way, the first work fine, the second no and, after it creates
> the output, it crashes.

You need to source gdal16.bat to use GDAL 1.6 (which is what qgis-dev.bat
does), otherwise you might mix GDAL 1.6 executables with GDAL 1.5 DLLs.


Jürgen E. Fischer         norBIT GmbH               Tel. +49-4931-918175-20
Dipl.-Inf. (FH)           Rheinstraße 13            Fax. +49-4931-918175-50
Software Engineer         D-26506 Norden               http://www.norbit.de

norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502

More information about the Qgis-developer mailing list