I have the same problem.
I think, there are changes in cairo:

[EMAIL PROTECTED] cairo]$ grep -r cairo_get_dash_count *
doc/public/cairo-sections.txt:cairo_get_dash_count
doc/public/tmpl/cairo.sgml:<!-- ##### FUNCTION cairo_get_dash_count #####
-->
NEWS:   cairo_get_dash_count
src/cairo.c: * cairo_get_dash_count:
src/cairo.c:cairo_get_dash_count (cairo_t *cr)
src/cairo.c: * cairo_get_dash_count().
src/cairo.h:cairo_get_dash_count (cairo_t *cr);
test/get- and-set.c:    count = cairo_get_dash_count (cr);

and

http://lists.freedesktop.org/archives/cairo/2007-January/009213.html

Gonzalo Odiard


On 1/19/07, Marco Pesenti Gritti <[EMAIL PROTECTED]> wrote:

On Fri, 2007-01-19 at 12:44 -0300, Gonzalo Delgado wrote:
>  While building pycairo:
>
> pycairo-context.c: In function 'pycairo_get_dash':
> pycairo-context.c:353: error: too many arguments to function
> 'cairo_get_dash_count'
> pycairo-context.c:358: error: void value not ignored as it ought to be
> pycairo-context.c: In function 'pycairo_get_dash_count':
> pycairo-context.c:386: error: too many arguments to function
> 'cairo_get_dash_count'

It works for me. Have you built both cairo and pycairo?

Otherwise the lib64 issue might be hitting you. Verify which cairo.h are
you actually using here, and if the signature for this function is the
expected one (cairo_get_dash_count (cairo_t *cr, int *count);) there.

Marco

_______________________________________________
Sugar mailing list
[email protected]
http://mailman.laptop.org/mailman/listinfo/sugar

_______________________________________________
Sugar mailing list
[email protected]
http://mailman.laptop.org/mailman/listinfo/sugar

Reply via email to