[cairo] Questions about Cairo and Windows

Maarten Bosmans mkbosmans at gmail.com
Fri Oct 1 06:43:09 PDT 2010


2010/10/1 Zoltán Turányi <teknos at gmail.com>:
> Hi,
> I am using cairo on Windows (to create metafiles) and found only one gotcha
> so far (that relates to metafiles specifically). A stock DLL should be OK
> for most use.

Have you filed a bug for that issue?

> @Maarten: you said you cross-compile cairo for Windows from a Linux machine.
> Do you also include windows.h from somewhere? (Right now I can
> cross-compile, but not with win32 support.)

All the necessary header come from mingw32. The basic recipe is:
./configure --host=i586-mingw32msvc --build=i686-linux && make && make install

You might want to add a custom prefix and some pkg-config magic to get
the dependencies right.

> Zoltan

Maarten


More information about the cairo mailing list