Problems to compile Subsurface under Ubuntu 10.04 LTS

Lubomir I. Ivanov neolit123 at gmail.com
Mon Jun 25 18:44:38 UTC 2012


On 25 June 2012 15:37, Mekong Leonidas <molon.labe.ch at 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
--




More information about the Devel mailing list