Re: Problem with SVG on windows

On Wed, 2010-09-08 at 00:14 +0200, Yoann Le Montagner wrote:
> Hi,
> I've got a problem when I try to load a SVG image in a pixbuf : the 
> program crashes during the call to 
> Gdk::Pixbuf::create_from_file("image.svg", 24, 24), without any 
> particular error message (no exception is thrown). This does not occur 
> if I use a PNG or a JPEG image. And this bug only occurs on windows : 
> loading a SVG image works fine on Linux.
> So, my question is rather simple : is it normal ? Is there any 
> particular library to install with GTKMM to make it able to process SVG 
> on windows ?
> I uses GTKMM ver-2.20.3-1 (this bug also occures with previous versions 
> of GTKMM, such as 2.16), with MinGW.

What gcc version are you using? If you do not use the same version than
gtkmm has been compiled with (3.4.5) then it might not be possible to
catch exceptions due to ABI differences.

To load SVG images you need librsvg which is not bundled with the gtkmm

> Thanks.
> Yoann


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