[cairo] Howto compile code accessing cairo's internal headers?
Clemens Eisserer
linuxhippy at gmail.com
Tue Jul 7 10:02:11 PDT 2009
Hello,
I am trying to create a program which has to access cairo's internal
data structures.
I try to pass a cairo_path_buf_t down to cairo I fill myself, and get
a list of trapezoids back with _cairo_path_fixed_fill_to_traps /
_cairo_path_fixed_stroke_to_traps.
However when I try to compile it, it fails with:
> ./cairo-wideint-type-private.h:65:2: error: #error Cannot find definitions for fixed-width integral types (uint8_t, uint32_t, etc.)
> ./cairo-fixed-type-private.h:68: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_fixed_unsigned_t’
Any idea what is wrong? I have inttypes.h in place, and also config.h
is reachable.
Thank you in advance, Clemens
More information about the cairo
mailing list