I tried to build gImageReader under Ubuntu 22.04, with podofo-0.10.1, but got the following error message.
....../gImageReader/qt/src/hocr/HOCRPdfExporter.cc:628:75: error: ‘DeviceGray’ is not a member of ‘PoDoFo::PdfColorSpace’
628 | PoDoFo::PdfColorSpace colorSpace = PoDoFo::PdfColorSpace::DeviceGray;
| ^~~~~~~~~~
....../gImageReader/qt/src/hocr/HOCRPdfExporter.cc:628:39: error: cannot declare variable ‘colorSpace’ to be of abstract type ‘PoDoFo::PdfColorSpace’
628 | PoDoFo::PdfColorSpace colorSpace = PoDoFo::PdfColorSpace::DeviceGray;
| ^~~~~~~~~~
....../gImageReader/qt/src/hocr/HOCRPdfExporter.cc:632:35: error: no match for ‘operator=’ (operand types are ‘PoDoFo::PdfColorSpacePtr’ {aka ‘std::shared_ptr<const PoDoFo::PdfColorSpace>’} and ‘PoDoFo::PdfColorSpace’)
632 | info.ColorSpace = colorSpace;
| ^~~~~~~~~~
Shouldn't be hard to fix the bug... But here toooooo late, so tired...
Waiting for your update...
Thank you...
I tried to build gImageReader under Ubuntu 22.04, with podofo-0.10.1, but got the following error message.
Shouldn't be hard to fix the bug... But here toooooo late, so tired... Waiting for your update... Thank you...