[poppler] FW: Error In compling poppler lib

Albert Astals Cid aacid at kde.org
Sun Oct 23 03:43:18 PDT 2011


A Dissabte, 22 d'octubre de 2011, Vipin Beniwal vàreu escriure:
> Hi, Sir I run it
> 
> 
> sisls-Mac-Pro:poppler-0.18.0 root# V=1 make
> Making all in qt4
> Making all in src
> make  all-am
> make[4]: Nothing to be done for `all-am'.
> Making all in tests
> /bin/sh ../../libtool  --tag=CXX   --mode=link g++  -Wall -Wno-write-strings
> -Woverloaded-virtual -Wnon-virtual-dtor -Wcast-align -fno-exceptions
> -fno-check-new -fno-common -g -O2 -ansi   -o test-poppler-qt4
> test-poppler-qt4.o ../../poppler/libpoppler.la
> ../../qt4/src/libpoppler-qt4.la -/Developer/Qt/lib -/Developer/Qt/lib -lz
> libtool: link: g++ -Wall -Wno-write-strings -Woverloaded-virtual
> -Wnon-virtual-dtor -Wcast-align -fno-exceptions -fno-check-new -fno-common
> -g -O2 -ansi -o .libs/test-poppler-qt4 test-poppler-qt4.o
> -/Developer/Qt/lib -/Developer/Qt/lib -Wl,-bind_at_load 
> ../../poppler/.libs/libpoppler.dylib -L/usr/X11/lib
> ../../qt4/src/.libs/libpoppler-qt4.dylib
> /private/var/root/Desktop/poppler-0.18.0/poppler/.libs/libpoppler.dylib
> -lfreetype -lz Undefined symbols:
>   "QPainter::drawRects(QRectF const*, int)", referenced from:

Don't really know how a macos link line should look like but seems somehow you 
are missing the Qt libs from that line. Can't help much, maybe some other mac 
user?

Albert

> ________________________________________
> From: Vipin Beniwal
> Sent: Tuesday, October 18, 2011 8:22 AM
> To: poppler at lists.freedesktop.org
> Subject: FW: Error In compling poppler lib
> 
> ________________________________________
> From: Vipin Beniwal
> Sent: Monday, October 17, 2011 4:53 PM
> To: poppler at lists.freedesktop.org
> Subject: Error In compling poppler lib
> 
> Hi,
> 
> I am working on MAC OS-X 10.6 and qt 4.7.3  and want to install poppler
> library but i got error when i run make command Before make command  
> configure successfully with following output .
> 
> 
>   font configuration: fontconfig
>   splash output:      yes
>   cairo output:       no
>   qt4 wrapper:        yes
>   glib wrapper:       no
>     introspection:    no
>   cpp wrapper:        yes
>   use gtk-doc:        no
>   use libjpeg:        no
>   use libpng:         no
>   use libtiff:        no
>   use zlib:           yes
>   use libcurl:        no
>   use libopenjpeg:    no
>   use cms:            no
>   command line utils: yes
>   Warning: Using libjpeg is recommended
>   Warning: Using zlib is not totally safe
>   Warning: Using libopenjpeg is recommended
> 
> but when i run  make i got following error
> 
> 
> sisls-Mac-Pro:poppler-0.18.0 sisl$ make
> 
> Making all in tests
>   CXX    test-poppler-qt4.o
>   CXXLD  test-poppler-qt4
> Undefined symbols:
> 
>   "QWidget::enterEvent(QEvent*)", referenced from:
>       vtable for PDFDisplayin test-poppler-qt4.o
>   "QTime::currentTime()", referenced from:
>       PDFDisplay::display()      in test-poppler-qt4.o
>       PDFDisplay::display()      in test-poppler-qt4.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> make[3]: *** [test-poppler-qt4] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> 
> 
> 
> thanks
> vipin
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/poppler


More information about the poppler mailing list