[Gdal-dev] MSG Interface

Agostino Fiorani agostino.fiorani at fastwebnet.it
Sun Jan 1 18:25:27 EST 2006


Great Graziano !
	It works! And thanks to attach here your results. 
Now the next question...

I am trying to rebuild  gdal after having applied  your patch to the
frmts/msg/PublicDecompWT folder. I got again a compilation error which I
append here... Can you solve also this problem?  Or have you any ideas
on what I should do to make thinks working?

Thanks very much 
Agostino. 


make -C msg install-obj
make[2]: Entering directory
`/home/agostino/programs/gdal-1.3.1/frmts/msg'
g++ -Wall -fPIC -O2   -I../../port -I../../gcore -I../../alg -I../../ogr
-I../../ogr/ogrsf_frmts -I PublicDecompWT/DISE -I
PublicDecompWT/COMP/WT/Inc -I PublicDecompWT/COMP/Inc -I. -c
-o ../o/msgdataset.o msgdataset.cpp
msgdataset.h:51: error: expected `)' before ‘*’ token
msgdataset.h:56: error: ‘MSGDataset’ has not been declared
PublicDecompWT/COMP/WT/Inc/CompressWT.h: In constructor
‘COMP::CWTParams::CWTParams(unsigned int, unsigned int,
COMP::CWTParams::EWTPredictionMode, COMP::CWTParams::EWTBlockMode,
unsigned int, unsigned int)’:
PublicDecompWT/COMP/WT/Inc/CompressWT.h:140: warning: enumeration value
‘e_FullWidth’ not handled in switch
msgdataset.cpp: In static member function ‘static GDALDataset*
MSGDataset::Open(GDALOpenInfo*)’:
msgdataset.cpp:286: error: no matching function for call to
‘MSGRasterBand::MSGRasterBand(MSGDataset*&, int)’
msgdataset.h:47: note: candidates are: MSGRasterBand::MSGRasterBand()
msgdataset.h:47: note:
MSGRasterBand::MSGRasterBand(const MSGRasterBand&)
msgdataset.cpp: At global scope:
msgdataset.cpp:298: error: prototype for
‘MSGRasterBand::MSGRasterBand(MSGDataset*, int)’ does not match any in
class ‘MSGRasterBand’
msgdataset.h:47: error: candidates are:
MSGRasterBand::MSGRasterBand(const MSGRasterBand&)
msgdataset.h:47: error:                 MSGRasterBand::MSGRasterBand()
msgdataset.cpp: In member function ‘virtual CPLErr
MSGRasterBand::IReadBlock(int, int, void*)’:
msgdataset.cpp:609: error: no matching function for call to
‘MSGRasterBand::rRadiometricCorrection(short unsigned int&, int&, int,
int, MSGDataset*&)’
msgdataset.h:56: note: candidates are: double
MSGRasterBand::rRadiometricCorrection(unsigned int, int, int, int, int*)
msgdataset.cpp:634: error: no matching function for call to
‘MSGRasterBand::rRadiometricCorrection(short unsigned int&, int&, int,
int, MSGDataset*&)’
msgdataset.h:56: note: candidates are: double
MSGRasterBand::rRadiometricCorrection(unsigned int, int, int, int, int*)
msgdataset.cpp: At global scope:
msgdataset.cpp:653: error: prototype for ‘double
MSGRasterBand::rRadiometricCorrection(unsigned int, int, int, int,
MSGDataset*)’ does not match any in class ‘MSGRasterBand’
msgdataset.h:56: error: candidate is: double
MSGRasterBand::rRadiometricCorrection(unsigned int, int, int, int, int*)
make[2]: *** [../o/msgdataset.o] Error 1
make[2]: Leaving directory
`/home/agostino/programs/gdal-1.3.1/frmts/msg'
make[1]: *** [msg-install-obj] Error 2
make[1]: Leaving directory `/home/agostino/programs/gdal-1.3.1/frmts'
make: *** [frmts-target] Error 2





More information about the Gdal-dev mailing list