[Gtk-sharp-list] Installing Gtk# on Windows

Christian Hoff christian_hoff at gmx.net
Wed Nov 19 13:52:57 EST 2008

Sending this to the list as well...

Alexy Khrabrov schrieb:
> Greetings -- I've followed instructions in
> http://www.mail-archive.com/gtk-sharp-list@lists.ximian.com/msg03569.html
> to build myself a ki'l gtk# 2.12.5 on Windows, it compiled.  However  
> "make install" fails.
> Where are you supposed to install the DLLs and how?  When I tried to  
> refer gtk-sharp.dll by path, it referred to fine (yay!), but when  
> running, said can't find gtkglue-2.dll.  I found that in gtk/.libs,  
> but VS wouldn't add it to the References!
First, what is the output of "make install"?
If you really can't run this command, copy all the glue files in
glib/glue/.libs, atk/glue/.libs, gdk/glue/.libs, gtk/glue/.libs into a
common directory and include it into the PATH(Windows XP: control
panel->System->Advanced->Environment variables->Path) and run "gacutil
/i .\glib\glib-sharp.dll", "gacutil /i .\atk\atk-sharp.dll", ... to
install all the assemblies into the global assembly cache. You might
need a restart for the PATH change to take effect.
> One my urge was to just do
> find /path/to/gtk/build -name "*.dll" -exec gacutil -i {} \;
> -- but then there're all these .config files and whatnot.  Moreover,  
> it didn't work with the .NET 1.1 gacutil used for building!  
That cannot be.... Did you really use CSC 1.1?
> So I went ahead and installed .NET 3.5.  Should I do the above?  Why  
> can't we use the same latest .NET in the build?
You might be able to build the libs with 3.5 as well, but I wouldn't
recommend it. The reason why we didn't switch to .net 2 or 3 is simply
because we don't need it and want to maintain compatibility with the 1.1
> Cheers,
> Alexy
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

More information about the Gtk-sharp-list mailing list