Re: [LAD] ganv build error: error: ISO C++ forbids declaration of ‘cairo_region_t’ with no type

From: David Robillard <d@email-addr-hidden>
Date: Mon Jan 09 2012 - 17:23:33 EET

On Fri, 2012-01-06 at 22:30 -0200, Diego Simak wrote:
> Hi all, I don't really know if this email should be directed to LAD,
> or LAU or just Drobilla devs... anyway:
>
> I'm trying to build Ingen from SVN using all LV2 files (packages,
> extensions, tools, etc.) from SVN as well.
> During ganv build stage I'm getting this error:
>
> /home/diego/Desktop/ingen/drobilla-lad/ganv/ganv/canvas-base.h:259:2:
> error: ISO C++ forbids declaration of ‘cairo_region_t’ with no type
> /home/diego/Desktop/ingen/drobilla-lad/ganv/ganv/canvas-base.h:259:16:
> error: expected ‘;’ before ‘*’ token
>
> .....and the build just fails.
>
> I know that there's a ticket 792 [1] opened about this issue but I
> would like to know if there is some simple solution to solve this
> error.
> I'm on Ubuntu 10.04 with libcairo2-1.8.10.

Please do not use this list for tech support (that is what the ticket is
for!)

The problem was that your old version of cairo does not have
cairo_region_t. Fixed in r3926[1].

-dr

[1] http://dev.drobilla.net/changeset/3926

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Mon Jan 9 20:15:01 2012

This archive was generated by hypermail 2.1.8 : Mon Jan 09 2012 - 20:15:01 EET