how to compile gdal 1.3.2

Huub Fleuren hfl at HOME.NL
Fri May 12 11:01:13 EDT 2006


Hi List,
This is for the GDAL compilerfolks,

i got gdal from cvs and also downloaded gdal-1.3.2 but i get the same error
gdal 1.3 compiles oke.
nmake -f makefile.vc

what's new ?

Regards, Huub

error =

cpl_odbc.cpp
cpl_odbc.h(162) : error C2143: syntax error : missing ';' before '*'
cpl_odbc.h(162) : error C2501: 'SQLULEN' : missing storage-class or type 
specifiers
cpl_odbc.h(162) : error C2501: 'm_panColSize' : missing storage-class or 
type specifiers
cpl_odbc.cpp(325) : error C2065: 'm_panColSize' : undeclared identifier
cpl_odbc.cpp(415) : error C2065: 'SQLULEN' : undeclared identifier
cpl_odbc.cpp(415) : error C2059: syntax error : ')'
cpl_odbc.cpp(434) : error C2664: 'SQLDescribeCol' : cannot convert 
parameter 7 from 'int' to 'unsign
ed long *'
        Conversion from integral type to pointer type requires 
reinterpret_cast, C-style cast or fun
ction-style cast
cpl_odbc.cpp(526) : error C2109: subscript requires array or pointer type
cpl_odbc.cpp(630) : error C2065: 'SQLLEN' : undeclared identifier
cpl_odbc.cpp(630) : error C2146: syntax error : missing ';' before 
identifier 'cbDataLen'
cpl_odbc.cpp(630) : error C2065: 'cbDataLen' : undeclared identifier
cpl_odbc.cpp(1138) : error C2059: syntax error : ')'
cpl_odbc.cpp(1150) : error C2146: syntax error : missing ';' before 
identifier 'cbDataLen'
cpl_odbc.cpp(1170) : error C2109: subscript requires array or pointer type
cpl_odbc.cpp(1170) : error C2106: '=' : left operand must be l-value
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'F:\PROGRA~1\MICROS~2\VC98\BIN\NMAKE.EXE' : 
return code '0x2'
Stop.



More information about the mapserver-users mailing list