[Gtk-sharp-list] gtk# 0.2.1 doesn't compile

Antonio Martínez Álvarez pascal@eresmas.net
26 Jun 2002 00:41:35 +0200


Hello.

I have compiled the mono-15-Jun-02 snap of mono, and have downloaded
gtk# 0.2.1. mcs works fine! But when I try to compile gtk# (even the
gtk# which comes from the mono snap) I obtain:

Note: The last snap (mono-24-Jun-02) doesn't work, when I installed it,
mcs says:

  Corlib not in sync with this runtime: field `interfaces' mismatch in
class TypeBuilder (28 != 24) ???

Then I uninstalled this, and installed mono-15-Jun-02, which gives it to
me:

make[1]: Saliendo directorio
`/home/amartinez/gtk-sharp/gtk-sharp-0.2.1/generator'
make[1]: Cambiando a directorio
`/home/amartinez/gtk-sharp/gtk-sharp-0.2.1/glib'
mcs --unsafe --target library -o glib-sharp.dll --recurse '*.cs'
RESULT: 0
make[1]: Saliendo directorio
`/home/amartinez/gtk-sharp/gtk-sharp-0.2.1/glib'
make[1]: Cambiando a directorio
`/home/amartinez/gtk-sharp/gtk-sharp-0.2.1/pango'
mcs --unsafe --target library -L ../glib -r glib-sharp -o
pango-sharp.dll --recurse '*.cs'
./generated/FontDescription.cs(137) warning CS0114:
`Pango.FontDescription.ToString' hides inherited member
`Object.ToString'.  To make the current member override that
implementation, add the override keyword, otherwise use the new keyword
RESULT: 0
make[1]: Saliendo directorio
`/home/amartinez/gtk-sharp/gtk-sharp-0.2.1/pango'
make[1]: Cambiando a directorio
`/home/amartinez/gtk-sharp/gtk-sharp-0.2.1/atk'
mcs --unsafe --target library -L ../glib -L ../pango -r glib-sharp -r
pango-sharp -o atk-sharp.dll --recurse '*.cs'
./generated/Action.cs(8) error CS0246: Can not find type `GLib.IWrapper'
./generated/Component.cs(8) error CS0246: Can not find type
`GLib.IWrapper'
./generated/Document.cs(8) error CS0246: Can not find type
`GLib.IWrapper'
./generated/EditableText.cs(8) error CS0246: Can not find type
`GLib.IWrapper'
./generated/Hypertext.cs(8) error CS0246: Can not find type
`GLib.IWrapper'
./generated/Image.cs(8) error CS0246: Can not find type `GLib.IWrapper'
./generated/Implementor.cs(8) error CS0246: Can not find type
`GLib.IWrapper'
./generated/Selection.cs(8) error CS0246: Can not find type
`GLib.IWrapper'
./generated/StreamableContent.cs(8) error CS0246: Can not find type
`GLib.IWrapper'
./generated/Table.cs(8) error CS0246: Can not find type `GLib.IWrapper'
./generated/Text.cs(8) error CS0246: Can not find type `GLib.IWrapper'
./generated/Value.cs(8) error CS0246: Can not find type `GLib.IWrapper'
error CS0146: Class definition is circular: `Atk.Action'
error CS0146: Class definition is circular: `Atk.Component'
Error: Compilation failed
RESULT: 1


Thank you.

--
Antonio Martínez