[Mono-dev] Cair.Context crash

Piotr Zurek p.zurek at gmail.com
Sun Mar 5 19:21:07 EST 2006


Hi guys,

I'm gettting a nasty crash when compiling the Cairo.Context example
from Monodoc:

Unhandled Exception: System.DllNotFoundException: libgdk-x11-2.0.so
in (wrapper managed-to-native) Gdk.Context:gdk_drawable_get_visual (intptr)
in [0x00043] (at /home/ubuntu/Projects/cairo_test_2/Main.cs:110)
Gdk.Context:CreateDrawable (Gdk.Drawable drawable)
in [0x00008] (at /home/ubuntu/Projects/cairo_test_2/Main.cs:70)
CairoGraphic:OnExposeEvent (Gdk.EventExpose args)
in [0x00014] (at
/tmp/scratch/BUILD/gtk-sharp-2.4.2/gtk/generated/Widget.cs:2421)
Gtk.Widget:exposeevent_cb (IntPtr widget, IntPtr evnt)
in (wrapper native-to-managed) Gtk.Widget:exposeevent_cb (intptr,intptr)
in <0x00000> <unknown method>
in (wrapper managed-to-native) Gtk.Application:gtk_main ()
in [0x00000] (at
/tmp/scratch/BUILD/gtk-sharp-2.4.2/gtk/Application.cs:99)
Gtk.Application:Run ()
in [0x0004a] (at /home/ubuntu/Projects/cairo_test_2/Main.cs:24) GtkCairo:Main ()

Any idea what I'm doing wrong? It is mono 1.1.13.4.
I also get something like that when compiling the CairoExample from
Gkt# samples.
I'd appreciate any help.

Cheers
piotr


More information about the Mono-devel-list mailing list