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

David Robillard d at drobilla.net
Mon Jan 9 15:23:33 UTC 2012


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




More information about the Linux-audio-dev mailing list