Opened 16 years ago
Last modified 16 years ago
#2168 closed defect
MSG compile problem — at Version 1
Reported by: | rroman | Owned by: | Mateusz Łoskot |
---|---|---|---|
Priority: | normal | Milestone: | 1.5.3 |
Component: | ConfigBuild | Version: | 1.5.0 |
Severity: | normal | Keywords: | msg |
Cc: | retsios, lichun |
Description (last modified by )
When I try to compile gdal-1.5.0 on fedora core 5 with msg format support the following problem occur.
make[2]: Entering directory `/home/rroman/gdal-1.5.0/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/rroman/gdal-1.5.0/frmts/msg' make[1]: *** [msg-install-obj] Error 2 make[1]: Leaving directory `/home/rroman/gdal-1.5.0/frmts' make: *** [frmts-target] Error 2
On the internet I found that it was previously discussed but did not find the solution. Any help would be apprececiated. Thanks Raymond
Change History (1)
comment:1 by , 16 years ago
Cc: | added |
---|---|
Component: | default → ConfigBuild |
Description: | modified (diff) |
Keywords: | msg added |
Milestone: | → 1.5.2 |
Owner: | changed from | to
Priority: | high → normal |
Version: | unspecified → 1.5.0 |
Note:
See TracTickets
for help on using tickets.
Bas,
Any thoughts? Mateusz, could you try and fix this up based on what Bas suggests unless Bas takes care of it?