[MonoDevelop] cli.Gtk.Widget methods overrides static method

John Luke jluke@users.sourceforge.net
Sat, 10 Jul 2004 16:47:08 -0400


On Fri, 09 Jul 2004 09:02:44 -0500, Richard Hendershot
<rshendershot@mchsi.com> wrote:
> [Task:File=/usr/lib/monodevelop/bin/cli/Gtk/Widget.java, Line=-1,
> Column=-1, Type=Error, Description= error: non-static method
> 'cli.Gtk.Widget.get_Handle()' overrides static method
> 
> MonoDevelop 0.5, Mono 1.0, Fedora Core 2.
> 
> I don't understand the path referenced by the error  - something like
> ../../../../../usr/lib/monodevelop/bin/cli/GTK
> 
> I get three of these when compiling the templated IKVM gtk# generated
> project.  I've made no changes to the generated files.  I have created
> stubs for the four files outlined in the help and blog.  I symlinked
> them at /usr/lib to match the project configuration as it was generated.
> 
> application.class does get generated (using 'Compile F8'), but it still
> results in complaints for Widget.java and Window.java.
> 
> I'm thinking perhaps ikvmstub has a problem with static methods?
> 
>

It seems to be a problem with gcj, going to the project options and
switching the compiler to javac if you have it might help.  Otherwise
it might be a bug in the javabinding, because neither seem to work for
me right now.  I'll look into it soon hopefully.