Am 25.10.2011 04:37, schrieb Vipin Beniwal:
________________________________________
From: Vipin Beniwal
Sent: Monday, October 24, 2011 12:02 PM
To: [email protected]
Subject: Error In poppler lib static bindig

Hi,

I have configure poppler Library statically on my MAC OS-X 10.6 with qt 4.7.3  
then i try to use static lib in my application  as follows


INCLUDEPATH+=/user/include/poppler

LIBS+=/usr/lib/libpoppler-cpp.a
LIBS+=/usr/lib/libpoppler-qt4.a
LIBS+=/usr/lib/libpoppler.a
LIBS+=/usr/lib/libfontconfig.a

You need also a static version of the freetype library (used for rendering fonts)

Thomas
when i compling my application i Got following Error Messages:



Undefined symbols:
   "_FT_Get_Sfnt_Name_Count", referenced from:
       _FcFreeTypeQueryFace in libfontconfig.a(fcfreetype.o)
   "_FT_Outline_Get_CBox", referenced from:
       SplashFTFont::makeGlyph(int, int, int, SplashGlyphBitmap*, int, int, 
SplashClip*, SplashClipResult*)in libpoppler.a(SplashFTFont.o)
   "_FT_Library_Version", referenced from:
       SplashFTFontEngine::SplashFTFontEngine(bool, bool, bool, 
FT_LibraryRec_*)in libpoppler.a(SplashFTFontEngine.o)
   "_XML_SetUserData", referenced from:
       _FcConfigParseAndLoad in libfontconfig.a(fcxml.o)
   "_FT_Done_Face", referenced from:
       _FcFreeTypeQuery in libfontconfig.a(fcfreetype.o)
       SplashFTFontFile::~SplashFTFontFile()in libpoppler.a(SplashFTFontFile.o)
       SplashFTFontFile::~SplashFTFontFile()in libpoppler.a(SplashFTFontFile.o)
   "QDomDocument::createCDATASection(QString const&)", referenced from:
       Poppler::Annotation::store(QDomNode&, QDomDocument&) constin 
libpoppler-qt4.a(libpoppler_qt4_la-poppler-annotation.o)
       Poppler::TextAnnotation::store(QDomNode&, QDomDocument&) constin 
libpoppler-qt4.a(libpoppler_qt4_la-poppler-annotation.o)
   "_FT_Load_Glyph", referenced from:
       _FcFreeTypeCheckGlyph in libfontconfig.a(fcfreetype.o)
       SplashFTFont::getGlyphAdvance(int)    in libpoppler.a(SplashFTFont.o)
       SplashFTFont::getGlyphPath(int)    in libpoppler.a(SplashFTFont.o)
       SplashFTFont::makeGlyph(int, int, int, SplashGlyphBitmap*, int, int, 
SplashClip*, SplashClipResult*)in libpoppler.a(SplashFTFont.o)
   "QDomNode::appendChild(QDomNode const&)", referenced from:
       Poppler::DocumentData::addTocChildren(QDomDocument*, QDomNode*, 
GooList*)     in libpoppler-qt4.a(libpoppler_qt4_la-poppler-private.o)
       Poppler::Annotation::store(QDomNode&, QDomDocument&) constin 
libpoppler-qt4.a(libpoppler_qt4_la-poppler-annotation.o)
       Poppler::Annotation::store(QDomNode&, QDomDocument&) constin 
libpoppler-qt4.a(libpoppler_qt4_la-poppler-annotation.o)
       Poppler::Annotation::store(QDomNode&, QDomDocument&) constin 
libpoppler-qt4.a(libpoppler_qt4_la-poppler-annotation.o)
       Poppler::Annotation::store(QDomNode&, QDomDocument&) constin 
libpoppler-qt4.a(libpoppler_qt4_la-poppler-annotation.o)
       Poppler::Annotation::store(QDomNode&, QDomDocument&) constin 
libpoppler-qt4.a(libpoppler_qt4_la-poppler-annotation.o)
       Poppler::Annotation::store(QDomNode&, QDomDocument&) constin 
libpoppler-qt4.a(libpoppler_qt4_la-poppler-annotation.o)
       Poppler::Annotation::store(QDomNode&, QDomDocument&) constin 
libpoppler-qt4.a(libpoppler_qt4_la-poppler-annotation.o)
       Poppler::Annotation::store(QDomNode&, QDomDocument&) constin 
libpoppler-qt4.a(libpoppler_qt4_la-poppler-annotation.o)
       Poppler::MovieAnnotation::store(QDomNode&, QDomDocument&) constin 
libpoppler-qt4.a(libpoppler_qt4_la-poppler-annotation.o)
       Poppler::SoundAnnotation::store(QDomNode&, QDomDocument&) constin 
libpoppler-qt4.a(libpoppler_qt4_la-poppler-annotation.o)
       Poppler::FileAttachmentAnnotation::store(QDomNode&, QDomDocument&) 
constin libpoppler-qt4.a(libpoppler_qt4_la-poppler-annotation.o)



Please suggest me a solution .




Thanks
vipin
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

.



_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to