[poppler] Any one compile poppler with mingw for windows?

Vincent Torri vtorri at univ-evry.fr
Wed Sep 9 22:07:31 PDT 2009



On Thu, 10 Sep 2009, Shen Liang wrote:

> Is it possible compile poppler with mingw+msys on windows or with mingw on
> linux?
> I git the latest source.
> When I compiled with mingw+msys, I always got error about freetype.

which error ?

> I installed mingw 32 on Ubuntu, and run:
>
> export CC=i586-mingw32msvc-gcc
> export CXX=i586-mingw32msvc-g++
> export LD=i586-mingw32msvc-ld
> export AR=i586-mingw32msvc-ar
> export AS=i586-mingw32msvc-as
> export NM=i586-mingw32msvc-nm
> export STRIP=i586-mingw32msvc-strip
> export RANLIB=i586-mingw32msvc-ranlib
> export DLLTOOL=i586-mingw32msvc-dlltool
> export OBJDUMP=i586-mingw32msvc-objdump
> export RC=i586-mingw32msvc-windres
>
> after autogen.sh, ./configure and make, I compiled successfully, but it's
> still for linux not for windows.

don't export all those vars and run:

./configure --host=i586-mingw32msvc

Be sure to have the required poppler dependencies for windows (the 
gnuwin32 project has some, I think)

Vincent Torri


More information about the poppler mailing list