Sto cercando invano di compilare il wrapper Python di cairo su Windows. In particolare, se provo a lanciare:
python setup.py build -cmingw32
ricevo un lungo elenco di errori, di cui riporto alcuni estratti:
In file included from cairo/pycairo-private.h:41,
from cairo/cairomodule.c:36:
cairo/pycairo.h:41: error: syntax error before "cairo_t"
[...]
In file included from cairo/cairomodule.c:36:
cairo/pycairo-private.h:45: error: syntax error before '*' token
[...]
cairo/cairomodule.c:46: error: `CAIRO_STATUS_SUCCESS' undeclared (first use in this function)
[...]
error: command 'gcc' failed with exit status 1
Su Internet non ho trovato alcun installer per Windows, tranne questo, che però è solo per Python 2.3.
Ho chiesto aiuto anche su it.comp.lang.python.