[Gdal-dev] GDAL 1.2.0 Beta Release - Error
Lorenzo Moretti
lorenzo.moretti at bologna.enea.it
Tue Mar 2 10:51:57 EST 2004
>Folks,
>
>I have worked hard clearing up old bug reports, and reported build problems
>with the GDAL alpha release and now I have a new cut I consider
>"Beta" quality.
>I would appreciate people checking it out and reporting any problems.
>
>If all goes well, I may cut a final release essentially matching this in a
>couple of days.
>
> ftp://ftp.remotesensing.org/gdal/gdal-1.2.0b.tar.gz
> ftp://ftp.remotesensing.org/gdal/gdal120b.tar.gz
>
>Best regards,
Until gdal_cvs-1.2.0a I have built binary in OSX very well.
From this version 1.2.0b it's impossible to build from source.
The error is in raw format (inside frmts formats)
This is the error:
....
/bin/sh ../../libtool --mode=compile g++ -Wall -O3 -fno-common
-no-cpp-precomp -DCPL_MULTIPROC_PTHREAD -I../../port -I../../gcore
-I../../ogr -I../../port -c -o ../o/fastdataset.o fastdataset.cpp
g++ -Wall -O3 -fno-common -no-cpp-precomp -DCPL_MULTIPROC_PTHREAD
-I../../port -I../../gcore -I../../ogr -I../../port -c
fastdataset.cpp -fno-common -DPIC -o ../o/.libs/fastdataset.o
fastdataset.cpp: In function `static GDALDataset*
FASTDataset::Open(GDALOpenInfo*)':
fastdataset.cpp:607: warning: `char*pszValue' might be used uninitialized in
this function
g++ -Wall -O3 -fno-common -no-cpp-precomp -DCPL_MULTIPROC_PTHREAD
-I../../port -I../../gcore -I../../ogr -I../../port -c
fastdataset.cpp -o ../o/fastdataset.o >/dev/null 2>&1
/bin/sh ../../libtool --mode=compile g++ -Wall -O3 -fno-common
-no-cpp-precomp -DCPL_MULTIPROC_PTHREAD -I../../port -I../../gcore
-I../../ogr -I../../port -c -o ../o/atlsci_spheroid.o
atlsci_spheroid.cpp
g++ -Wall -O3 -fno-common -no-cpp-precomp -DCPL_MULTIPROC_PTHREAD
-I../../port -I../../gcore -I../../ogr -I../../port -c
atlsci_spheroid.cpp -fno-common -DPIC -o ../o/.libs/atlsci_spheroid.o
g++ -Wall -O3 -fno-common -no-cpp-precomp -DCPL_MULTIPROC_PTHREAD
-I../../port -I../../gcore -I../../ogr -I../../port -c
atlsci_spheroid.cpp -o ../o/atlsci_spheroid.o >/dev/null 2>&1
/bin/sh ../../libtool --mode=compile g++ -Wall -O3 -fno-common
-no-cpp-precomp -DCPL_MULTIPROC_PTHREAD -I../../port -I../../gcore
-I../../ogr -I../../port -c -o ../o/btdataset.o btdataset.cpp
g++ -Wall -O3 -fno-common -no-cpp-precomp -DCPL_MULTIPROC_PTHREAD
-I../../port -I../../gcore -I../../ogr -I../../port -c btdataset.cpp
-fno-common -DPIC -o ../o/.libs/btdataset.o
btdataset.cpp: In member function `virtual CPLErr BTRasterBand::IReadBlock(int,
int, void*)':
btdataset.cpp:133: error: `nWordSize' undeclared (first use this function)
btdataset.cpp:133: error: (Each undeclared identifier is reported only once for
each function it appears in.)
make[2]: *** [../o/btdataset.o] Error 1
make[1]: *** [raw-install-obj] Error 2
make: *** [frmts-target] Error 2
[lor:APPLI/gdal-cvs-040302] lor%
The file btdataset.cpp has a new version (1.4 vs 1.3 of old 1.2.0a).
I check this file and at line 130
/* -------------------------------------------------------------------- */
/* Swap on MSB platforms. */
/* -------------------------------------------------------------------- */
#ifdef CPL_MSB
GDALSwapWords( pImage, nDataSize, nRasterYSize, nWordSize );
#endif
nWordSize is undeclared.
Thank for fixing !!
Another problem:
I have QUICK BIRD image files:
Gdal read the band in wrong mode.
It creates
xxxx.red channel
xxxx.green channel
xxxx.blue channel
xxxx.alpha channel
QUICK BIRD has this format
xxxx.blue channel
xxxx.green channel
xxxx.red channel
xxxx.alpha channel
QUICK BIRD has 4 files
03MAY19095313-M2AS_R1C2-000000040462_01_P002.TIF (Multispectral file)
03MAY19095313-M2AS_R1C2-000000040462_01_P002.TIL (Tile of group image)
03MAY19095313-M2AS_R1C2-000000040462_01_P002.IMD (Image description)
03MAY19095313-M2AS_R1C2-000000040462_01_P002.RPB (Parameter of image)
Is it possible to fix this error ??
--
________________________________________________________________________
|| Lorenzo Moretti e-mail: lorenzo.moretti at bologna.enea.it
||/|/| ENEA prot Web: http://wwwamb.bologna.enea.it/
|| | via Don Fiammelli, 2 FTP: ftp://ftpamb.bologna.enea.it/ (ris.)
~~~~~~ 40128 BOLOGNA - ITALY Ph: +39-0516098086 Fax: +39-0516098131
________________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20040302/4fe4d274/attachment.html
More information about the Gdal-dev
mailing list