[poppler] compile poppler on windows

Deng Jun proudeng at gmail.com
Wed Jul 14 19:20:27 PDT 2010


Hi,

thanks a lot.
but I am wondering which libs I need to install in order to build poppler
for qt4??

I actually build some library my self such as libjpeg...
and I used the following command sequence to build poppler for qt4.

./configure --enable-poppler-qt4 --disable-libopenjpeg
mingw32-make "CFLAGS+= -U__STRICT_ANSI__" "CXXFLAGS+= -U__STRICT_ANSI__"

but then I encountered the following error:


  CXXLD  libpoppler-qt4.la
Infoc:/qt/201004/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe:
warning: auto-importing has been activated without --enable-auto-import
specified on the command line.
This should work unless it involves constant data structures referencing
symbols from auto-imported DLLs.
.libs/poppler-document.o:poppler-document.cc:(.text+0x391): undefined
reference to `_imp___ZN7Poppler4PageC1EPNS_12DocumentDataEi'
.libs/poppler-document.o:poppler-document.cc:(.text+0x76a): undefined
reference to `_imp___ZN7Poppler12FontIteratorC1EiPNS_12DocumentDataE'
.libs/poppler-document.o:poppler-document.cc:(.text+0x780): undefined
reference to `_imp___ZN7Poppler12FontIterator4nextEv'
.libs/poppler-document.o:poppler-document.cc:(.text+0x7c3): undefined
reference to `_imp___ZNK7Poppler12FontIterator7hasNextEv'
.libs/poppler-document.o:poppler-document.cc:(.text+0x7d4): undefined
reference to `_imp___ZN7Poppler12FontIteratorD1Ev'
.libs/poppler-document.o:poppler-document.cc:(.text+0x7e7): undefined
reference to `_imp___ZN7Poppler12FontIteratorD1Ev'
.libs/poppler-document.o:poppler-document.cc:(.text+0x871): undefined
reference to `_imp___ZNK7Poppler12FontIterator7hasNextEv'


do you have any ideas what is gone wrong?


2010/7/7 cobra.yu <cobra.yu at hyweb.com.tw>

>
> I've successfully builded Poppler 0.12.4 on Windows in MSYS+MINGW
> environments. You'll need some supporting dll's (like freetype and cairo)
> first which could be acquired directly by downloading from Gtk+ project
> website.
> Then, some manual modification is needed to compile poppler. This can be
> done when you observe the compiling process by "./configure" and the
> following "make".
>
> Cobra
>
> -----Original message-----
> *From:*Deng Jun<proudeng at gmail.com>
> *To:*poppler<poppler at lists.freedesktop.org>
> *Date: * Tue, 6 Jul 2010 13:49:27 +0800
> *Subject:* [poppler] compile poppler on windows
> Hi,All
>
> I want to use poppler on windows with Qt4.
> my environment is
> Cygwin
> Mingw.
> Windows Vista
>
> I do not find any howto or any document about how to do this?
> did someone else asked the same question and got solved?
>
> and if so,will someone kindly forward the mail to me?
>
> Thanks a lot.
>
> Jun
>
>  _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20100715/4a72ab6a/attachment.html>


More information about the poppler mailing list