[Gtk-sharp-list] Mono/Gtk# 1.0 on Windows (optional : glade)

gaetan@xeberon.net gaetan@xeberon.net
Thu, 05 Aug 2004 09:47:13 +0100


yes thanks

but i still have one problem : in the VS debugger it works, but when i
launch it standalone it crash...

Great A'Tan

Jorge de Jesús Ramírez Sánchez wrote:

>How do you install mono?
>
>It's trying to find the libraries from "/usr/lib"... thats for Linux....
>
>download Mono 1.0 from
>http://forge.novell.com/modules/xfmod/project/showfiles.php?group_id=1395&release_id=1905
>
>Download mono-1.0-gtksharp-1.0-win32-0.4.exe , this file contains mono and gtk#
>
>And for Glade you can use: http://gladewin32.sourceforge.net/
>
>On Tue, 03 Aug 2004 16:05:25 +0100, gaetan.semet@free.fr
><gaetan.semet@free.fr> wrote:
>  
>
>>Hello there
>>
>>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
>>as well...
>>
>>So, i would like to use gtk# with mono 1.0 but i don't find any suitable
>>Windows installation.
>>I'm under Windows (sorry sorry, i'm at work).
>>
>>The official mono distribution
>>http://mono2.ximian.com/archive/1.0/windows/mono-1.0-win32-1.exe
>>doesn't containt the gtk librairies: gtk-sharp.dll...
>>On the gtk# web site
>>http://gtk-sharp.sourceforge.net/index.html
>>there's only binaries for* version 0.93, gtk# 1.0 is said to be included
>>within mono 1.0:
>>http://www.mono-project.com/using/gtk-sharp.html
>>
>>*I've found
>>http://www.osnews.com/comment.php?news_id=7760
>>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 :
>>http://www.go-mono.com/docs/monodoc.ashx?link=source-id%3a7%3axhtml%3ahtml%2fen%2fgnome%2fbindings%2fgtk-sharp%2fgetstart.html
>>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
>>(gtk_window_set_t
>>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
>>-pkg:gtk-sh
>>arp MainForm.cs
>>error CS0006: Cannot find assembly `/usr/lib/mono/gtk-sharp/glib-sharp.dll'
>>Log:
>>
>>error CS0006: Cannot find assembly `/usr/lib/mono/gtk-sharp/pango-sharp.dll'
>>Log:
>>
>>error CS0006: Cannot find assembly `/usr/lib/mono/gtk-sharp/atk-sharp.dll'
>>Log:
>>
>>error CS0006: Cannot find assembly `/usr/lib/mono/gtk-sharp/gdk-sharp.dll'
>>Log:
>>
>>error CS0006: Cannot find assembly `/usr/lib/mono/gtk-sharp/gtk-sharp.dll'
>>Log:
>>
>>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)
>>with .net?
>>
>>Thanks all
>>
>>Gaetan -- http://www.xeberon.net/gaetan/
>>_______________________________________________
>>Gtk-sharp-list maillist  -  Gtk-sharp-list@lists.ximian.com
>>http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
>>
>>    
>>
>
>
>  
>