I've just installed RDKIt and everything seems to have gone fine.
But..when i run the example code given in the wiki for creating 2d
pictures i get an error with cairo
Line37 of cairocanvas.py
stride=cairo.ImageSurface.format_stride_for_width (cairo.FORMAT_ARGB32,
AttributeError:type object 'cairo.ImageSurface' has no attribute
'format_stride_for_width'
I have tried this on two boxes running Ubuntu 9.04 and one using Fedora
8, and they all give the same error
format_stride_for_width is definately in Ciaro (currently v 1.8.8)
<http://cairographics.org/documentation/cairomm/reference/classCairo_1_1ImageSurface.html>
Oddly Ubuntu 9.04 uses the libcairo2 version is 1.8.6-1
Does anyone have any suggestions?
Chris