Hi All,

I have just added Cmake support for Jasper and checked this in.  Adding it
was pretty straightforward, mainly a case of copy and pasting a new
OpenSceneGraph/CMakeModules/FindJasper.cmake file, and few tweaks to a few
CMakeLists.txt files.

I was hoping that adding COLLADA support will just as straightforward, but
alas... it doesn't seem that way.  First up my COLLADA_DOM doesn't have a
make install option, so where might one install it??  In the past I've just
used env vars to tell the old unix build system where to find COLLADA, while
workable this is something that you'd want as a fallback, rather than the
default.

The other issue I'm not sure about tackling is the fact that you need to
link against multiple Collada libs for the OSG plugin, this is what was
included in the OSG-1.2 version:
COLLADA_DAE_LIBS +=  -lcollada_dae -lcollada_dom -lcollada_dae
-lcollada_STLDatabase -lcollada_LIBXMLPlugin -lcollada_stdErrPlugin -lxml2

The old 1.2 GNUmakefiule also used the follow libs to locate Collada.

COLLADA_DAE_HOME
COLLADA_DAE_INCLUDES

So suggestions?  Where might Collada be installed by default is there is no
install as part of the Collada distribution?

What would be the best form for handling the multiple includes?

You are also welcome to jump in a implement CMake collada support for me,
and save my RSI :-)

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to