[cairo] Compile Errors

David Reveman c99drn at cs.umu.se
Mon Sep 6 16:04:31 PDT 2004


On Mon, 2004-09-06 at 00:58 -0400, David P. Donahue wrote:
> Please forgive any ignorance I may have on the subject, but I just
> downloaded Cairo and its dependencies, built the required dependencies
> just fine, but get the following errors when I attempt to build Cairo:
> 
> ----------BEGIN PASTE----------
> cairo_gl_surface.c: In function `_cairo_gl_surface_get_image':
> cairo_gl_surface.c:133: error: structure has no member named `bpp'
> cairo_gl_surface.c:140: error: structure has no member named `bpp'
> cairo_gl_surface.c:141: error: structure has no member named `red_mask'
> cairo_gl_surface.c:142: error: structure has no member named
> `green_mask'
> cairo_gl_surface.c:143: error: structure has no member named `blue_mask'
> cairo_gl_surface.c:144: error: structure has no member named
> `alpha_mask'
> cairo_gl_surface.c: In function `_cairo_gl_surface_create_similar':
> cairo_gl_surface.c:326: error: incompatible type for argument 2 of
> `glitz_surface_create_similar'
> cairo_gl_surface.c: In function `_cairo_gl_surface_create_pattern':
> cairo_gl_surface.c:680: error: `glitz_distance_fixed_t' undeclared
> (first use in this function)
> cairo_gl_surface.c:680: error: (Each undeclared identifier is reported
> only once
> cairo_gl_surface.c:680: error: for each function it appears in.)
> cairo_gl_surface.c:680: error: parse error before "radius"
> cairo_gl_surface.c:686: error: `radius' undeclared (first use in this
> function)
> cairo_gl_surface.c:692: warning: passing arg 3 of
> `glitz_surface_create_radial' makes integer from pointer without a cast
> cairo_gl_surface.c:692: error: too few arguments to function
> `glitz_surface_create_radial'
> make[2]: *** [cairo_gl_surface.lo] Error 1
> make[2]: Leaving directory `/usr/src/cairo-0.1.22/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/cairo-0.1.22'
> make: *** [all] Error 2
> -----------END PASTE-----------
> 
> Any ideas on what I should do?  If it's of any use, I'm attempting to
> build Cairo for use of the System.Drawing libraries in Mono.  Also, I'm
> running a fresh and full install of Slackware 10.0.

The current CVS version of glitz doesn't work with cairo. I'm working on
a new
glitz backend for cairo and it should be ready in a few days. Sorry =(
 
-David




More information about the cairo mailing list