[Gtk-sharp-list] Problem building latest GTK# with CSC

Eric Butler eric at extremeboredom.net
Mon Jan 2 14:48:27 EST 2006


Hey Mike,

I'm trying to build GTK# 2.7.90 on windows using .NET/csc v1.1, and I
am getting the following error:

generated\FileChooserButton.cs(662,12): error CS0030: Cannot convert type
        'GLib.Value' to 'Gtk.FileChooserConfirmation'
generated\FileChooserDialog.cs(583,12): error CS0030: Cannot convert type
        'GLib.Value' to 'Gtk.FileChooserConfirmation'
generated\FileChooserWidget.cs(602,12): error CS0030: Cannot convert type
        'GLib.Value' to 'Gtk.FileChooserConfirmation'

This same code does build on mcs (win/lin)... it appears to be an
incompatability with microsoft's compiler? It looks like the generated
code is trying to cast a struct to an enum.

What to do! :)

Thanks,
- Eric


More information about the Gtk-sharp-list mailing list