[Gtk-sharp-list] Can mcs compile programs against gtk-sharp?
Michael Torrie
torriem@cs.byu.edu
06 Apr 2002 15:03:10 -0700
--=-CaYEfCv42WaklA7VyNdP
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
How about compiling a simple c# program against gtk-sharp? When I
compile, say HelloWorld.cs from the samples directory, I get:
[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
RESULT: 1
I do understand why gtk-sharp itself won't compile on mcs, but what
about this little sample program?
Michael
On Sat, 2002-04-06 at 13:34, Mike Kestner wrote:
> On Sat, 2002-04-06 at 12:02, Michael Torrie wrote:
>=20
> > Is this a limitation in the current state of the compiler? Can mcs eve=
n
> > do it on windows or is csc still required?
>=20
> Just tried it and mcs throws what looks to be the same NullRefException
> on the MS runtime/libs as what stops the linux build in gtk-sharp/glib.
> lupus, miguel, and dietmar have been fixing bugs in mcs, corlib, and the
> runtime as we uncover them. It's just going to take time to work our way
> through to the last layer of the onion.
> =20
> > Pretty good for vaporware. Looking good so far.
>=20
> Thanks.
>=20
> Mike
--=20
Public key available from http://students.cs.byu.edu/~torriem
--=-CaYEfCv42WaklA7VyNdP
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQA8r3Ce9bTmAa2MOJ8RAiRsAJ4hdrZG16MnqAz6393c+Xpmhi5MTACeKXja
QD0aemGSfebTa2K+bVVrygo=
=jtd4
-----END PGP SIGNATURE-----
--=-CaYEfCv42WaklA7VyNdP--