[Mono-list] problem in windows XP

Jonathan Pryor jonpryor@vt.edu
Mon, 02 Aug 2004 07:39:54 -0400


On Sat, 2004-07-17 at 14:04, caner =?UNKNOWN?Q?=FEahan?= wrote:
> Hi;
> I write a program with mono using gtk library.It is running on linux
> but i give this application to windows it gives error>>>"no find
> gtk-sharp library" how can i load this library to framework.?
> thanks for helps.

You need to:
  1. copy the Gtk# DLLs (atk-sharp.dll, gdk-sharp.dll, glib-sharp.dll
     gtk-sharp.dll, pango-sharp.dll) into your application's directory
  - OR -
  2. Place the Gtk# DLLs into the .NET GAC.

I'm not sure (2) is currently possible, so (1) is recommended (IIRC
there are some problems with installing Mono-generated & signed
assemblies into the .NET GAC).

In addition, you need to make sure that the GTK+ libraries are
installed, as Gtk# wraps the GTK+ libraries.

To install GTK+, see: http://www.gimp.org/~tml/gimp/win32/downloads.html

Alternatively, you can use an installer which provides Mono 1.0, Gtk#
1.0, and GTK+ 2.24 at:
http://forge.novell.com/modules/xfmod/project/showfiles.php?group_id=1395&release_id=1945#selected

 - Jon