[Mono-devel-list] Unable to compile monodoc

Todd Berman tberman at off.net
Thu Dec 9 13:53:05 EST 2004


On Thu, 2004-12-09 at 11:36 -0500, Joshua Tauberer wrote:
> Paul wrote:
> > Any ideas on why monodoc won't compile? I have a clean checkout of
> > monodoc and everything else compiles without a problem. I'm using the
> > development branch (but you all know that anyway ;-p)
> > 
> > ./browser.cs(185) error CS0030: Cannot convert type 'Gtk.Widget' to
> > 'Gtk.Window'
> > ./browser.cs(315) error CS1502: The best overloaded match for method
> > 'void Gtk.HTMLStream.Write (byte[], System.UIntPtr)' has some invalid
> > arguments
> > ./browser.cs(315) error CS1503: Argument 1: Cannot convert from 'int' to
> > 'System.UIntPtr'
> > ./browser.cs(315) error CS1501: No overload for method `Write' takes `2'
> > arguments
> 
> You might have an old/bad(/new?) installation of gtk-sharp laying around.
> 
> I have the gtk-sharp-1.0.4-1.ximian.8.1 RPM installed, and monodoc 
> compiles fine.
> 
> What version of gtk-sharp do you have, and are you sure you don't have 
> stray DLLs hanging around somewhere?
> 

That looks like you have gtk-sharp-2.0 installed, and for some reason
monodoc is attempting to compile against it. I am not sure if that
change was made in svn or not, but if it was, whoever made the change
needs to make sure to keep up with the gtk# 2.0 api changes.

--Todd



More information about the Mono-devel-list mailing list