how to compile gdal 1.3.2

Frank Warmerdam warmerdam at POBOX.COM
Fri May 12 08:56:52 PDT 2006


Huub Fleuren wrote:
> 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

Huub,

Sorry about this.  It seems to be a problem with VC6 and old ODBC include
files.

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.

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