[Gtk-sharp-list] Compiling GTK# under windows 2000

Carsten Bock carsten@cbclass.net
Sun, 22 Dec 2002 19:00:59 +0100

>>I generate the code compiling the generator, but all the generated classes
>>use "gtk-x11-2.0" (and the win version is "gtk-win32-2.0").
>>And more: How do I compile all .cs files into libraries that I can use into
>>Gtk# projects?
>>I need simple steps for this.
> make -f makefile.win32

Does this work, when you want to use GTK# under Windows? I tested it 
with GTK# 0.6 and the current cvs version, but when i run e.g.
monomono gtk-hello-world.exe
i'll get
** (gtk-hello-world.exe:604): WARNING **: Failed to load library 
so.dll (libgtk-x11-2.0.so): Das angegebene Modul wurde nicht gefunden.
(Module not found)

I haven't looked at the source of the latest cvs code, but a few days 
ago "mapdllnames.pl" didn't changed all lib names to win32 names

(from gtk/TextView.custom)

[DllImport ("gtk-x11-2.0")]
(Space betwwen "DllImport" and "(" )

When i fix this, an run e.g. "mono gtk-hello-world.exe", it still wants 
the gtk-x11-2.0 lib (although i couldn't find a reference to this lib in 

I use mono-0.17.

BTW: Will/does the glade lib/support work under Win32? (I'm still amazed 
how easy it is to use with mono/Gtk#, great work)