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

Clemens Eisserer linuxhippy at gmail.com
Tue Jul 7 14:39:14 PDT 2009


Hi Joonas,

>> 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.
Well, I plan to link this version of cairo statically anyway and use
it for a very special purpose.
The functionality I need isn't supported by the public API, so no way
arround that ;)

> Maybe your config.h is missing HAVE_INTTYPES_H or config.h isn't being
> included.  Check that you define HAVE_CONFIG_H.
Ah, my error was I included <config.h> after the cairo's header files.

- Clemens


More information about the cairo mailing list