[Gtk-sharp-list] Mono/Gtk# 1.0 on Windows (optional : glade)
Tue, 03 Aug 2004 16:05:25 +0100
i'm new in the dotnet world and i'm testing mono to see how wonderful it is.
My goal is to write an application that will run under Windows and Linux
So, i would like to use gtk# with mono 1.0 but i don't find any suitable
I'm under Windows (sorry sorry, i'm at work).
The official mono distribution
doesn't containt the gtk librairies: gtk-sharp.dll...
On the gtk# web site
there's only binaries for* version 0.93, gtk# 1.0 is said to be included
within mono 1.0:
which seems to link to a combined installation...
but the web site doesn't respond...
So for the moment i'm using gtk# 0.93 with mono 1.0 and that seems to
work... with visual studio.
I compile the helloworld example :
with visual studio (so with .net compiler) it work and i can launch the
application with the debugger.
But when i launch it anywhere else i get :
(<unknown>:6852): Gtk-CRITICAL **: file gtkwindow.c: line 1021
itle): assertion `GTK_IS_WINDOW (window)' failed
If i try to compile it with mcs (mono compiler):
C:\Documents and Settings\gs5589\Desktop\home\Project\Photonizer>mcs
error CS0006: Cannot find assembly `/usr/lib/mono/gtk-sharp/glib-sharp.dll'
error CS0006: Cannot find assembly `/usr/lib/mono/gtk-sharp/pango-sharp.dll'
error CS0006: Cannot find assembly `/usr/lib/mono/gtk-sharp/atk-sharp.dll'
error CS0006: Cannot find assembly `/usr/lib/mono/gtk-sharp/gdk-sharp.dll'
error CS0006: Cannot find assembly `/usr/lib/mono/gtk-sharp/gtk-sharp.dll'
Compilation failed: 5 error(s), 0 warnings
it's normal, i'm under windows => where i can change that?
Last question : does anyone know how to use glade (i have a win32 port)
Gaetan -- http://www.xeberon.net/gaetan/