[MonoDevelop] Error trying to compile Monodevelop-0.1

John Luke jluke@users.sourceforge.net
Fri, 05 Mar 2004 13:02:12 -0500


It looks like you have an older Gtk# generator.  Perhaps you need to
install gtk-sharp-gapi (or similar) rpm for 0.17.  Also, make clean in
gtksourceview-sharp and monodevelop after doing so, so they will be
regenerated.

On Fri, 2004-03-05 at 12:37 -0300, A Rafael D Teixeira wrote:

> Somewhere in the build I get:
> 
> 
> mkdir ../../build/bin
> mcs --unsafe --target library \
> -r glib-sharp -r gtk-sharp -r gdk-sharp \
> --recurse '*.cs' -o gdl-sharp.dll \
> && cp gdl-sharp.dll ../../build/bin/.
> ./generated/DockBar.cs(18) error CS0246: Cannot find type `GLib.Type'
> ./generated/DockObject.cs(18) error CS0246: Cannot find type `GLib.Type'
> ./generated/Dock.cs(18) error CS0246: Cannot find type `GLib.Type'
> ./generated/DockItem.cs(18) error CS0246: Cannot find type `GLib.Type'
> ./generated/DockItemGrip.cs(18) error CS0246: Cannot find type
> `GLib.Type'
> ./generated/DockLayout.cs(18) error CS0246: Cannot find type `GLib.Type'
> ./generated/DockMaster.cs(18) error CS0246: Cannot find type `GLib.Type'
> ./generated/DockNotebook.cs(18) error CS0246: Cannot find type
> `GLib.Type'
> ./generated/DockPaned.cs(18) error CS0246: Cannot find type `GLib.Type'
> ./generated/DockPlaceholder.cs(18) error CS0246: Cannot find type
> `GLib.Type'
> ./generated/DockRequest.cs(12) warning CS0660: `Gdl.DockRequest' defines
> operator == or operator != but does not override Object.Equals (object
> o)
> ./generated/DockRequest.cs(12) warning CS0661: `Gdl.DockRequest' defines
> operator == or operator != but does not override Object.GetHashCode ()
> ./generated/DockTablabel.cs(18) error CS0246: Cannot find type
> `GLib.Type'
> Compilation failed: 11 error(s), 2 warnings
> make[2]: *** [gdl-sharp.dll] Error 1
> make[2]: Leaving directory
> `/home/rafael/instaladores/monodevelop-0.1/gdldock/gdl'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/home/rafael/instaladores/monodevelop-0.1/gdldock'
> make: *** [all-recursive] Error 1
> 
> 
> Well my gtk# sources have a GLib.GType but not a GLib.Type, Am I mixing
> things?
> 
> Situation: I've just installed GTK# 0.17 from RedCarpet on my RH9. Also
> could not compile succesfully gtksourceview-sharp from cvs (same errors,
> corrected them and then commented the single line in the Init method of
> GtkSourceView and tried to go further)
> 
> Thanks in advance,
> -- 
> Rafael "Monoman" Teixeira 
> Mono Hacker since 16 Jul 2001 - http://www.go-mono.org/
> Mono Brasil Founding Member - http://monobrasil.redesolbrasil.org/
> English Blog: http://monoblog.blogspot.com/
> Brazilian Portuguese Blog: http://monoblog.weblogger.terra.com.br/
> 
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list