MonoDevelop: Cannot convert from `Gtk.IconTheme' to `Gtk.IconTheme'
I've been trying to compile MonoDevelop from svn for several days (weeks?) and keep getting the following error: Making all in MonoDevelop.Gui.Utils make[3]: Entering directory `/download/org/go-mono/MonoDevelop/Core/src/MonoDevelop.Gui.Utils' /home/hattons/opt/org/go-mono/bin/mcs -langversion:ISO-1 -out:../../../build/bin/MonoDevelop.Gui.Utils.dll /target:library /r:System.Drawing /r:ICSharpCode.SharpZipLib -r:/home/hattons/opt/org/go-mono/lib/mono/gtk-sharp-2.0/glib-sharp.dll -r:/home/hattons/opt/org/go-mono/lib/mono/gtk-sharp-2.0/pango-sharp.dll -r:/home/hattons/opt/org/go-mono/lib/mono/gtk-sharp-2.0/atk-sharp.dll -r:/home/hattons/opt/org/go-mono/lib/mono/gtk-sharp-2.0/gdk-sharp.dll -r:/home/hattons/opt/org/go-mono/lib/mono/gtk-sharp-2.0/gtk-sharp.dll -r:/home/hattons/opt/org/go-mono/lib/mono/gtk-sharp-2.0/glib-sharp.dll -r:/home/hattons/opt/org/go-mono/lib/mono/gtk-sharp-2.0/pango-sharp.dll -r:/home/hattons/opt/org/go-mono/lib/mono/gtk-sharp-2.0/atk-sharp.dll -r:/home/hattons/opt/org/go-mono/lib/mono/gtk-sharp-2.0/gdk-sharp.dll -r:/home/hattons/opt/org/go-mono/lib/mono/gtk-sharp-2.0/gtk-sharp.dll -r:/home/hattons/opt/org/go-mono/lib/mono/gtk-sharp-2.0/art-sharp.dll -r:/usr/lib/mono/gtk-sharp-2.0/gnome-sharp.dll /resource:icons/gnome-fs-regular.png\ ./FileIcons/FileIconLoader.cs\ ./ReportingStream/ReportingStream.cs\ ./DirectoryArchive/Decompressor.cs\ ./DirectoryArchive/TarDecompressor.cs\ ./DirectoryArchive/ZipDecompressor.cs\ ./DirectoryArchive/Bz2Support.cs\ ./DirectoryArchive/GzSupport.cs AssemblyInfo.cs ./FileIcons/FileIconLoader.cs(41,24): error CS1502: The best overloaded method match for `Gnome.Icon.LookupSync(Gtk.IconTheme, Gnome.ThumbnailFactory, string, string, Gnome.IconLookupFlags, out Gnome.IconLookupResultFlags)' has some invalid arguments ./FileIcons/FileIconLoader.cs(41,24): error CS1503: Argument 1: Cannot convert from `Gtk.IconTheme' to `Gtk.IconTheme' Compilation failed: 2 error(s), 0 warnings make[3]: *** [../../../build/bin/MonoDevelop.Gui.Utils.dll] Error 1 make[3]: Leaving directory `/download/org/go-mono/MonoDevelop/Core/src/MonoDevelop.Gui.Utils' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/download/org/go-mono/MonoDevelop/Core/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/download/org/go-mono/MonoDevelop/Core' make: *** [all-recursive] Error 1 I'm not sure if the problem is related to the `-r:/usr/lib/mono/gtk-sharp-2.0/gnome-sharp.dll' argument or not. For some reason, I have not been able to persuade the gtk-sharp build to install gnome-sharp.dll when I do a `make install'. Does anybody have this building on their system? -- Regards, Steven
It certainly looks like you downloaded the Windows version.
Here is the URL for SuSE Professional 9.3.
http://www.go-mono.com/download/suse-93-i586/
On Sat, 20 Aug 2005 01:36:29 -0400
"Steven T. Hatton"
I've been trying to compile MonoDevelop from svn for several days (weeks?) and keep getting the following error:
Making all in MonoDevelop.Gui.Utils make[3]: Entering directory `/download/org/go-mono/MonoDevelop/Core/src/MonoDevelop.Gui.Utils' /home/hattons/opt/org/go-mono/bin/mcs -langversion:ISO-1 -out:../../../build/bin/MonoDevelop.Gui.Utils.dll /target:library /r:System.Drawing /r:ICSharpCode.SharpZipLib -r:/home/hattons/opt/org/go-mono/lib/mono/gtk-sharp-2.0/glib-sharp.dll -r:/home/hattons/opt/org/go-mono/lib/mono/gtk-sharp-2.0/pango-sharp.dll -r:/home/hattons/opt/org/go-mono/lib/mono/gtk-sharp-2.0/atk-sharp.dll -r:/home/hattons/opt/org/go-mono/lib/mono/gtk-sharp-2.0/gdk-sharp.dll -r:/home/hattons/opt/org/go-mono/lib/mono/gtk-sharp-2.0/gtk-sharp.dll -r:/home/hattons/opt/org/go-mono/lib/mono/gtk-sharp-2.0/glib-sharp.dll -r:/home/hattons/opt/org/go-mono/lib/mono/gtk-sharp-2.0/pango-sharp.dll -r:/home/hattons/opt/org/go-mono/lib/mono/gtk-sharp-2.0/atk-sharp.dll -r:/home/hattons/opt/org/go-mono/lib/mono/gtk-sharp-2.0/gdk-sharp.dll -r:/home/hattons/opt/org/go-mono/lib/mono/gtk-sharp-2.0/gtk-sharp.dll -r:/home/hattons/opt/org/go-mono/lib/mono/gtk-sharp-2.0/art-sharp.dll -r:/usr/lib/mono/gtk-sharp-2.0/gnome-sharp.dll /resource:icons/gnome-fs-regular.png\ ./FileIcons/FileIconLoader.cs\ ./ReportingStream/ReportingStream.cs\ ./DirectoryArchive/Decompressor.cs\ ./DirectoryArchive/TarDecompressor.cs\ ./DirectoryArchive/ZipDecompressor.cs\ ./DirectoryArchive/Bz2Support.cs\ ./DirectoryArchive/GzSupport.cs AssemblyInfo.cs ./FileIcons/FileIconLoader.cs(41,24): error CS1502: The best overloaded method match for `Gnome.Icon.LookupSync(Gtk.IconTheme, Gnome.ThumbnailFactory, string, string, Gnome.IconLookupFlags, out Gnome.IconLookupResultFlags)' has some invalid arguments ./FileIcons/FileIconLoader.cs(41,24): error CS1503: Argument 1: Cannot convert from `Gtk.IconTheme' to `Gtk.IconTheme' Compilation failed: 2 error(s), 0 warnings make[3]: *** [../../../build/bin/MonoDevelop.Gui.Utils.dll] Error 1 make[3]: Leaving directory `/download/org/go-mono/MonoDevelop/Core/src/MonoDevelop.Gui.Utils' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/download/org/go-mono/MonoDevelop/Core/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/download/org/go-mono/MonoDevelop/Core' make: *** [all-recursive] Error 1
I'm not sure if the problem is related to the `-r:/usr/lib/mono/gtk-sharp-2.0/gnome-sharp.dll' argument or not. For some reason, I have not been able to persuade the gtk-sharp build to install gnome-sharp.dll when I do a `make install'.
Does anybody have this building on their system? -- Regards, Steven
-- To unsubscribe, email: suse-programming-e-unsubscribe@suse.com For additional commands, email: suse-programming-e-help@suse.com Archives can be found at: http://lists.suse.com/archive/suse-programming-e
--
Jerry Feldman
On Saturday 20 August 2005 09:39, Jerry Feldman wrote:
It certainly looks like you downloaded the Windows version. Here is the URL for SuSE Professional 9.3. http://www.go-mono.com/download/suse-93-i586/
What I posted was actually from the SVN repository. Mono uses *.dll for its "thinks it's Windoze" libraries. I finally got the thing to build, but I'm not sure who changed what, where. There have been some svn commits, and I've done a lot of rearranging. I've never had much luck trying to work with Gnome related stuff on SuSE. ... Now I'm getting the same kind of problem I encountered with acroread. (MonoDevelop:5080): Gdk-WARNING **: Using Cairo rendering requires the drawable argument to have a specified colormap. All windows have a colormap, however, pixmaps only have colormap by default if they were created with a non-NULL window argument. Otherwise a colormap must be set on them with gdk_drawable_set_colormap Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object in <0x00000> <unknown method> in (wrapper managed-to-native) Gtk.Application:gtk_main () in <0x00007> Gtk.Application:Run () in <0x00454> MonoDevelop.Commands.StartWorkbenchCommand:Run () in <0x00bac> MonoDevelop.SharpDevelopMain:Main (System.String[] args) The problem is that it's almost impossible to get a combination of library versions that satisfies all the different packages that use them, and work together nicely. I'm not sure what's up with Cairo. There's a separate package from freedesktop, but from what I saw on the Mono mailing list, I'm not supposed to need that. -- Regards, Steven
"Steven T. Hatton"
(MonoDevelop:5080): Gdk-WARNING **: Using Cairo rendering requires the drawable argument to have a specified colormap. All windows have a colormap, however, pixmaps only have colormap by default if they were created with a non-NULL window argument. Otherwise a colormap must be set on them with gdk_drawable_set_colormap
Looks like a problem with the gtk-qt-engine package. Try if removing it helps. Philipp
participants (3)
-
Jerry Feldman
-
Philipp Thomas
-
Steven T. Hatton