Hi all,<br><br><div id="result_box" dir="ltr">I'm trying to install pycairo with comand:<br><br> python setup.py install<br><br>But occurs some errors:<br><br></div>cairo >= 1.8.8 detected<br>creating pycairo.pc<br>
creating src/config.h<br>running install<br>running build<br>running build_ext<br>building 'cairo._cairo' extension<br>C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\amd64\cl.exe /c /nolog<br>o /Ox /MD /W3 /GS- /DNDEBUG -IC:/Python26/Lib/site-packages/gtk+-bundle_2.16.6-2<br>
0090912_win64/include/cairo -IC:/Python26/Lib/site-packages/gtk+-bundle_2.16.6-2<br>0090912_win64/include/freetype2 -IC:/Python26/Lib/site-packages/gtk+-bundle_2.16<br>.6-20090912_win64/include -IC:/Python26/Lib/site-packages/gtk+-bundle_2.16.6-200<br>
90912_win64/include/libpng12 -IC:\Python26\include -IC:\Python26\PC /Tcsrc/conte<br>xt.c /Fobuild\temp.win-amd64-2.6\Release\src/context.obj<br>context.c<br>src/context.c(456) : warning C4244: '=' : conversion from 'Py_ssize_t' to 'int',<br>
possible loss of data<br>src/context.c(859) : warning C4244: '=' : conversion from 'Py_ssize_t' to 'int',<br> possible loss of data<br><span style="color: rgb(255, 0, 0);">src/context.c(1440) : error C2099: initializer is not a constant</span><br>
src/context.c(1447) : warning C4113: 'newfunc' differs in parameter lists from '<br>allocfunc'<br><span style="color: rgb(255, 0, 0);">error: command '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\amd64</span><br style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);">\cl.exe"' failed with exit status 2</span><br><br><br>Regards,<br>Paulo Amorim<br>