Re: Help compiling 0.1.0



This looks like your version of gtk-sharp-2.0 is out of date, or you are
somehow linking to multiple versions

--Larry

On Thu, 2005-08-18 at 16:50 +0200, derek vandivere net wrote:
> OK, I can compile and install 0.0.13 just fine, and I've installed the
> various gtk 2.0 packages so that the configure command works for 0.1.0,
> but when I do a make I get all kinds of errors (18 in all). They're pasted
> in at the end of this.
> 
> I guess other folks aren't having the problem, so it's probably something
> about how I'm trying to compile - maybe a flag to tell it to use the
> version 2 pacakges or something? Hoping to get a good setup before I take
> off for holidays tonight, so I can work on a few bugs / enhancements! Any
> advice is gratefully welcome.
> 
> Thanks,
> Derek
> 
> ./AsyncPixbufLoader.cs(173) error CS1502: The best overloaded match for
> method 'bool Gdk.PixbufLoader.Write (byte[], uint)' has some invalid
> arguments
> ./AsyncPixbufLoader.cs(173) error CS1503: Argument 1: Cannot convert from
> 'ulong' to 'uint'
> ./AsyncPixbufLoader.cs(173) error CS1501: No overload for method `Write'
> takes `2' arguments
> ./PhotoArray.cs(73) warning CS0067: The event
> 'FSpot.PhotoList.ItemChanged' is never used
> ./PhotoArray.cs(126) warning CS0067: The event 'FSpot.PhotoArray.Changed'
> is never used
> ./PhotoArray.cs(127) warning CS0067: The event
> 'FSpot.PhotoArray.ItemChanged' is never used
> ./Ciff.cs(186) warning CS0219: The variable 'pos' is assigned but its
> value is never used
> ./Ciff.cs(248) warning CS0219: The variable 'version' is assigned but its
> value is never used
> ./Ciff.cs(270) error CS1502: The best overloaded match for method 'bool
> Gdk.PixbufLoader.Write (byte[], uint)' has some invalid arguments
> ./Ciff.cs(270) error CS1503: Argument 1: Cannot convert from 'ulong' to
> 'uint'
> ./Ciff.cs(270) error CS1501: No overload for method `Write' takes `2'
> arguments
> ./Ciff.cs(302) warning CS0219: The variable 'path' is assigned but its
> value is never used
> ./GroupAdaptor.cs(21) warning CS0067: The event
> 'FSpot.GroupAdaptor.GlassSet' is never used
> ./GroupAdaptor.cs(24) warning CS0067: The event
> 'FSpot.GroupAdaptor.Changed' is never used
> ./DirectoryCollection.cs(36) warning CS0067: The event
> 'FSpot.DirectoryCollection.Changed' is never used
> ./GalleryExport.cs(172) warning CS0612: 'Gtk.OptionMenu' is obsolete
> ./GalleryExport.cs(380) warning CS0612: 'Gtk.OptionMenu' is obsolete
> ./GalleryExport.cs(381) warning CS0612: 'Gtk.OptionMenu' is obsolete
> ./GalleryExport.cs(486) warning CS0612: 'Gtk.OptionMenu' is obsolete
> ./GalleryExport.cs(493) warning CS0612: 'Gtk.OptionMenu' is obsolete
> ./GalleryExport.cs(567) warning CS0612: 'Gtk.OptionMenu' is obsolete
> ./GalleryExport.cs(273) warning CS0612: 'Gtk.OptionMenu' is obsolete
> ./GalleryExport.cs(274) warning CS0612: 'Gtk.OptionMenu' is obsolete
> ./GroupSelector.cs(957) warning CS0612: 'Gtk.Widget.Flags' is obsolete
> ./GroupSelector.cs(957) warning CS0612: 'Gtk.Widget.Flags[int]' is obsolete
> ./GroupSelector.cs(322) warning CS0612: 'Gtk.Widget.Flags' is obsolete
> ./GroupSelector.cs(322) warning CS0612: 'Gtk.Widget.Flags[int]' is obsolete
> ./ImportCommand.cs(570) warning CS0612: 'Gtk.OptionMenu' is obsolete
> ./ImportCommand.cs(570) warning CS0612: 'Gtk.OptionMenu' is obsolete
> ./ImportCommand.cs(571) warning CS0612: 'Gtk.OptionMenu' is obsolete
> ./ImportCommand.cs(640) warning CS0612: 'Gtk.OptionMenu' is obsolete
> ./ImportCommand.cs(642) warning CS0612: 'Gtk.OptionMenu' is obsolete
> ./ImportCommand.cs(672) warning CS0612: 'Gtk.OptionMenu' is obsolete
> ./ImportCommand.cs(678) warning CS0612: 'Gtk.OptionMenu' is obsolete
> ./ImportCommand.cs(684) warning CS0612: 'Gtk.OptionMenu' is obsolete
> ./ImportCommand.cs(359) warning CS0612: 'Gtk.OptionMenu' is obsolete
> ./ImportCommand.cs(360) warning CS0612: 'Gtk.OptionMenu' is obsolete
> ./InfoBox.cs(91) warning CS0612: 'Gtk.OptionMenu' is obsolete
> ./InfoBox.cs(104) warning CS0612: 'Gtk.OptionMenu' is obsolete
> ./InfoBox.cs(176) warning CS0612: 'Gtk.OptionMenu' is obsolete
> ./InfoBox.cs(182) warning CS0612: 'Gtk.OptionMenu' is obsolete
> ./InfoBox.cs(32) warning CS0612: 'Gtk.OptionMenu' is obsolete
> ./MainWindow.cs(142) warning CS0612: 'Gtk.Toolbar.AppendSpace()' is obsolete
> ./MainWindow.cs(147) warning CS0612: 'Gtk.Toolbar.AppendSpace()' is obsolete
> ./MainWindow.cs(914) warning CS0219: The variable 'single' is assigned but
> its value is never used
> ./PhotoView.cs(108) warning CS0618: 'GLib.Object.Data' is obsolete: 'Can
> cause instability due to garbage collection of GLib.Objects.'
> ./PhotoView.cs(127) warning CS0612: 'Gtk.OptionMenu' is obsolete
> ./PhotoView.cs(120) warning CS0618: 'GLib.Object.Data' is obsolete: 'Can
> cause instability due to garbage collection of GLib.Objects.'
> ./PhotoView.cs(128) warning CS0612: 'Gtk.OptionMenu' is obsolete
> ./PhotoView.cs(112) warning CS0612: 'Gtk.OptionMenu' is obsolete
> ./PhotoView.cs(90) warning CS0612: 'Gtk.OptionMenu' is obsolete
> ./PngFile.cs(768) warning CS0219: The variable 'crc' is assigned but its
> value is never used
> ./PngFile.cs(405) warning CS0219: The variable 'attempt' is assigned but
> its value is never used
> ./PnmFile.cs(143) warning CS0162: Unreachable code detected
> ./PixbufUtils.cs(222) error CS1502: The best overloaded match for method
> 'bool Gdk.PixbufLoader.Write (byte[], uint)' has some invalid arguments
> ./PixbufUtils.cs(222) error CS1503: Argument 1: Cannot convert from
> 'ulong' to 'uint'
> ./PixbufUtils.cs(222) error CS1501: No overload for method `Write' takes
> `2' arguments
> ./PixbufUtils.cs(149) error CS1502: The best overloaded match for method
> 'bool Gdk.PixbufLoader.Write (byte[], uint)' has some invalid arguments
> ./PixbufUtils.cs(149) error CS1503: Argument 1: Cannot convert from
> 'ulong' to 'uint'
> ./PixbufUtils.cs(149) error CS1501: No overload for method `Write' takes
> `2' arguments
> ./RafFile.cs(46) error CS1502: The best overloaded match for method 'bool
> Gdk.PixbufLoader.Write (byte[], uint)' has some invalid arguments
> ./RafFile.cs(46) error CS1503: Argument 1: Cannot convert from 'ulong' to
> 'uint'./RafFile.cs(46) error CS1501: No overload for method `Write' takes
> `2' arguments
> ./RafFile.cs(75) warning CS0219: The variable 'raw_length' is assigned but
> its value is never used
> ./RafFile.cs(74) warning CS0219: The variable 'raw_offset' is assigned but
> its value is never used
> ./RafFile.cs(72) warning CS0219: The variable 'wb_length' is assigned but
> its value is never used
> ./RafFile.cs(71) warning CS0219: The variable 'wb_offset' is assigned but
> its value is never used
> ./RotateCommand.cs(22) warning CS0219: The variable 'temporary_path' is
> assigned but its value is never used
> ./SingleView.cs(42) warning CS0612: 'Gtk.Toolbar.AppendSpace()' is obsolete
> ./TagCommands.cs(57) warning CS0612: 'Gtk.OptionMenu' is obsolete
> ./TagCommands.cs(97) warning CS0612: 'Gtk.OptionMenu' is obsolete
> ./TagCommands.cs(106) warning CS0612: 'Gtk.OptionMenu' is obsolete
> ./TagCommands.cs(24) warning CS0612: 'Gtk.OptionMenu' is obsolete
> ./TagCommands.cs(279) warning CS0612: 'Gtk.OptionMenu' is obsolete
> ./TagCommands.cs(280) warning CS0612: 'Gtk.OptionMenu' is obsolete
> ./TagCommands.cs(307) warning CS0612: 'Gtk.OptionMenu' is obsolete
> ./TagCommands.cs(314) warning CS0612: 'Gtk.OptionMenu' is obsolete
> ./TagCommands.cs(183) warning CS0612: 'Gtk.OptionMenu' is obsolete
> ./TagView.cs(13) warning CS0612: 'Gtk.Widget.Flags' is obsolete
> ./TagView.cs(13) warning CS0612: 'Gtk.Widget.Flags[int]' is obsolete
> ./Tiff.cs(1182) error CS1502: The best overloaded match for method 'bool
> Gdk.PixbufLoader.Write (byte[], uint)' has some invalid arguments
> ./Tiff.cs(1182) error CS1503: Argument 1: Cannot convert from 'ulong' to
> 'uint'
> ./Tiff.cs(1182) error CS1501: No overload for method `Write' takes `2'
> arguments./Util.cs(221) warning CS0618: 'Gtk.Toolbar.AppendItem(string,
> string, string, Gtk.Widget, Gtk.SignalFunc)' is obsolete: 'Replaced by
> ToolItem API'
> ./Util.cs(243) warning CS0618:
> 'Gtk.Toolbar.AppendElement(Gtk.ToolbarChildType, Gtk.Widget, string,
> string, string, Gtk.Widget, Gtk.SignalFunc)' is obsolete: 'Replaced by
> ToolItem API'
> ./Util.cs(248) warning CS0618: 'Gtk.Toolbar.AppendItem(string, string,
> string, Gtk.Widget, Gtk.SignalFunc)' is obsolete: 'Replaced by ToolItem
> API'
> Compilation failed: 18 error(s), 68 warnings
> make[2]: *** [f-spot.exe] Error 1
> make[2]: Leaving directory `/home/dvandivere/dev/f-spot-0.1.0/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/dvandivere/dev/f-spot-0.1.0'
> make: *** [all] Error 2
> 
> 
> _______________________________________________
> F-spot-list mailing list
> F-spot-list gnome org
> http://mail.gnome.org/mailman/listinfo/f-spot-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]