Opened 18 years ago

Last modified 17 years ago

#1200 closed defect (fixed)

Install GDAL 1.3.2

Reported by: favard@… Owned by: warmerdam
Priority: high Milestone:
Component: default Version: unspecified
Severity: normal Keywords:
Cc:

Description

Install failed on cpl_odbc.cpp build...
see log file


	cd port
	nmake /nologo /f makefile.vc
	cl /nologo /MD /EHsc /Zi /Fd..\gdal.pdb -I..\port -I..\ogr -I..\gcore  -
I..\alg  /c cpl_odbc.cpp
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 'unsigned long *'
        Conversion from integral type to pointer type requires 
reinterpret_cast, C-style cast or function-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

Change History (5)

comment:1 by warmerdam, 18 years ago

I have made a bunch of changes in this regard in GDAL CVS.  Would it be
possible for you to try this with a GDAL CVS snapshot? 

  http://gdal.maptools.org/dl/daily

comment:2 by favard@…, 18 years ago

Thank you it is working fine now...

comment:3 by wxfei19@…, 17 years ago

I also have this problem ,
I installed on many computers,
only once I can install gdal132 successfully,other times always fails like this.

comment:4 by warmerdam, 17 years ago

Closing since the problem is fixed.


comment:5 by wxfei19@…, 17 years ago

Thank you i  working fine now...
Note: See TracTickets for help on using tickets.