[Gtk-sharp-list] Fw: GTK# binaries for Windows

Joe Mozelesky jmozelesky@netcarrier.com
Sat, 16 Nov 2002 19:03:46 -0500


Ok, I did this and it compiled.  However, when I run it, I was getting
error messages about libraries not found:

* libatk-1.0-0.dll
* libgdk_pixbuf-2.0-0.dll
* cygwin1.dll

I copied the first two lib's from the files I downloaded via the Win32
listing on the Gtk+ website.

I don't have Cygwin installed on my laptop, but I do have it on my
desktop, so I booted into Win2k and copied it to my
C:\mono-0.16\install\lib folder.

It runs.  However...

It only compiles if I comment out the line assigning the event handler.
Otherwise I get this error:

GHelloWorld.cs(16) error CS0019: Operator + cannot be applied to
operands of type `GtkSharp.DeleteEventHandler' and `System.EventHandler'
Compilation failed: 1 error(s), 0 warnings

It is referring to this line:

win.DeleteEvent += new EventHandler (Window_Delete);

Thanks,

Joe


-----Original Message-----
From: Terry Massey (HOME) [mailto:tmassey@terrymassey.com] 
Sent: Saturday, November 16, 2002 10:48 AM
To: 'Joe Mozelesky'
Subject: RE: [Gtk-sharp-list] Fw: GTK# binaries for Windows
Importance: High

Yes you do you need some thing similar to this:
mcs -r glib-sharp.dll -r pango-sharp.dll -r atk-sharp.dll -r
gdk-sharp.dll -r gtk-sharp.dll -r System.Drawing  [#FILE#]
[#FILE#] being the c# file