[Gtk-sharp-list] gtk# 0.93 windows installer
Fri, 11 Jun 2004 13:39:17 -0400
On Fri, 2004-06-11 at 10:44 +0200, Antonio Martinez Alvarez wrote:
> Congratulations to you!
> I have experience in Gtk# and Mono over Linux.
> I was just expecting for this release of Gtk# for win32 (because at work
> we use both Windows and Linux).
> Till now I've been using mono and Gtk# installers over Windows platforms
> without any problems. mono-0.31 nd gtk# 0.18. These installer let my
> system ready to compile and execute my gtk# programs.
> Now I see I must install separately Gtk+, I've been trying this, but
> don't know how...
> Can you explain to me step by step what I have to do? These are my steps:
> 1.- Deinstall mono-0.31 and gtk# 0.18
> 2.- Install gtk+-2.2.4-20040124-setup.exe.exe from the site you posted
> 3.- Install mono-beta2 in c:\app\mono-beta2
> 4.- Install gtk# in c:\app\mono-beta2\gtk#
> Must I add any new path to windows?
> The first thing I noted is thar mcs don't find the assemblies gtk-sharp
> etc... so I just copied then from gtk# to c:\app\mono-beta2\lib ...
> although I believe this is not the way.
> Then, I can compile without problems ... but I'm not able to execute my
> programs ... I obtain this error:
> Unhandled Exception: System.DllNotFoundException: libgtk-win32-2.0-0.dll
> in <0x00050> (wrapper managed-to-native) Gtk.Application:gtk_init
> in <0x00027> Gtk.Application:Init ()
> in <0x008a3> Malla:Main (string)
> What can I do ? Can yoy help me ?
I believe I had to reboot after installing GTK+, for it to recognize
that it was installed. To work with mono you will want to add the *-
sharp.dll assemblies to the mono gac, something like this maybe:
gacutil /i gtk-sharp.dll /f /package gtk-sharp /gacdir $(prefix)/lib/
Once again I must stress that I did not test this with mono, only .NET