[osg-users] Collada and OSG

Voerman, L. l.voerman at rug.nl
Mon Jan 9 02:40:38 PST 2017


Hi Uma
I'm using collada_dom-2.3.1-src.tgz with boost 1.5.8 on windows 10 with
VS2015

wget --no-check-certificate
http://downloads.sourceforge.net/project/collada-dom/Collada%20DOM/Collada%20DOM%202.3/collada_dom-2.3.1-src.tgz

wget wget
http://downloads.sourceforge.net/project/boost/boost/1.58.0/boost_1_58_0.7z

to build with visual studio 2015 collada needs a little mod: in
CMakeLists.txt replace
  else()
    set(MSVC_PREFIX "vc100")
with:
  elseif( MSVC10 )
     set(MSVC_PREFIX "vc100")
  elseif( MSVC11 )
     set(MSVC_PREFIX "vc110")
  elseif( MSVC12 )
     set(MSVC_PREFIX "vc120")
  elseif( MSVC14 )
     set(MSVC_PREFIX "vc140")
  else()
#guessing next version...
    set(MSVC_PREFIX "vc150")
#---------------------------------------------------------------

I configure collada with cmake  -DOPT_COLLADA15:bool=OFF
not sure if thats required, I think the .dae files written out cannot be
read by osg again if this option is not OFF.

Regards, Laurens.


On Fri, Jan 6, 2017 at 10:24 AM, Robert Osfield <robert.osfield at gmail.com>
wrote:

> On 6 January 2017 at 08:25, Uma Devi Selvaraj <umaselvam1503 at gmail.com>
> wrote:
> >     I am using OSG 3.4.0 in windows 10 (VS2015).
>
> I haven't test 3.4.0 against COLLADA DOM 2.4.0 so can't say for sure
> whether one should expect it to work, my guess is that OSG-3.4.0 came
> before DOM 2.4.0 so wasn't tested against it.  You can't future proof
> software for changes in 3rd dependencies so problems like this do
> arise from time to time.
>
> It's probably best to just update to 3.4 branch.
>
> Robert.
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20170109/0e7098ad/attachment-0002.htm>


More information about the osg-users mailing list