[Gtk-sharp-list] Can mcs compile programs against gtk-sharp?

Mike Kestner mkestner@speakeasy.net
07 Apr 2002 00:07:51 -0600

On Sat, 2002-04-06 at 16:03, Michael Torrie wrote:
> [samples]$ mcs --unsafe -r gdk-sharp.dll -r glib-sharp.dll -r gtk-sharp
> HelloWorld.cs
> group : 0
> ./HelloWorld.cs(22) error CS0117: `Gtk.Window' does not contain a
> definition for `DeleteEvent'
> Error: Compilation failed
> I do understand why gtk-sharp itself won't compile on mcs, but what
> about this little sample program?

I have not tried the compilation you describe above. I am currently
trying to keep bugzilla stocked with the current bug which stops "make
linux" for Gtk#, and linux execution of win32 built sample programs. The
bug you are describing will eventually hit my radar screen using this
approach, I guess, once the binding compiles and the linux build moves
on to the samples.  

If you want to report this as a bug, the best approach is to try to
build it on win32 using mcs with the MS corlib/runtime as well as on
linux, to help isolate whether it is a compiler problem, or a problem in
the corlib/runtime.  Then use bugzilla to report it against the
appropriate module.