Re: An instance of Gdk::PixbufError is throwing...



On Thu, 2013-10-31 at 07:53 +0100, Jens Georg wrote:
Hi,

 Glib::RefPtr <Gdk::Pixbuf> m_pixbuf =
            Gdk::Pixbuf::create_from_file (Glib::build_filename
(DATADIR, "picture.svg"), 130, 130);

Is it normal that this code that ran perfectly in past now produces an
abortion in runtime ?

With a message like, 
terminate called after throwing an instance of 'Gdk::PixbufError'
Aborted
I'm using jhbuild branch master, with the following releases,

Did you build librsvg after building gdk-pixbuf? Otherwise you don't
have a SVG GdkPixbufLoader.

Of course, if you actually catch the exception and print out its error
message, you might get a hint.

-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]