Hi,

Actually this issue is caused by 2 reasons

1. update in librsvg:

https://github.com/GNOME/librsvg/commit/3b8adaa7e780b85695306292dfb23107d219bb34
Please look at rsvg.h.
They moved #include < librsvg/rsvg-cairo.h > dirrectly to rsvg.h
Also they added "deprecated" warning to this include.

This change introduced in 2.36.2 but latest debian have 2.36.1, and ubuntu 
12.04 have 2.36.1 too.

2. "Fixed warnings" change in osg.

https://github.com/openscenegraph/osg/commit/42903703d27429a6dcd08e98bce5e95e32c9c18b
Looks like Robert have librsvg >= 2.36.2. He fixed warnings, but it broke build 
with older versions.

I see 2 solutions of this issue:
1. Change minimal required version to 2.36.2 in CMakeModules/FindRSVG.cmake 
2. Return back #include < librsvg/rsvg-cairo.h > to 
src/osgPlugins/svg/ReaderWriterSVG.cpp

May be we have another solution?
It would be nice if we fix build with old versions librsvg.

Thank you!

Cheers,
Alexander

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=60033#60033





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to