how to compile gdal 1.3.2

Huub Fleuren hfl at HOME.NL
Fri May 12 15:29:21 EDT 2006


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.

E:\projects\gdal-1.3.2\frmts\idrisi>cd jpeg   && nmake /NOLOGO /f 
makefile.vc   && cd ..
The system cannot find the path specified.

E:\projects\gdal-1.3.2\frmts\idrisi>cd bsb   && nmake /NOLOGO /f 
makefile.vc   && cd ..
The system cannot find the path specified.

E:\projects\gdal-1.3.2\frmts\idrisi>cd zlib   && nmake /NOLOGO /f 
makefile.vc   && cd ..
The system cannot find the path specified.
NMAKE : fatal error U1077: 'for' : return code '0x1'
Stop.
NMAKE : fatal error U1077: 'F:\PROGRA~1\MICROS~2\VC98\BIN\NMAKE.EXE' : 
return code '0x2'
Stop.
> Replace gdal-1.3.2/port/cpl_odbc.h with:
>
>   http://www.gdal.org/srctree/port/cpl_odbc.h
>
> Let me know if you still have problems.
Regards, Huub



More information about the mapserver-users mailing list