[cairo] Howto compile code accessing cairo's internal headers?

M Joonas Pihlaja jpihlaja at cc.helsinki.fi
Tue Jul 7 14:09:10 PDT 2009


On Tue, 7 Jul 2009, Clemens Eisserer wrote:

> I am trying to create a program which has to access cairo's internal
> data structures.

ObWarning: This sounds like a really bad idea to me.

> 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.)

> Any idea what is wrong? I have inttypes.h in place, and also config.h
> is reachable.

Maybe your config.h is missing HAVE_INTTYPES_H or config.h isn't being 
included.  Check that you define HAVE_CONFIG_H.

Joonas


More information about the cairo mailing list