[MonoDevelop] gtksharp compile issues - Sysetm.Action and Gtk.Action

Michael Hutchinson m.j.hutchinson at gmail.com
Sun Nov 14 14:20:23 EST 2010


On Sun, Nov 14, 2010 at 1:37 PM,  <aurfalien at gmail.com> wrote:
> Hi all,
>
> As I go down the joyous checklist of getting monodevelop to work (a
> tedious endeavor which parallels root canal), I keep running into
> issues when trying to make gtk sharp 2.10.4 which I dl'd from here;
>
> http://ftp.novell.com/pub/mono/sources/gtk-sharp/
>
> The configure runs fine, but during make I get;
>
> ./DemoApplicationWindow.cs(159,25): error CS0104: `Action' is an
> ambiguous reference between `System.Action' and `Gtk.Action'
>
> and
>
> ./DemoUIManager.cs(135,25): error CS0104: `Action' is an ambiguous
> reference between `System.Action' and `Gtk.Action'
>
> and then the make fails.
>
> Any nuggets of kindness would be appreciated.

Why are you building GTK# 2.10.4 from source? MD depends on GTK#
2.12.8 or later (as described on
http://monodevelop.com/Developers/Building_MonoDevelop#Installing_dependencies)
and unless your distro is more than 3 years old, there are probably
packages available.

Also, I would guess that ambiguity was fixed in newer versions of
GTK#: http://ftp.novell.com/pub/mono/sources-stable/

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Monodevelop-list mailing list