Problems to compile Subsurface under Ubuntu 10.04 LTS

Lubomir I. Ivanov neolit123 at
Mon Jun 25 11:44:38 PDT 2012

On 25 June 2012 15:37, Mekong Leonidas < at> wrote:
> In file included from profile.c:12:
> display.h:25: error: expected declaration specifiers or ‘...’ before
> ‘cairo_rectangle_int_t’
> Henri

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


More information about the subsurface mailing list