[Gdal-dev] gdal 1.3.2 build error

Gong, Shawn Shawn.Gong at drdc-rddc.gc.ca
Tue Jan 30 16:34:32 EST 2007


Hi Frank and list,

I downloaded gdal 1.3.2 from web and this is build error
Note that I have copied three files (cpl_odbc.h, cpl_odbc.cpp,
IdrisiDataset.cpp) from http://www.gdal.org/srctree 
following the lead from
http://lists.umn.edu/cgi-bin/wa?A2=ind0605&L=mapserver-users&D=0&T=0&P=3
2523

why am I still getting idrisiDataset.cpp error?  Are there more files I
should copy from the www.gdal.org/srctree?


Thanks,
Shawn Gong

ERROR message:
--------------------------
...
vsis.obj
vsvers.obj
wattrblk.obj
_getcell.obj
_getrow.obj
_gsomece.obj
_putcell.obj
_rputrow.obj
       70 file(s) copied.
        cd ..

C:\build161\gdal132\frmts>cd leveller   && nmake /NOLOGO /f makefile.vc
&& cd
      cl /nologo /MD /EHsc /Zi /Fd..\..\gdal.pdb -I..\..\port
-I..\..\ogr -I..
\..\gcore  -I..\..\alg  /c levellerdataset.cpp
levellerdataset.cpp
        copy *.obj ..\o
levellerdataset.obj
        1 file(s) copied.

C:\build161\gdal132\frmts>cd sgi   && nmake /NOLOGO /f makefile.vc   &&
cd ..
     cl /nologo /MD /EHsc /Zi /Fd..\..\gdal.pdb -I..\..\port -I..\..\ogr
-I..
\..\gcore  -I..\..\alg -I./ /c sgidataset.cpp
sgidataset.cpp
        copy *.obj ..\o
sgidataset.obj
        1 file(s) copied.

C:\build161\gdal132\frmts>cd idrisi   && nmake /NOLOGO /f makefile.vc
&& cd ..

    cl /nologo /MD /EHsc /Zi /Fd..\..\gdal.pdb -I..\..\port -I..\..\ogr
-I..
\..\gcore  -I..\..\alg -D_USE_MATH_DEFINES /c idrisiDataset.cpp
idrisiDataset.cpp
idrisiDataset.cpp(1574) : error C2065: 'CPLStrlwr' : undeclared
identifier
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.

C:\build161\gdal132\frmts\idrisi>cd jpeg   && nmake /NOLOGO /f
makefile.vc   && cd ..
The system cannot find the path specified.

C:\build161\gdal132\frmts\idrisi>cd bsb   && nmake /NOLOGO /f
makefile.vc   && cd ..
The system cannot find the path specified.

C:\build161\gdal132\frmts\idrisi>cd zlib   && nmake /NOLOGO /f
makefile.vc   && cd ..
The system cannot find the path specified.

C:\build161\gdal132\frmts\idrisi>cd hdf4   && nmake /NOLOGO /f
makefile.vc   && cd ..
The system cannot find the path specified.

C:\build161\gdal132\frmts\idrisi>cd hdf5   && nmake /NOLOGO /f
makefile.vc   && cd ..
The system cannot find the path specified.
NMAKE : fatal error U1077: 'for' : return code '0x1'
Stop.
NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~3\VC__6~1\BIN\NMAKE.EXE'
: return
 code '0x2'
Stop.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20070130/851975db/attachment.html


More information about the Gdal-dev mailing list