Hi all, a patch for that mentioned in the subject is attached to this e-mail. Please review, and if accepted, please commit (separately) to the public repository, otherwise please tell me on-list why not. It isn't tested natively, but only via cross-build to Win32, as cmake mysteriously doesn't want to accept that
I don't have libjpeg development files installed and also can't install them right now, sorry. Best regards, mabri P.S. Even then only library and tools got built, the examples build failed with the same undefined references as I noted in my latest e-mail before.
Index: src/base/PdfEncodingFactory.h =================================================================== --- src/base/PdfEncodingFactory.h (revision 1693) +++ src/base/PdfEncodingFactory.h (working copy) @@ -181,6 +181,8 @@ static const PdfIdentityEncoding *s_pIdentityEncoding; static Util::PdfMutex s_mutex; + + PdfEncodingFactory(); // prohibit instantiating all-methods-static factory }; }; /* namespace PoDoFo */ Index: src/base/PdfFilter.h =================================================================== --- src/base/PdfFilter.h (revision 1693) +++ src/base/PdfFilter.h (working copy) @@ -520,6 +520,8 @@ * \returns a list of filters */ static TVecFilters CreateFilterList( const PdfObject* pObject ); +private: + PdfFilterFactory(); // prohibit instantiation of all-methods-static factory }; Index: src/doc/PdfFontFactory.h =================================================================== --- src/doc/PdfFontFactory.h (revision 1693) +++ src/doc/PdfFontFactory.h (working copy) @@ -114,6 +114,7 @@ const PdfEncoding* const pEncoding, bool bEmbed, bool bSubsetting, PdfVecObjects* pParent ); + PdfFontFactory(); // prohibit instantiation of all-methods-static factory }; };
------------------------------------------------------------------------------
_______________________________________________ Podofo-users mailing list Podofo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/podofo-users