[MonoDevelop] Build from SVN [was:Trying to build 0.5.1 - a bit closer...]

John BouAntoun jba-mono@optusnet.com.au
Sun, 21 Nov 2004 16:50:23 +1100


Hi guys,

I'm having this problem also.

My best guess is that mono/mcs from svn has changed recently so that now
it won't allow or doesn't like types from different versions of
gtk-sharp.

>From what I gather, MozillaControl is from gecko# which links against
Gtk-sharp 1.0, and Monodevelop links against Gtk-sharp 2.0. So
MozillaControl is apparently not a valid gtk-sharp 2 Gtk.Widget, even
though it is a valid gtk-sharp 1 Gtk.Widget.

mmarker said he was working on making gecko# link agains gtk-sharp 2, I
hope this is the fix to the problem, but am not sure, because I am still
unable to get it to work, and am pretty sure gecko# still links against
gtk-sharp 1.

JBA
On Sat, 2004-11-20 at 23:43 +0000, James Fitzsimons wrote:
> Hi all, getting closer...
> 
> On Sat, 2004-11-20 at 22:10, Brian Pickles wrote:
> > that don't compile. You probably need to change the reference to 
> > 'Mono.Posix.FilePermissions' to 'Mono.Posix.FileMode'. You will find 
> 
> Thanks Brian, that fixed it alright.
> 
> I managed to fix another problem by myself, but now I am stuck on the
> following error:
> 
> ./Gui/BrowserDisplayBinding/HtmlViewPane.cs(187) error CS1502: The best
> overloaded match for method 'void Gtk.VBox.PackStart (Gtk.Widget)' has
> some invalid arguments
> ./Gui/BrowserDisplayBinding/HtmlViewPane.cs(187) error CS1503: Argument
> 0: Cannot convert from 'MonoDevelop.Gui.HtmlControl.MozillaControl' to
> 'Gtk.Widget'
> ./Gui/BrowserDisplayBinding/HtmlViewPane.cs(187) error CS1501: No
> overload for method `PackStart' takes `1' arguments
> 
> Strange thing is, I looked at the same file in 0.5.1 and this code
> hasn't changed... Anyone know what the solution is?
> 
> Cheers,
> James Fitzsimons
>