[Mono-list] GTK#/Windows

Serge serge@wildwestsoftware.com
Wed, 17 Jul 2002 18:14:56 +0300


> I, too, tried to do this a while back. I got as far as having everything
> build, but when I tried to run the binaries, it said it couldn't find
> libgtkglue. How did you manage to work around that?

I just used pre-built GTK+2.0 DLLs from Tor Lillqvist's site
(http://www.gimp.org/~tml/gimp/win32/downloads.html)
and changed all DLLImport names to match those binaries:

s/gdk-x11-2.0/libgdk-win32-2.0-0.dll/g
s/gtk-x11-2.0/libgtk-win32-2.0-0.dll/g
s/gdk_pixbuf-2.0/libgdk_pixbuf-2.0-0.dll/g
s/pango-1.0/libpango-1.0-0.dll/g
s/atk-1.0/libatk-1.0-0.dll/g

I ran into some pixbuff problems when executing your ImageBrowser/Viewer demo,
but removing loaders from the path, I can get it running with lots of warnings and without graphics :-)
(See second screenshot).

There is a couple of screenshots:
http://mono.eurosoft.od.ua/files/Gtksharp-1.jpg
http://mono.eurosoft.od.ua/files/Gtksharp-2.jpg


Sergey


----- Original Message ----- 
From: "Duncan Mak" <duncan@ximian.com>
To: "Serge" <serge@wildwestsoftware.com>
Cc: "Mono mailing list" <mono-list@ximian.com>
Sent: Wednesday, July 17, 2002 4:03 PM
Subject: Re: [Mono-list] GTK#/Windows


> On Wed, 2002-07-17 at 20:51, Serge wrote:
> > Out of curiosity I've just built GTK# on windows, replacing hardcoded
> > library names with those of Win32 GTK+ DLLs available from
> > http://www.gimp.org/~tml/gimp/win32/ and all included samples (Button,
> > Menu, Hello-World) work just fine.
> 
> Wow, this is great news.
> 
> I, too, tried to do this a while back. I got as far as having everything
> build, but when I tried to run the binaries, it said it couldn't find
> libgtkglue. How did you manage to work around that?
> 
> -- 
> Duncan Mak <duncan@ximian.com>
>