21199 not building on Linux
I'm getting the following when making 21199 on my Gentoo box:
depbase=`echo widgets/icon.o | sed 's|[^/]*$|.deps/&|;s|.o$||'`;\ g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -pthread -DORBIT2=1 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/ImageMagick -I/usr/include/poppler -I/usr/include/poppler/glib -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -DPOTRACE="potrace" -pthread -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairomm-1.0 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/atkmm-1.6 -I/usr/include/atk-1.0 -I/usr/include/libxml2 -I/usr/include/gtkspell-2.0 -I/usr/include/libpng12 -I../cxxtest -I./bind/javainc -I./bind/javainc/linux -Wall -Wformat -Wformat-security -W -D_FORTIFY_SOURCE=2 -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch -Wno-unused-parameter -g -O2 -MT widgets/icon.o -MD -MP -MF $depbase.Tpo -c -o widgets/icon.o widgets/icon.cpp &&\ mv -f $depbase.Tpo $depbase.Po widgets/icon.cpp: In function ‘void sp_icon_paint(SPIcon*, const GdkRectangle*)’: widgets/icon.cpp:869: warning: converting to ‘int’ from ‘double’ widgets/icon.cpp:870: warning: converting to ‘int’ from ‘double’ widgets/icon.cpp: In function ‘void imageMapNamedCB(GtkWidget*, void*)’: widgets/icon.cpp:1450: error: ‘GIcon’ was not declared in this scope widgets/icon.cpp:1450: error: ‘gicon’ was not declared in this scope make[2]: *** [widgets/icon.o] Error 1 make[2]: Leaving directory `/home/thomas/src/inkscape/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/thomas/src/inkscape' make: *** [all] Error 2
Anyone else, or is it just me?
Thomas Worthington wrote, On 04/22/09 12:28:
I'm getting the following when making 21199 on my Gentoo box: ... Anyone else, or is it just me?
me too. And I'm on Gentoo as well with gtk-2.12.9-r2.
http://library.gnome.org/devel/gtk/stable/GtkImage.html#GtkImage--gicon
seems at least gtk-2.14 is required for the "gicon" property.
On Apr 22, 2009, at 3:58 AM, Thomas Holder wrote:
Thomas Worthington wrote, On 04/22/09 12:28:
I'm getting the following when making 21199 on my Gentoo box: ... Anyone else, or is it just me?
me too. And I'm on Gentoo as well with gtk-2.12.9-r2.
http://library.gnome.org/devel/gtk/stable/GtkImage.html#GtkImage-- gicon
seems at least gtk-2.14 is required for the "gicon" property.
I've removed that in a larger fix I'm working on, but for now also did a quick removal as of revision 21203
participants (3)
-
Jon A. Cruz
-
Thomas Holder
-
Thomas Worthington