Hi,Hib<div><br></div><div>Thanks for your suggestion!!</div><div><br></div><div>I tried the development version of poppler.</div><div>but I am not familiar with Autotools(Seems the Autotools of Mingw environment also has some problem...)</div>
<div><br></div><div>I typed :</div><div>autoconf</div><div>automake</div><div>./configure</div><div><br></div><div>is the above command sequence right?</div><div><br></div><div><br></div><div><br><div class="gmail_quote">
2010/7/15 Hib Eris <span dir="ltr"><<a href="mailto:hib@hiberis.nl">hib@hiberis.nl</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Jun,<br>
<div><div></div><div class="h5"><br>
On Thu, Jul 15, 2010 at 4:20 AM, Deng Jun <<a href="mailto:proudeng@gmail.com">proudeng@gmail.com</a>> wrote:<br>
> Hi,<br>
> thanks a lot.<br>
> but I am wondering which libs I need to install in order to build poppler<br>
> for qt4??<br>
> I actually build some library my self such as libjpeg...<br>
> and I used the following command sequence to build poppler for qt4.<br>
> ./configure --enable-poppler-qt4 --disable-libopenjpeg<br>
> mingw32-make "CFLAGS+= -U__STRICT_ANSI__" "CXXFLAGS+= -U__STRICT_ANSI__"<br>
> but then I encountered the following error:<br>
><br>
> CXXLD <a href="http://libpoppler-qt4.la" target="_blank">libpoppler-qt4.la</a><br>
> Infoc:/qt/201004/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe:<br>
> warning: auto-importing has been activated without --enable-auto-import<br>
> specified on the command line.<br>
> This should work unless it involves constant data structures referencing<br>
> symbols from auto-imported DLLs.<br>
> .libs/poppler-document.o:poppler-document.cc:(.text+0x391): undefined<br>
> reference to `_imp___ZN7Poppler4PageC1EPNS_12DocumentDataEi'<br>
> .libs/poppler-document.o:poppler-document.cc:(.text+0x76a): undefined<br>
> reference to `_imp___ZN7Poppler12FontIteratorC1EiPNS_12DocumentDataE'<br>
> .libs/poppler-document.o:poppler-document.cc:(.text+0x780): undefined<br>
> reference to `_imp___ZN7Poppler12FontIterator4nextEv'<br>
> .libs/poppler-document.o:poppler-document.cc:(.text+0x7c3): undefined<br>
> reference to `_imp___ZNK7Poppler12FontIterator7hasNextEv'<br>
> .libs/poppler-document.o:poppler-document.cc:(.text+0x7d4): undefined<br>
> reference to `_imp___ZN7Poppler12FontIteratorD1Ev'<br>
> .libs/poppler-document.o:poppler-document.cc:(.text+0x7e7): undefined<br>
> reference to `_imp___ZN7Poppler12FontIteratorD1Ev'<br>
> .libs/poppler-document.o:poppler-document.cc:(.text+0x871): undefined<br>
> reference to `_imp___ZNK7Poppler12FontIterator7hasNextEv'<br>
><br>
> do you have any ideas what is gone wrong?<br>
<br>
</div></div>Did you use poppler from git? Only two days ago some patches got<br>
committed for compiling the qt bindings with configure/make.<br>
Especially, this patch<br>
<a href="http://cgit.freedesktop.org/poppler/poppler/commit/?id=1bc2f4501ea4e56ca99ae4d94d6cf34cf33c2c7a" target="_blank">http://cgit.freedesktop.org/poppler/poppler/commit/?id=1bc2f4501ea4e56ca99ae4d94d6cf34cf33c2c7a</a><br>
<br>
I myself do not use the mingw compiler on Windows, but instead use a<br>
mingw cross compiler on Linux to successfully compile poppler (from<br>
git) for Windows (including the qt bindings).<br>
<br>
Cheers,<br>
<font color="#888888"><br>
Hib<br>
</font></blockquote></div><br></div>