On 25 June 2012 15:37, Mekong Leonidas molon.labe.ch@gmail.com wrote:
In file included from profile.c:12: display.h:25: error: expected declaration specifiers or ‘...’ before ‘cairo_rectangle_int_t’
Henri
hello, i think the error could be due to your version of cairo not having a type definition for the structure cairo_rectangle_int_t in cairo.h.
if you are using 1.10.x and there is the following definition in there: typedef struct _cairo_rectangle_int { int x, y; int width, height; } cairo_rectangle_int_t;
then perhaps it's something else. if you have an older version try updating with: sudo apt-get install libcairo2-dev
lubomir --