Does it work with 2.10.5?
http://shelob.classrooms.washington.edu/~bradleyb/deb/glibmm2.4/
-brad
Simon Fuhrmann wrote:
Package: libgtkmm-2.4-dev
Version: 1:2.8.8-1
Severity: normal
I talked with Murray Cumming in IRC about some code which refuses to compile
after update of libgtkmm-2.4-dev. Here is the log:
<simlan> I have problems loading pixbufs from file. The compiler says
(pastebin): http://axpr.net/?show=839. I looked at the docs but can't find the method
with the error arg.
[PASTBIN POST:]
icon_factory.cc: In member function 'Glib::RefPtr<Gdk::Pixbuf>
IconThemeBase::load_icon(const std::string&)':
icon_factory.cc:72: error: no matching function for call to 'Gdk::Pixbuf::create_from_file(const
std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)'
/usr/include/gdkmm-2.4/gdkmm/pixbuf.h:367: note: candidates are: static
Glib::RefPtr<Gdk::Pixbuf> Gdk::Pixbuf::create_from_file(const std::string&,
std::auto_ptr<Glib::Error>&)
/usr/include/gdkmm-2.4/gdkmm/pixbuf.h:409: note: static
Glib::RefPtr<Gdk::Pixbuf> Gdk::Pixbuf::create_from_file(const std::string&, int, int,
bool, std::auto_ptr<Glib::Error>&)
make: *** [icon_factory.o] Error 1
<murrayc> simlan: You built glibmm and gtkmm from source?
<murrayc> simlan: You seem to be using the cut-down API.
<murrayc> The cut-down API has extra error args instead of exceptions.
<simlan> it's the api shipped with debian packages
<murrayc> Then something is wrong.
<murrayc> You probably need a newer glibmm.
<murrayc> Your glibmmconfig.h file should define the macro that is used in that
header file.
<murrayc> Please file a debian bug if this is really just with the debian
packages.
<murrayc> Feel free to copy/paste this IRC log.
<simlan> Ok, I'll do what I can
<murrayc> That's debian unstable/testing for you.
<simlan> ok, I also updated libglibmm-2.4-dev, it seems to work fine now
<simlan> maybe debian packagers should update dependencies
<murrayc> Yeah.
<murrayc> Though it might be complicated.
<murrayc> They need the latest version of 2.6, 2.8, or 2.10, but 2.8.notenough is
> 2.6.enough.
<murrayc> It is a pain.
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14.4
Locale: LANG=C, [EMAIL PROTECTED] (charmap=ISO-8859-15)
Versions of packages libgtkmm-2.4-dev depends on:
ii libglibmm-2.4-dev 2.10.4-1 C++ wrapper for the GLib toolkit (
ii libgtk2.0-dev 2.8.16-1 Development files for the GTK+ lib
ii libgtkmm-2.4-1c2a 1:2.8.8-1 C++ wrappers for GTK+ 2.4 (shared
libgtkmm-2.4-dev recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]