On Mon, 2020-07-13 at 10:54 +0200, Lorenzo Mugnai wrote: > I am getting some error while trying to build library on my Linux > system, I have installed all the dependencies required, but can get > through the error below > > [ 43%] Building CXX object > src/CMakeFiles/podofo_static.dir/doc/PdfFontMetricsBase14.cpp.o > /Users/admin/Documents/PDFEditor/Resources/podofo- > lib/podofo/src/doc/PdfFontMetricsBase14.cpp:80:24: error: > subscript of pointer to incomplete type 'const > PoDoFo::PODOFO_CharData'
Hi, it's odd, I see the type is declared in PdfFontFactoryBase14Data.h, which is included in the top of the PdfFontMetricsBase14.cpp. What is the compiler you use and its version, please? This works fine with gcc 10.1.1. Maybe it begun with certain C++ standard? Though even that would look weird. Bye, zyx _______________________________________________ Podofo-users mailing list Podofo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/podofo-users