<html>Hi,<br><br> I don't recommend the mingw accompanied with Qt. I used TDM mingw because there is some bug in official mingw that made compilation errors. BTW, I commented EVERY LINE in poppler-export.h .<br> Cobra<br><br>
-----Original message-----<br>
<b>From:</b>Deng Jun<proudeng@gmail.com><br>
<b>To:</b>poppler<poppler@lists.freedesktop.org><br>
<b>Date: </b> Thu, 15 Jul 2010 10:20:27 +0800<br>
<b>Subject:</b> Re: [poppler] compile poppler on windows<br>
Hi,<div><br></div><div>thanks a lot.</div><div>but I am wondering which libs I need to install in order to build poppler for qt4??</div><div><br></div><div><div>I actually build some library my self such as libjpeg...</div>
<div>and I used the following command sequence to build poppler for qt4.</div><div><br></div><div><div>./configure --enable-poppler-qt4 --disable-libopenjpeg</div><div>mingw32-make "CFLAGS+= -U__STRICT_ANSI__" "CXXFLAGS+= -U__STRICT_ANSI__"</div>
</div><div><br></div><div>but then I encountered the following error:</div><div><br></div><div><div><br></div><div> CXXLD <a href="http://libpoppler-qt4.la">libpoppler-qt4.la</a></div><div>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.</div>
<div>This should work unless it involves constant data structures referencing symbols from auto-imported DLLs.</div><div>.libs/poppler-document.o:poppler-document.cc:(.text+0x391): undefined reference to `_imp___ZN7Poppler4PageC1EPNS_12DocumentDataEi'</div>
<div>.libs/poppler-document.o:poppler-document.cc:(.text+0x76a): undefined reference to `_imp___ZN7Poppler12FontIteratorC1EiPNS_12DocumentDataE'</div><div>.libs/poppler-document.o:poppler-document.cc:(.text+0x780): undefined reference to `_imp___ZN7Poppler12FontIterator4nextEv'</div>
<div>.libs/poppler-document.o:poppler-document.cc:(.text+0x7c3): undefined reference to `_imp___ZNK7Poppler12FontIterator7hasNextEv'</div><div>.libs/poppler-document.o:poppler-document.cc:(.text+0x7d4): undefined reference to `_imp___ZN7Poppler12FontIteratorD1Ev'</div>
<div>.libs/poppler-document.o:poppler-document.cc:(.text+0x7e7): undefined reference to `_imp___ZN7Poppler12FontIteratorD1Ev'</div><div>.libs/poppler-document.o:poppler-document.cc:(.text+0x871): undefined reference to `_imp___ZNK7Poppler12FontIterator7hasNextEv'</div>
<div><br></div></div><div><br></div><div>do you have any ideas what is gone wrong?</div><div><br></div><div><br><div class="gmail_quote">2010/7/7 cobra.yu <span dir="ltr"><<a href="mailto:cobra.yu@hyweb.com.tw">cobra.yu@hyweb.com.tw</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><br>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.<br>
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".<br><font color="#888888"><br>Cobra</font><div>
<div></div><div class="h5"><br>
-----Original message-----<br>
<b>From:</b>Deng Jun<<a href="mailto:proudeng@gmail.com" target="_blank">proudeng@gmail.com</a>><br>
<b>To:</b>poppler<<a href="mailto:poppler@lists.freedesktop.org" target="_blank">poppler@lists.freedesktop.org</a>><br>
<b>Date: </b> Tue, 6 Jul 2010 13:49:27 +0800<br>
<b>Subject:</b> [poppler] compile poppler on windows<br>
Hi,All<div><br></div><div>I want to use poppler on windows with Qt4.</div><div>my environment is </div><div>Cygwin</div><div>Mingw.</div><div>Windows Vista</div><div><br></div><div>I do not find any howto or any document about how to do this?</div>
<div>did someone else asked the same question and got solved?</div><div><br></div><div>and if so,will someone kindly forward the mail to me?</div><div><br></div><div>Thanks a lot.</div><div><br></div><div>Jun</div><div><br>
</div></div></div><div><div></div><div class="h5">
_______________________________________________<br>
poppler mailing list<br>
<a href="mailto:poppler@lists.freedesktop.org" target="_blank">poppler@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/poppler" target="_blank">http://lists.freedesktop.org/mailman/listinfo/poppler</a><br>
<br>
</div></div><br>_______________________________________________<br>
poppler mailing list<br>
<a href="mailto:poppler@lists.freedesktop.org">poppler@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/poppler" target="_blank">http://lists.freedesktop.org/mailman/listinfo/poppler</a><br>
<br></blockquote></div><br></div></div>
_______________________________________________<br>
poppler mailing list<br>
poppler@lists.freedesktop.org<br>
<a href="http://lists.freedesktop.org/mailman/listinfo/poppler" target="new_win">http://lists.freedesktop.org/mailman/listinfo/poppler</a><br>
<br>
</html>