Reply To: MonoBrick Remote on Mac

HomeForumsMonoBrick Communication LibraryMonoBrick Remote on MacReply To: MonoBrick Remote on Mac

#5198
Author Image
Michal Grabinski
Participant

When i try tu run sample hello Mono program compiled with gtk

mono helloGTK.exe

Unhandled Exception:
System.TypeInitializationException: An exception was thrown by the type initializer for Gtk.Container —> System.DllNotFoundException: gtksharpglue-2
at (wrapper managed-to-native) Gtk.Container:gtksharp_gtk_container_get_focus_child_offset ()
at Gtk.Container..cctor () [0x00000] in <filename unknown>:0
— End of inner exception stack trace —
at Gtk.Bin..ctor (IntPtr raw) [0x00000] in <filename unknown>:0
at Gtk.Window..ctor (WindowType type) [0x00000] in <filename unknown>:0
at Gtk.Window..ctor (System.String title) [0x00000] in <filename unknown>:0
at Hello.Main () [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An exception was thrown by the type initializer for Gtk.Container —> System.DllNotFoundException: gtksharpglue-2
at (wrapper managed-to-native) Gtk.Container:gtksharp_gtk_container_get_focus_child_offset ()
at Gtk.Container..cctor () [0x00000] in <filename unknown>:0
— End of inner exception stack trace —
at Gtk.Bin..ctor (IntPtr raw) [0x00000] in <filename unknown>:0
at Gtk.Window..ctor (WindowType type) [0x00000] in <filename unknown>:0
at Gtk.Window..ctor (System.String title) [0x00000] in <filename unknown>:0
at Hello.Main () [0x00000] in <filename unknown>:0

So I think it is something wrong with GTK but I don’t know how to fix this

Posted in

Make a donation