Hello Alberto,
From: Alberto Luaces <[email protected]>
Hi Bill,
I'm compiling with cairo 1.12.16 here on Debian. If SVG support is not
strictly required, you may deactivate it in order to skip that plugin.
I searched for an option to disable the SVG support in the list of
CMake options, but I couldn't find one. And I also searched through
the "Advanced" list of options. I did find some that mention "QTSVG"
(or QSVG), but they didn't point to libcairo or anything similar.
Has this option vanished, or am I overlooking it?
From: Robert Osfield <[email protected]>
HI Bill,
Looks like we'll need to add a check against old version of cairo to
prevent building against them. I presume most others don't have this issue
because they are using more modern versions of cairo. I have 1.12.16
installed on my Kubuntu 12.10 that works fine. I wouldn't like to make
this the minimum version though as older revs' should work fine too. So we
have something between 1.8.8 that you have and 1.12.16 that I have.
Okay, so I'm running RedHat enterprise Linux 6.4, which is a fairly
recent RHEL distribution, but RHEL lags behind on many of the packages
by quite a long time.
And while I prefer to use packages, obviously I'm compiling OSG, so I
don't avoid compiling at all costs -- but I like to keep things more or
less standard on the "basic" stuff in case multiple advanced packages
rely on them.
So I went ahead and compiled version 1.12.16 ... and installed it -- had
to move the files though because I forgot to specify the "64" in
/usr/local/lib64. (So if there were a CMake option where I could verify
where the include and library files for Cairo are to be used, that would
also be handy.)
For the life of me though, I've done several entirely clean builds of
OSG after installing the new Cairo, but I continually get the same
messages as yesterday. If there is a way for me to see what files
CMake is directing in the build process, that would be great. Or
if there's a quick way to disable the SVG feature.
FYI, I recall that Cairo deprecated/removed a set of functions that we used
to use so I had to update the code to the new non deprecated equivlants,
there is good chance in making these changes to be compatible with modern
versions of Cairo backwards compatibility was lost for much older versions.
Does any know of a list of Cairo features and when they were introduced?
Robert.
Thank you both for your help and advice.
Bill
P.S. if you could CC me in your reply -- I get the list in digest form,
so I'm not seeing the responses until the late afternoon -- that would
be handy. Thanks again!
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org