Hi Alexander,
Thanks for the detective work. Your last suggestion of :
extern C {
#include librsvg/rsvg.h
+#ifndef LIBRSVG_CHECK_VERSION
+#include librsvg/rsvg-cairo.h
+#endif
}
Is what I went with, short and sweet ;-)
I've also merged into the OSG-3.2 branch the
Hi Robert
Sorry, there is one unwanted whitespace in include line, which i used to avoid
form parser.
[ 96%] Building CXX object
src/osgPlugins/svg/CMakeFiles/osgdb_svg.dir/ReaderWriterSVG.o
/home/buildbot/slave/build-osg-debian/build/src/osgPlugins/svg/ReaderWriterSVG.cpp:28:41:
fatal error:
Hi Alexander,
On 28 June 2014 22:30, Alexander Sinditskiy verybigbad...@gmail.com wrote:
I attached file with changes. It builds fine for me.
Thanks for the changes. Which version of the OSG are you testing
against? Which version of RVSG are you testing against?
In OSG-3.2 branch the OSG's
Oopps accidentally sent last post before I was ready. Meant to add:
I wonder if one could do the following:
#if !defined(LIBRSVG_CHECK_VERSION) || !LIBRSVG_CHECK_VERSION(2, 36, 2)
#include librsvg/rsvg-cairo.h
#endif
So the whole block would look like:
extern C {
#include
Hi,
Hello Robert
Thanks for the changes. Which version of the OSG are you testing
against? Which version of RVSG are you testing against?
I have RSVG 2.36.1
I tested my changes in OpenSceneGraph-3.2 and master/trunk branches.
The second #if LIBRSVG_CHECK_VERSION assumes that either
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
Hi Alexander,
I don't have the old version of RSVG available to test against now.
Reverting to support an older version may be possible, but it might
get awkward. I don't recall all changes now, Ubuntu 12.04 is two
years old.
As a quick fix would be to refine the version check - in svn/trunk
Hi, Robert
Does svn/trunk and OSG-3.2 branch compile OK for you?
no.
I am using github mirror, this is logs from 2 vms
both vm have same setup similar to ... apt-get build-dep openscenegraph
and both failed due to rsvg
build logs:
Debian GNU/Linux 7.5 (wheezy)
failed: master
HI Alexander,
Could you try putting an #ifdef guard around the #include to allow the
appropriate version to be included with different versions of RSVG?
Thanks,
Robert.
On 28 June 2014 21:17, Alexander Sinditskiy verybigbad...@gmail.com wrote:
Hi, Robert
Does svn/trunk and OSG-3.2 branch
Hi Robert
I attached file with changes. It builds fine for me.
Thank you!
Cheers,
Alexander
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=60038#60038
/* -*-c++-*- Copyright (C) 2008 Miguel Escriva Gregori
*
* This library is open source
Hi Sajjadul,
I think then you can simply comment out the ADD_SUBDIRECTORY(svg) line in
src/osgplugins/CMakeLists.txt. Not so nice but it will bury the problem.
best,
Tianlan Shao
On Thu, Apr 24, 2014 at 11:53 AM, Sajjadul Islam dosto.wa...@gmail.comwrote:
Hi,
I did not find any option inside
Hi,
I did not find any option inside the cmake-gui
Thank you!
Cheers,
Sajjadul
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=59143#59143
___
osg-users mailing list
HI Sajjadul,
Removing the path pointing to libsvg library and headers in the cmakegui
should solve your issue
cheers
Sebastian
Hi,
How to disable the plugin from within the cmake ?
I did not find any opetion to do it
Thank you!
Cheers,
Sajjadul
--
Read this topic online
Hi Sajjadul,
apparentlly to me the problem is that you were trying to build the plugin
osgdb_svg. And osgdb_svg depends on librsvg, which should have been found
(otherwise CMake wouldn't have added the target osgdb_svg). But librsvg
depends on Cairo, which was somehow not correctly found.
Do you
Hi,
How to disable the plugin from within the cmake ?
I did not find any opetion to do it
Thank you!
Cheers,
Sajjadul
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=59077#59077
___
osg-users
Hi forum,
I am trying to compile the recent stable version from source on ubuntu 12.04
and i am having the following compilation error:
Code:
[ 85%] Built target osgdb_qfont
[ 86%] Built target osgdb_zip
[ 86%] Building CXX object
src/osgPlugins/svg/CMakeFiles/osgdb_svg.dir/ReaderWriterSVG.o
16 matches
Mail list logo