[Gtk-sharp-list] Mono.Cairo circles example

Paul F. Johnson paul at all-the-johnsons.co.uk
Thu Mar 9 12:04:40 EST 2006


> > I'm having problems to run the Mono.Cairo Gtk circles example:
> > http://svn.myrealbox.com/source/trunk/mcs/class/Mono.Cairo/Samples/gtk/circles.cs

> That was written for an older cairo version. A new version is:
> http://svn.myrealbox.com/source/trunk/mcs/class/Mono.Cairo/Samples/png/knockout.cs
> which only needs to be copied into a gtk sample instead of a png one if  
> anyone is interested.

Not sure if this is down to my set up, but for the original one, I used
the command

mcs cairocircles.cs -pkg:gtk-sharp-2.0 -r:Mono.Cairo -r:gdk-sharp

And it would just not compile (could not find assembley gdk-sharp). Have
I used the correct assembly name? On
checking /usr/lib/mono/gac/gdk-sharp, I've found directories listed for
2.0, 2.4, 2.6 and 2.8 (which I'll guess is to with the version of
gtk-sharp built). Could this be causing the upset or am I just having a
blonde day?


"Logic, my dear Zoe, is merely the ability to be wrong with authority" -
Dr Who

More information about the Gtk-sharp-list mailing list