dirkvdb / gejengel

Automatically exported from code.google.com/p/gejengel
GNU General Public License v2.0
2 stars 1 forks source link

Build error src/ui/cellrendererhoverbutton.cpp:300 #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Building from svn r383 just gave me the following error at compile time
(configure succeeded):

In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from src/ui/cellrendererhoverbutton.cpp:31:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:69:1: warning: "PACKAGE"
redefined
In file included from ./src/Utils/log.cpp:20,
                 from ./src/Utils/log.h:90,
                 from src/ui/cellrendererhoverbutton.cpp:19:
./config.h:98:1: warning: this is the location of the previous definition
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from src/ui/cellrendererhoverbutton.cpp:31:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:72:1: warning:
"PACKAGE_BUGREPORT" redefined
In file included from ./src/Utils/log.cpp:20,
                 from ./src/Utils/log.h:90,
                 from src/ui/cellrendererhoverbutton.cpp:19:
./config.h:101:1: warning: this is the location of the previous definition
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from src/ui/cellrendererhoverbutton.cpp:31:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:75:1: warning:
"PACKAGE_NAME" redefined
In file included from ./src/Utils/log.cpp:20,
                 from ./src/Utils/log.h:90,
                 from src/ui/cellrendererhoverbutton.cpp:19:
./config.h:104:1: warning: this is the location of the previous definition
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from src/ui/cellrendererhoverbutton.cpp:31:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:78:1: warning:
"PACKAGE_STRING" redefined
In file included from ./src/Utils/log.cpp:20,
                 from ./src/Utils/log.h:90,
                 from src/ui/cellrendererhoverbutton.cpp:19:
./config.h:107:1: warning: this is the location of the previous definition
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from src/ui/cellrendererhoverbutton.cpp:31:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:81:1: warning:
"PACKAGE_TARNAME" redefined
In file included from ./src/Utils/log.cpp:20,
                 from ./src/Utils/log.h:90,
                 from src/ui/cellrendererhoverbutton.cpp:19:
./config.h:110:1: warning: this is the location of the previous definition
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from src/ui/cellrendererhoverbutton.cpp:31:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:84:1: warning:
"PACKAGE_VERSION" redefined
In file included from ./src/Utils/log.cpp:20,
                 from ./src/Utils/log.h:90,
                 from src/ui/cellrendererhoverbutton.cpp:19:
./config.h:113:1: warning: this is the location of the previous definition
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from src/ui/cellrendererhoverbutton.cpp:31:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:90:1: warning: "VERSION"
redefined
In file included from ./src/Utils/log.cpp:20,
                 from ./src/Utils/log.h:90,
                 from src/ui/cellrendererhoverbutton.cpp:19:
./config.h:119:1: warning: this is the location of the previous definition
src/ui/cellrendererhoverbutton.cpp: In member function 'virtual void
Gejengel::CellRendererHoverButton::render_vfunc(const
Glib::RefPtr<Gdk::Drawable>&, Gtk::Widget&, const Gdk::Rectangle&, const
Gdk::Rectangle&, const Gdk::Rectangle&, Gtk::CellRendererState)':
src/ui/cellrendererhoverbutton.cpp:300: error: 'class Pango::Layout' has no
member named 'show_in_cairo_context'

Original issue reported on code.google.com by JohnTy...@gmail.com on 26 Aug 2009 at 12:32

GoogleCodeExporter commented 9 years ago
try upgrading these packages to more recent versions: pangomm, gtkmm, cairomm

Original comment by dirk.vdb on 26 Aug 2009 at 6:12

GoogleCodeExporter commented 9 years ago
I looked into the pangomm docs and it seems that you need to have pangomm >= 
2.16

http://www.gtkmm.org/docs/pangomm-
1.4/docs/reference/html/classPango_1_1Layout.html#4594ac585d306b6cf013e640184d5e
89

I'll update the configure script to check for this

Original comment by dirk.vdb on 26 Aug 2009 at 6:17

GoogleCodeExporter commented 9 years ago
Configure script has been updated

Original comment by dirk.vdb on 5 Nov 2009 at 10:18