[Gdal-dev] Trying to build on Windows

Ryan, Adam ARyan at co.linn.or.us
Mon Nov 1 12:19:55 EST 2004


Dear List,

I'm trying to build gdal 1.2.3 on a Windows XP box.  After editing the
nmake.opt file, I ran 'nmake /f makefile.vc'.  The output shows that it
cruises through the various frmts directories until it gets to the frmts\hfa
directory, at which point I get this:

...
C:\Downloads\gdal\gdal-1.2.3\frmts>cd hfa   && nmake /NOLOGO /f makefile.vc
&&
 cd ..
        cl /nologo /Ox /MD -I..\..\port -I..\..\ogr -I..\..\gcore
-I..\..\alg
/c hfadataset.cpp
hfadataset.cpp
hfadataset.cpp(721) : error C3861: 'snprintf': identifier not found, even
with a
rgument-dependent lookup
hfadataset.cpp(728) : error C3861: 'snprintf': identifier not found, even
with a
rgument-dependent lookup
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
...

At this point, every subsequent cd fails (cd gtiff, cd sdts, etc.) and there
is a long list of "The system cannot find specified path."

Can anyone suggest by this what I've done wrong?

Cheers,

Adam



More information about the Gdal-dev mailing list