Re: Problem with SVG on windows
- From: Yo35 <yo35 melix net>
- To: gtkmm-list gnome org
- Subject: Re: Problem with SVG on windows
- Date: Thu, 09 Sep 2010 13:04:03 +0200
Hi,
I'm using gcc ver 3.4.5.
I've tried to install librsvg : I've downloaded the files libsvg.dll,
librsvg-2-2.dll and svg_loader.dll from
http://ftp.acc.umu.se/pub/gnome/binaries/win32/librsvg/2.26/, and I've
put them into the gtkmm tree, at the following places :
gtkmmroot\bin\librsvg-2-2.dll
gtkmmroot\lib\gtk-2.0\2.10.0\loaders\svg_loader.dll
gtkmmroot\lib\gtk-2.0\2.10.0\engines\libsvg.dll
Unfortunately, it has not changed anything : the program still crashes
when loading the SVG image, without any error message. What's wrong ?
Yoann
Le 08/09/2010 08:53, Armin Burgmeier a écrit :
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
installer.
Thanks.
Yoann
Armin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]