build failed on svg-view.cpp

Bug #709847 reported by Mat on 2011-01-29
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
High
Alex Valavanis

Bug Description

I build inkscape on gentoo linux, and encounter the build error on svg-view.cpp.

source revision: 10019 ( upstream from lp:inkscape )

My error is the same as the mail report:
http://sourceforge.net/mailarchive/message.php?msg_id=26849796

log message is below:
===================================================================
make all-recursive
make[1]: Entering directory `/home/mat/Kinder/inkboard/inkscape'
Making all in src
make[2]: Entering directory `/home/mat/Kinder/inkboard/inkscape/src'
make all-am
make[3]: Entering directory `/home/mat/Kinder/inkboard/inkscape/src'
  CXX svg-view.o
svg-view.cpp: In member function ‘virtual void SPSVGView::mouseover()’:
svg-view.cpp:114: error: ‘GDK_HAND2’ was not declared in this scope
svg-view.cpp:114: error: ‘gdk_cursor_new’ was not declared in this scope
svg-view.cpp:115: error: ‘GTK_WIDGET’ was not declared in this scope
svg-view.cpp:115: error: ‘gdk_window_set_cursor’ was not declared in this scope
svg-view.cpp:116: error: ‘gdk_cursor_unref’ was not declared in this scope
svg-view.cpp: In member function ‘virtual void SPSVGView::mouseout()’:
svg-view.cpp:122: error: ‘GTK_WIDGET’ was not declared in this scope
svg-view.cpp:122: error: ‘gdk_window_set_cursor’ was not declared in this scope
make[3]: *** [svg-view.o] Error 1
make[3]: Leaving directory `/home/mat/Kinder/inkboard/inkscape/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/mat/Kinder/inkboard/inkscape/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mat/Kinder/inkboard/inkscape'
make: *** [all] Error 2

Related branches

ScislaC (scislac) wrote :

What version of gtk are you building against?

su_v (suv-lp) on 2011-01-29
tags: added: build
Mat (matlinuxer2) wrote :

My gtk version is:
 gtk+-2.20.1
 gtkmm-2.20.3

Thanks!

Dmitry Dzhus (dzhus) wrote :

I obverve the same problem with Gtk+ 2.24.3, gtkmm 2.24.0.

Dmitry Dzhus (dzhus) wrote :

The issue was introduced in revision 9979: http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/revision/9979

Trunk rev. 9978 builds just fine.

su_v (suv-lp) on 2011-04-01
Changed in inkscape:
importance: Undecided → High
status: New → Confirmed
Dmitry Dzhus (dzhus) wrote :

Including <gtk/gtk.h> in svg-view.cpp fixes the problem (top-level includes are preferred by Gtk+).

Changed in inkscape:
status: Confirmed → In Progress
assignee: nobody → Alex Valavanis (valavanisalex)
milestone: none → 0.49
Changed in inkscape:
milestone: 0.49 → 0.48.2
Changed in inkscape:
status: In Progress → Fix Committed
su_v (suv-lp) wrote :

inkscape trunk: r10255
inkscape 0.48.x: r9783

Ted Gould (ted) on 2011-09-07
Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers