Thanks for the info. I'll look into fixing OSG's CMake to support both debug
and release DOM libs.
   -Paul


> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of [EMAIL PROTECTED]
> Sent: Wednesday, May 21, 2008 4:03 PM
> To: OpenSceneGraph Users
> Subject: Re: [osg-users] COLLADA DOM version requirements
> 
> Yeah, I had the same problem. I don't think the Collada 
> plugin's CMake setup is very good right now unfortunately. 
> The big problem here is that linking the release version of 
> the DOM into the debug version of OSG won't work. Not on 
> Windows anyway. Same goes for trying to link the debug DOM 
> into the release OSG. So no matter how you set the current 
> CMake parameters either debug or release won't be configured properly.
> 
> I think there are two options: (a) Modify the generated 
> vcproj files to link against the proper DOM config for both 
> debug and release, (b) Fix the Collada plugin's CMake files 
> to set up proper linking out of the box. Obviously (b) is the 
> better long-term solution. I started looking into this a bit 
> on Monday but I really have very little CMake experience and 
> didn't make much progress. Hopefully someone can contribute a 
> patch at some point.
> 
> Steve
> 
> On Wed, 2008-05-21 at 15:52 -0600, Paul Martz wrote:
> > Thanks, Steve -- Yep, building from DOM v2.1 source turned 
> out to be 
> > trivial and I've now successfully built the OSG plugin.
> > 
> > The DOM's VS8 proj/sln files place debug and release libs in two 
> > different places, but I only saw one OSG CMAKE variable for the 
> > COLLADA library, so I must choose one or the other. Are there any 
> > issues with debug OSG linking against release DOM (other 
> than I can't debug the DOM, obviously)?
> > 
> > Thanks,
> >    -Paul
> > 
> > 
> > 
> > > 
> > > Yeah, OSG uses DOM 2.1 now. There are no pre-built 
> binaries for the 
> > > DOM anymore. You'll need to build it yourself, which is fairly 
> > > simple as long as you have a recent version of Visual 
> Studio (2005 
> > > or 2008).
> > > Instructions are available on the DOM wiki:
> > > http://collada.org/mediawiki/index.php/DOM_guide:_Setting_up
> > > 
> > > Steve
> > > 
> > > On Wed, 2008-05-21 at 14:57 -0600, Paul Martz wrote:
> > > > I dug through the archives and found a post from January saying 
> > > > OSG worked with COLLADA 1.4.1 DOM 1.3; is this no longer the
> > > case? Because
> > > > I'm getting several compile errors with the current SVN 
> head of OSG.
> > > >  
> > > > Assuming I need to upgrade the COLLADA DOM, can anyone 
> point me to 
> > > > prebuilt Windows binaries? I've only been able to find 
> COLLADA DOM 
> > > > source in my searches so far.
> > > >  
> > > > Thanks,
> > > >  
> > > > Paul Martz
> > > > Skew Matrix Software LLC
> > > > http://www.skew-matrix.com
> > > > +1 303 859 9466
> > > >  
> > > > _______________________________________________
> > > > osg-users mailing list
> > > > osg-users@lists.openscenegraph.org
> > > > 
> > > 
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.
> > > > org
> > > 
> > > 
> > > _______________________________________________
> > > osg-users mailing list
> > > osg-users@lists.openscenegraph.org
> > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-opensce
> > negraph.org
> > 
> > _______________________________________________
> > osg-users mailing list
> > osg-users@lists.openscenegraph.org
> > 
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.
> > org
> > 
> 
> 
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-opensce
negraph.org

_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to