[cairo] Cairo fails to render under Windows/MSVC
tml at iki.fi
Mon May 31 21:47:26 PDT 2010
> To test this I just installed MinGW and compiled the example with
> that. The result is the same, i.e. the background color is rendered,
> but the stroke, fill and text are not (even without pango, the stroke
> and fill are not rendered).
For what it's worth, for me, the program works fine on Windows,
compiled with MinGW, MSVS6 or MSVC9 ("2008"). That's using the
developer and runtime packages of pango, cairo and glib for Windows as
The command line I used for MSVC was:
cl -MD -Ic:/devel/dist/win32/pango-1.28.0-1/include/pango-1.0
pango-1.0.lib cairo.lib gobject-2.0.lib glib-2.0.lib
(and no, I didn't type that manually...) You can deduce the versions /
builds of the packages from the directory names.
More information about the cairo