[Gtk-sharp-list] gtk# on win32 depend on gnome
Wed, 21 Jul 2004 18:11:30 +0200
On ons, 2004-07-21 at 15:51 +0000, wrote:
> I writing an application using mono an linux
> I try to make a GUI, then i try to make it work under win32.
> In order to make it work i had to remove reference from the gnome-sharp dll .
> I install mono-1.0-gtksharp-1.0-win32-0.3.exe
> and SharpDevelop.
> So now it compiled well but it won't launch
> Here is what is telling me.
> Compat mode: the request from C:\PROGRA~1\Mono-1.0\lib\mono\gac\glib-sharp\1.0.0
> .0__35e10195dab3c99f\glib-sharp.dll to load System was remapped (http://www.go-m
> (<unknown>:1316): libglade-WARNING **: Could not load support for `gnome': The specified module could not be found.
> Cannot Open file.
> So my question are:
> What's wrong with my code?
> Since i remove the "Using Gnome;" and all the code he refered to, why is he asking me for it."
> Are they any way to get gnome-sharp on win32?
> I could not find any debugger on win32, i 'am right?
> Apperently Glade are not support yet under Win32.
> As an example you create a new glade project on linux using mono-develop.
> You will get in Main.cs
> Glade.XML gxml = new Glade.XML (null, "gui.glade", "window1", null);
> gxml.Autoconnect (this);
> Reopen it on win32 with SharpDev and compile.
> Evething is fine, but when you launch it.
> (<unknown>:2972): libglade-WARNING **: Could not load support for `gnome': The specified module could not be found.
> I really would like to make a GUI working on bath platform.
> So can i do?
> Thanks for any advice.
Just a guess, but look at the top of the glade file (gui.glade) you
trying to load and see if you have the following line there:
<requires lib="gnome" />
if it's there, remove the line and it should work.
Also, make sure you only use the standard gtk widgets in glade and not
any gnome specific ones.