[Mono-list] Problems compiling CairoSample.cs on Windows with the latest

Jordi Mas jordi at ximian.com
Sun Oct 2 06:16:31 EDT 2005

> and I get the following errors
> CairoSample.cs(38,6): error CS0117: `Cairo.Graphics' does not contain a definiti
> on for `SetRGBColor'
> CairoSample.cs(57,10): warning CS0219: The variable `p' is assigned but its valu
> e is never used
> CairoSample.cs(112,5): error CS0117: `Cairo.Graphics' does not contain a definit
> ion for `SetRGBColor'
> CairoSample.cs(113,5): error CS0117: `Cairo.Graphics' does not contain a definit
> ion for `Alpha'
> Compilation failed: 3 error(s), 1 warnings

The problem is that Mono.Cairo bindings have been updated to support
Cairo 1.0 and some of the names of the bindings have changed to reflect
the changes on the Cairo API. This sample has to be reviewed and
updated. Please, fell free to fill a bug at http://bugzilla.ximian.com.


Jordi Mas i Hernàndez - Mono development team - http://www.mono-project.com
Homepage and LiveJournal at http://www.softcatala.org/~jmas

More information about the Mono-list mailing list