Hi, This is a problem, which I found lately on windows systems, too. The current SVN version should contain a fix.
If you do not want to update to SVN trunk, it might help to allocate your own
version of PdfWinAnsiEncoding once and pass this to all calls to
PdfPainter::Draw etc. so that the default member is not used.
I do not understand completly yet, where this problem comes from, but
PdfFont::WinAnsiEncoding seems to get not exported on windows somehow.
best regards,
Dom
Am Dienstag, 12. August 2008 schrieb Jacob Holm:
> Ok, I have run into another problem;
>
> I have compiled PoDoFo as a shared library. When I try to implement PoDoFo
> in my own application I am getting the following linker error:
>
> Error 1 error LNK2001: unresolved external symbol "public: static class
> PoDoFo::PdfWinAnsiEncoding const PoDoFo::PdfFont::WinAnsiEncoding"
> ([EMAIL PROTECTED]@PoDoFo@@[EMAIL PROTECTED]@B) main.obj
>
>
> I have added the podofo.lib, jpeg.lib, freetypeMT_D.lib and zlib.lib as
> well as the include files, but I have NOT linked to ws_win32.lib on account
> that I cannot find it. I also included the podofo.h header.
--
**********************************************************************
Dominik Seichter - [EMAIL PROTECTED]
KRename - http://www.krename.net - Powerful batch renamer for KDE
KBarcode - http://www.kbarcode.net - Barcode and label printing
PoDoFo - http://podofo.sf.net - PDF generation and parsing library
SchafKopf - http://schafkopf.berlios.de - Schafkopf, a card game, for KDE
Alan - http://alan.sf.net - A Turing Machine in Java
**********************************************************************
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________ Podofo-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/podofo-users
