[gdal-dev] gdal 1.5.2 build error on Windows XP

Frank Warmerdam warmerdam at pobox.com
Thu Jul 10 16:48:16 EDT 2008


Gong, Shawn (Contractor) wrote:
> C:\build18\gdal-1.5.2\frmts>cd gtiff   && nmake /NOLOGO /f makefile.vc   
> && cd ..
> 
>         cl /nologo /MD /EHsc /Ox /DNDEBUG -I..\..\port -I..\..\ogr 
> -I..\..\gcore
> 
>   -I..\..\alg  -Ilibtiff -DBIGTIFF_SUPPORT -Ilibgeotiff  /c geotiff.cpp
> 
> geotiff.cpp
> 
> geotiff.cpp(2744) : error C2520: conversion from unsigned __int64 to 
> double not implemented, use signed __int64

Shawn,

I see you are still using VC6!

The offending statement on line 2744 can be safely removed.  I believe it
is just a debug statement.  I ran into the same issue recently in a VC6
build.

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



More information about the gdal-dev mailing list