[cairo] build pycairo-1.8.8 on windows

Prashant Saxena animator333 at yahoo.com
Mon May 3 00:25:55 PDT 2010


Hi, 


I have created cairo.dll from latest cairo-1.8.10/pixman-0.18.0/ 
zlib-1.2.5/libpng-1.4.1 sources. 


When building and installing pycairo-1.8.8 from sources using: 

python setup.py build_ext -c mingw32 --inplace 


I am getting error: 

'pkg-config' is not recognized as an internal or external command, 
operable program or batch file. 
Error: cairo >= 1.8.8 not found 

It seems setup.py doesn't work out of the box on windows.


The newly created cairo.dll(static) is copied to "system32". I have 
both gcc & MSVC installed but I would prefer
to build pycairo using MSVC. 


Any pointers? 

Prashant 




More information about the cairo mailing list