[Gdal-dev] Problem compiling under VS.NET

Chapman, Martin MChapman at sanz.com
Wed Nov 17 19:37:04 EST 2004


Download the zip file for windows, unzip to c:\gdal, and change the
GDAL_HOME in the nmake.opt to c:\gdal.  Then run the compiler as
specified in the build instructions for windows on the gdal site.  Let
me know if that works.

Martin 

-----Original Message-----
From: Thom DeCarlo [mailto:t.r.decarlo at larc.nasa.gov] 
Sent: Wednesday, November 17, 2004 2:20 PM
To: 'GDAL developers'
Subject: [Gdal-dev] Problem compiling under VS.NET


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


_______________________________________________
Gdal-dev mailing list
Gdal-dev at xserve.flids.com
http://xserve.flids.com/mailman/listinfo/gdal-dev



More information about the Gdal-dev mailing list