Hi,
trying to compile drapes for debian I get this eror:
make[1]: Entering directory `/root/drapes-0.5.1'
Making all in drapes
make[2]: Entering directory `/root/drapes-0.5.1/drapes'
sed -e "s,[@]ASM_VERSION/[@],0.5.1.*," \
-e "s,[@]datadir/[@],/usr/share," \
-e "s,[@]prefix/[@],/usr," \
-e "s,[@]version/[@],0.5.1," \
-e "s,[@]helpdir/[@],/usr/share/gnome/help," \
< AssemblyInfo.cs.in > AssemblyInfo.cs
/usr/bin/gmcs -debug -r:System.Xml -r:Mono.Posix -pkg:gconf-sharp-2.0 -pkg:glade-sharp-2.0 -pkg:gnome-vfs-sharp-2.0 -resource:../data/drapes.glade,drapes.glade \
-unsafe+ -target:exe -out:"drapes.exe" \
./AssemblyInfo.cs ./panelapplet/*.cs ./About.cs ./Applet.cs ./AppletWidget.cs ./ConfigMenuWidgets.cs ./ConfigMenu.cs ./Main.cs ./Settings.cs ./Traylib.cs ./Wallpaper.cs ./WpList.cs
./ConfigMenu.cs(154,29): error CS0121: The call is ambiguous between the following methods or properties: `Gtk.TreeViewColumn.SetCellDataFunc(Gtk.CellRenderer, Gtk.CellLayoutDataFunc)' and `Gtk.TreeViewColumn.SetCellDataFunc(Gtk.CellRenderer, Gtk.TreeCellDataFunc)'
/usr/lib/mono/gac/gtk-sharp/2.10.0.0__35e10195dab3c99f/gtk-sharp.dll (Location of the symbol related to previous error)
/usr/lib/mono/gac/gtk-sharp/2.10.0.0__35e10195dab3c99f/gtk-sharp.dll (Location of the symbol related to previous error)
./ConfigMenu.cs(155,29): error CS0121: The call is ambiguous between the following methods or properties: `Gtk.TreeViewColumn.SetCellDataFunc(Gtk.CellRenderer, Gtk.CellLayoutDataFunc)' and `Gtk.TreeViewColumn.SetCellDataFunc(Gtk.CellRenderer, Gtk.TreeCellDataFunc)'
/usr/lib/mono/gac/gtk-sharp/2.10.0.0__35e10195dab3c99f/gtk-sharp.dll (Location of the symbol related to previous error)
/usr/lib/mono/gac/gtk-sharp/2.10.0.0__35e10195dab3c99f/gtk-sharp.dll (Location of the symbol related to previous error)
./ConfigMenu.cs(156,29): error CS0121: The call is ambiguous between the following methods or properties: `Gtk.TreeViewColumn.SetCellDataFunc(Gtk.CellRenderer, Gtk.CellLayoutDataFunc)' and `Gtk.TreeViewColumn.SetCellDataFunc(Gtk.CellRenderer, Gtk.TreeCellDataFunc)'
/usr/lib/mono/gac/gtk-sharp/2.10.0.0__35e10195dab3c99f/gtk-sharp.dll (Location of the symbol related to previous error)
/usr/lib/mono/gac/gtk-sharp/2.10.0.0__35e10195dab3c99f/gtk-sharp.dll (Location of the symbol related to previous error)
Compilation failed: 3 error(s), 0 warnings
make[2]: *** [drapes.exe] Error 1
make[2]: Leaving directory `/root/drapes-0.5.1/drapes'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/drapes-0.5.1'
make: *** [debian/stamp-makefile-build] Error 2
debuild: fatal error at line 1237:
debian/rules build failed
Best Regards,
francesco
This appears to be more of a bug in the version of GTK-Sharp you have (I can compile fine with the gtk-sharp and mono 1.2.4 out of ubuntu repos fine). Can you post the version of GTK-Sharp that you have installed please, and is the bug when compiling from GIT, or a specific version tarball?