[Gdal-dev] Problem compiling under VS.NET

Thom DeCarlo t.r.decarlo at larc.nasa.gov
Wed Nov 17 16:19:34 EST 2004


Hi all,
I downloaded last night's tarball and found that I cannot compile using
VS.NET'03. The crash occurs in frmts/gtiff

C:\SVS_DE~1\GDAL-C~2\frmts>cd gtiff   && nmake /NOLOGO /f makefile.vc   &&
    cd ..
  cl /nologo /Ox /MD -I..\..\port -I..\..\ogr -I..\..\gcore -Ilibtiff 
    -Ilibgeotiff /c geotiff.cpp
geotiff.cpp
libtiff\tiffio.h(498) : fatal error C1083: Cannot open include file:
    'iostream.h': No such file or directory
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.

I think the problem is iostream.h is now called iostream (with no
extension). There are many other similar changes. Can someone tell me how to
get this to compile with VS.NET?

Thanks,
Thom





More information about the Gdal-dev mailing list