[Gtk-sharp-list] Error when compiling CairoSample.cs from svn

Antonio Martínez Alvarez amartinez at atc.ugr.es
Tue May 31 04:13:00 EDT 2005


Hello!

I've just downloaded the last svn version of gtk-sharp by:
$ svn co svn://svn.myrealbox.com/source/gtk-sharp

then i'm trying to compiling sample/CairoSample.cs without compiling.
mcs -pkg:gtk-sharp-2.0 -r:Mono.Cairo CairoSample.cs GtkCairo.cs

when running it this is what happens:

Unhandled Exception: System.DllNotFoundException: libgdk-win32-2.0-0.dll
in (wrapper managed-to-native)
GtkCairo:gdk_window_get_internal_paint_info (intptr,intptr&,int&,int&)
in <0x00050> GtkCairo:GraphicsFromWindow (Gdk.Window window,
System.Int32 offset_x, System.Int32 offset_y)
in <0x0009a> X:CirclesExposeHandler (System.Object obj,
Gtk.ExposeEventArgs args)
in (wrapper delegate-invoke)
System.MulticastDelegate:invoke_void_object_ExposeEventArgs
(object,Gtk.ExposeEventArgs)
in <0x0013b> Gtk.Widget:ExposeEventSignalCallback (IntPtr arg0, IntPtr
arg1, IntPtr gch)
in (wrapper native-to-managed) Gtk.Widget:ExposeEventSignalCallback
(intptr,intptr,intptr)
in <0x00000> <unknown method>
in (wrapper managed-to-native) Gtk.Application:gtk_main ()
in <0x00007> Gtk.Application:Run ()
in <0x00194> X:Main ()

This is my system:
Debian Sid, with mono 1.1.6 and gtk-sharp 1.9.5 (from
http://debian.meebey.net/pkg-mono/).

Any idea?

--
Antonio Martínez




More information about the Gtk-sharp-list mailing list