[Gtk-sharp-list] Make Gtk# come with program

IBBoard Webmaster at ibboard.co.uk
Tue Feb 21 07:59:04 EST 2006


I've been hunting high and low on the Net for how to package GTK# with 
an application (it's a University Final Year Project - I'm trying to 
make it cross-platform compatible with just the requirement of a .Net 
framework installed).

I'm currently working in Windows, but a detailed tutorial (or a URL to 
one) describing how to do it on Linux would be great as well. The 
furthest I've managed to get is a gtksharpglue-2 DLL is missing, even 
though it's in the same directory and putting the DLL in the same 
directory fixed it before on the test machine (which does have GTK# 
installed from the Novell package.

The error, caught by an App Domain Unhandle Exception is:

Gtk.Container threw DllNotFoundException: Unable to load DLL 
at Gtk.Container.gtksharp_gtk_container_get_focus_child_offset()
at Gtk.Container..cctor()

(Caused by Glade.XML.Autoconnect())

And before that it now says:

The procedure entry point g_return_if_fail_warning could not be located 
in the dynamic link library libglib-2.0-0.dll


I'm slightly confused, but hopefully someone can help :)


More information about the Gtk-sharp-list mailing list