For those interested I got it working. This is what I needed to do: 1) Download libxml from http://www.zlatkovic.com/pub/libxml/ 2) Download iconv from http://www.zlatkovic.com/pub/libxml/ 3) zlib is alread included in 3rdParty downloads. 4) Put those in paths that Visual Studio finds. 5) Download COLLADA_DOM from http://sourceforge.net/project/showfiles.php?group_id=157838 <http://sourceforge.net/project/showfiles.php?group_id=157838&package_id=179 414&release_id=463451> &package_id=179414&release_id=463451 6) Compile the DOM 7) Move libs, includes and dlls to locations found by Visual Studio. 8) #if 0 out code in osgPlugin COLLADA dae::daeUtils.h #if 0 template <typename T> inline T *daeSafeCast( daeElement *element ) { if ( element && element->getMeta() == T::_Meta ) return (T *)element; return NULL; } #endif 9) Compile OpenSceneGraph
Zach -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Osfield Sent: Sunday, November 26, 2006 09:16 To: osg users Subject: Re: [osg-users] Compiling collada HI Zach, I'd recommend using the CVS version of the our COLLADA plugin. It haven't yet checked in the removal of the daeSafeCast yet though, as I'd like to find a solution that works with both the svn version of the DOM and latest tagged release. As Chris mentions perhaps depdency on the DOM isn't the best way forward and falling back to using our of XML parsing code would be the cleanest and most supportable route. Robert. On 11/25/06, Zach Deedler <[EMAIL PROTECTED]> wrote: > I got COLLADA_DOM compiling, but now I am getting 'ambiguous call to > overloaded function' errors when trying to compile the collada plugin. > Argh! > > These errors: > > OpenSceneGraph\src\osgPlugins\dae\daeWTransforms.cpp(33): error C2668: > 'osgdae::daeSafeCast' : ambiguous call to overloaded function > OpenSceneGraph\src\osgPlugins\dae\daeWTransforms.cpp(37): error C2668: > 'daeSafeCast' : ambiguous call to overloaded function > OpenSceneGraph\src\osgPlugins\dae\daeUtils.h(22): could be 'T > *osgdae::daeSafeCast<domNode>(daeElement *)' > with > [ > T=domNode > ] > dae\daeElement.h(469): or 'T *daeSafeCast<domNode>(daeElement > *)' [found using argument-dependent lookup] > with > [ > T=domNode > ] > while trying to match the argument list '(daeElement *)' > > > Zach > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Zach > Deedler > Sent: Saturday, November 25, 2006 17:46 > To: 'osg users' > Subject: [osg-users] Compiling collada > > Hello, > > I'm finally upgrading from OSG 1.0 to 1.2. > > PROBLEM > I'm having trouble compiling the collada plugin, or finding > information on how to do so. > > INVESTIGATION > 1) Looks like the plugin requires 3rd Party libraries. > 2) I've downloaded collada DOM at > http://osgdb-collada.cvs.sourceforge.net/osgdb-collada/osgdb_dae14/ > 3) That looks like it also requires libxml. > 4) I am using VS7. > > Anybody have any information on this? > > Thanks. > > Zach Deedler > FAAC Incorporated > 1229 Oak Valley Dr. > Ann Arbor, Michigan 48108 > Phone: (734)761-5836 Ext.303 > Fax: (734)761-5368 > email: [EMAIL PROTECTED] > <http://www.faac.com> > > _______________________________________________ > osg-users mailing list > [email protected] > http://openscenegraph.net/mailman/listinfo/osg-users > http://www.openscenegraph.org/ > > _______________________________________________ > osg-users mailing list > [email protected] > http://openscenegraph.net/mailman/listinfo/osg-users > http://www.openscenegraph.org/ > _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
