where is GDK_WINDOW_TYPE_HINT_UTILITY ?
Hi all,
I try to compile the CVS version 20040610 (certainly I'm late)
No problem during the './configure' but, at the 'make' : [...] dialogs/dialog-events.cpp: In function `void sp_transientize(GtkWidget*)': dialogs/dialog-events.cpp:153: `GDK_WINDOW_TYPE_HINT_UTILITY' undeclared (first use this function) dialogs/dialog-events.cpp:153: (Each undeclared identifier is reported only once for each function it appears in.) dialogs/dialog-events.cpp:157: `gtk_window_set_skip_taskbar_hint' undeclared (first use this function) make[2]: *** [dialogs/dialog-events.o] Error 1 make[2]: Leaving directory `/home/florent/Sources/inkscape-20040610/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/florent/Sources/inkscape-20040610' make: *** [all] Error 2
In my '/usr/local/include' (Linux Slackware), there's 'gtk-2.0/' , 'gtkmm-2.0/' , 'sigc++-1.2/' must I install another library ?
Florent
Florent wrote:
Hi all,
I try to compile the CVS version 20040610 (certainly I'm late)
No problem during the './configure' but, at the 'make' :
ok, i've just download the latest CVS 'make' stop at this :
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/lib/sigc++-1.2/include -I/usr/local/include/sigc++-1.2 -I/usr/local/include/gtkmm-2.0 -I/usr/local/lib/gtkmm-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -Wall -W -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch -Wno-unused-parameter -g -O2 -MT dialogs/dialog-events.o -MD -MP -MF "dialogs/.deps/dialog-events.Tpo" \ -c -o dialogs/dialog-events.o `test -f 'dialogs/dialog-events.cpp' || echo './'`dialogs/dialog-events.cpp; \ then mv -f "dialogs/.deps/dialog-events.Tpo" "dialogs/.deps/dialog-events.Po"; \ else rm -f "dialogs/.deps/dialog-events.Tpo"; exit 1; \ fi dialogs/dialog-events.cpp: In function `void sp_transientize(GtkWidget*)': dialogs/dialog-events.cpp:153: `GDK_WINDOW_TYPE_HINT_UTILITY' undeclared (first use this function) dialogs/dialog-events.cpp:153: (Each undeclared identifier is reported only once for each function it appears in.) dialogs/dialog-events.cpp:157: `gtk_window_set_skip_taskbar_hint' undeclared (first use this function) make[2]: *** [dialogs/dialog-events.o] Error 1 make[2]: Leaving directory `/home/florent/Sources/inkscape-20040612/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/florent/Sources/inkscape-20040612' make: *** [all] Error 2
maybe must I ask about this problem to a GTK forum
Florent
Quoth Florent on or about 2004-06-14:
dialogs/dialog-events.cpp:153: `GDK_WINDOW_TYPE_HINT_UTILITY' undeclared
I often get this sort of thing when my libraries are too old. Try this to find out what version of GTK2 you're running:
pkg-config --modversion gtk+-2.0
Maybe CVS needs 2.4 to compile?
-trent
Trent Buck wrote:
Quoth Florent on or about 2004-06-14:
dialogs/dialog-events.cpp:153: `GDK_WINDOW_TYPE_HINT_UTILITY' undeclared
I often get this sort of thing when my libraries are too old. Try this to find out what version of GTK2 you're running:
pkg-config --modversion gtk+-2.0
Maybe CVS needs 2.4 to compile?
Thanks,
pkg-config give me the 2.4.3 version.
And I've just notice that my 'old' version of inkscape doesn't work too (inkscape: relocation error: inkscape: undefined symbol: gtk_window_set_default_icon_from_file)
Maybe it's because I've upgrade my system... ...and my "upgrader" may delete the old version to install the new...
So, another sorry about my question.
Florent
participants (2)
-
Florent
-
Trent Buck