[poppler] Setup poppler

Lykurg Nomothet lykurg at gmail.com
Thu Apr 30 07:00:01 PDT 2009


Hi,

I tried to compile 0.10.6 under windows for Qt4. The "normal" poppler
library builds well but if I try to build the qt4 interface I get
following error:

/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H
-I. -I../.. -I../../poppler -I../.. -I../../poppler -I../../qt
-Ic:/Qt/2009.02/mingw/include   -I/c/Qt/2009.02/qt/include    -Wall
-Wno-write-strings -g -O2 -MT poppler-document.lo -MD -MP -MF
.deps/poppler-document.Tpo -c -o poppler-document.lo
poppler-document.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../poppler
-I../.. -I../../poppler -I../../qt -Ic:/Qt/2009.02/mingw/include
-I/c/Qt/2009.02/qt/include -Wall -Wno-write-strings -g -O2 -MT
poppler-document.lo -MD -MP -MF .deps/poppler-document.Tpo -c
poppler-document.cc  -DDLL_EXPORT -DPIC -o .libs/poppler-document.o
poppler-document.cc: In function `QDateTime Poppler::convertDate(char*)':
poppler-document.cc:534: warning: 'QDateTime
Poppler::convertDate(char*)' defined locally after being referenced
with dllimport linkage
poppler-document.cc: In constructor
`Poppler::Document::Document(Poppler::DocumentData*)':
poppler-document.cc:87: internal compiler error: in
rest_of_handle_final, at toplev.c:2064
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.mingw.org/bugs.shtml> for instructions.
make: *** [poppler-document.lo] Error 1

Even if you don't work on windows maybe you can give me a hint how to
solve the error, since I don't know how to deal with this message:
"warning: 'QDateTime Poppler::convertDate(char*)' defined locally
after being referenced with dllimport linkage".

Thanks

P.s.: After succeed building poppler for windows I will upload an HowTo...


More information about the poppler mailing list