[poppler] FW: Error In poppler lib static bindig

Vipin Beniwal vipin.beniwal at stellarinfo.com
Tue Nov 1 00:34:18 PDT 2011


Hi sir ,

I found freetype lib and compiling staticallyand then
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
   LIBS+=/usr/lib/libfreetype.a


then I got following error Message 
:




Undefined symbols:
  "_XML_SetUserData", referenced from:
      _FcConfigParseAndLoad in libfontconfig.a(fcxml.o)
  "_jpeg_destroy_decompress", referenced from:
      DCTStream::reset()     in libpoppler.a(DCTStream.o)
      DCTStream::~DCTStream()in libpoppler.a(DCTStream.o)
      DCTStream::~DCTStream()in libpoppler.a(DCTStream.o)
  "_jpeg_set_quality", referenced from:
      JpegWriter::init(__sFILE*, int, int, int, int)in libpoppler.a(JpegWriter.o)
  "_inflateEnd", referenced from:
      FlateStream::reset()      in libpoppler.a(FlateStream.o)
      FlateStream::~FlateStream()in libpoppler.a(FlateStream.o)
      FlateStream::~FlateStream()in libpoppler.a(FlateStream.o)
      _ft_gzip_file_done in libfreetype.a(ftgzip.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)
  "_jpeg_set_defaults", referenced from:
      JpegWriter::init(__sFILE*, int, int, int, int)in libpoppler.a(JpegWriter.o)
  "QDomNode::appendChild(QDomNode const&)", referenced from:
      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)
      Poppler::CaretAnnotation::store(QDomNode&, QDomDocument&) constin libpoppler-qt4.a(libpoppler_qt4_la-poppler-annotation.o)
      Poppler::InkAnnotation::store(QDomNode&, QDomDocument&) constin libpoppler-qt4.a(libpoppler_qt4_la-poppler-annotation.o)
      Poppler::InkAnnotation::store(QDomNode&, QDomDocument&) constin libpoppler-qt4.a(libpoppler_qt4_la-poppler-annotation.o)
      Poppler::InkAnnotation::store(QDomNode&, QDomDocument&) constin libpoppler-qt4.a(libpoppler_qt4_la-poppler-annotation.o)

now what i can do please suggest me .....

thanks 
vipin kumar beniwal
________________________________________
From: Vipin Beniwal
Sent: Tuesday, November 01, 2011 9:55 AM
To: Thomas Freitag
Subject: RE: [poppler] FW: Error In poppler lib static bindig

Dear Sir Sorry for post question two time  a got ur reply but  where from i got static version of the freetype library (used for rendering fonts) as in my lin i dont have this

thanks
________________________________________
From: poppler-bounces+vipin.beniwal=stellarinfo.com at lists.freedesktop.org [poppler-bounces+vipin.beniwal=stellarinfo.com at lists.freedesktop.org] On Behalf Of Thomas Freitag [Thomas.Freitag at kabelmail.de]
Sent: Tuesday, October 25, 2011 1:04 PM
To: poppler at lists.freedesktop.org
Subject: Re: [poppler] FW: Error In poppler lib static bindig

Am 25.10.2011 04:37, schrieb Vipin Beniwal:
> ________________________________________
> From: Vipin Beniwal
> Sent: Monday, October 24, 2011 12:02 PM
> To: poppler at lists.freedesktop.org
> 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
> poppler at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/poppler
>
> .
>


_______________________________________________
poppler mailing list
poppler at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/poppler


More information about the poppler mailing list