Hi,
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 .
Cobra
-----Original message-----
From:Deng Jun<[email protected]>
To:poppler<[email protected]>
Date: Thu, 15 Jul 2010 10:20:27 +0800
Subject: Re: [poppler] compile poppler on windows
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 <[email protected]>
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<[email protected]>
To:poppler<[email protected]>
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
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler