how to compile gdal 1.3.2

Frank Warmerdam warmerdam at POBOX.COM
Fri May 12 15:45:48 EDT 2006


Huub Fleuren wrote:
> Hi Frank,
> 
> Oke it worked for cpl_odbc.h but here's another one
> 
> E:\projects\gdal-1.3.2\frmts>cd idrisi   && nmake /NOLOGO /f 
> makefile.vc   && cd ..
>        cl /nologo /MD /EHsc /Zi /Fd..\..\gdal.pdb -I..\..\port 
> -I..\..\ogr -I..\..\gcore  -I..\..\a
> lg -D_USE_MATH_DEFINES /c idrisiDataset.cpp
> idrisiDataset.cpp
> idrisiDataset.cpp(825) : error C2374: 'i' : redefinition; multiple 
> initialization
>        idrisiDataset.cpp(727) : see declaration of 'i'
> idrisiDataset.cpp(1082) : error C2374: 'i' : redefinition; multiple 
> initialization
>        idrisiDataset.cpp(1079) : see declaration of 'i'
> idrisiDataset.cpp(1397) : error C2374: 'i' : redefinition; multiple 
> initialization
>        idrisiDataset.cpp(1379) : see declaration of 'i'
> idrisiDataset.cpp(1475) : error C2374: 'i' : redefinition; multiple 
> initialization
>        idrisiDataset.cpp(1466) : see declaration of 'i'
> NMAKE : fatal error U1077: 'cl' : return code '0x2'
> Stop.

Huub,

Sorry, I should have warned of that as well.  Please replace
gdal/frmts/idrisi/IdrisiDataset.cpp with:

   http://www.gdal.org/srctree/frmts/idrisi/IdrisiDataset.cpp

I think these are the only two VB6 problems.

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 OSGF, http://osgeo.org



More information about the mapserver-users mailing list