Steven Thomas wrote:

You're using the OSG 2.4 release then with DOM 2.1? Due to some breaking
changes in the DOM, OSG didn't work with the latest version of the DOM
(2.0 and up) until sometime in early May. Seems like we just missed the
OSG 2.4 release.
Yes the fix was in r8282, osg 2.4 was released around r8238. This sounds like a good candidate for inclusion in 2.4.1.

Paul

You have a few options. Checkout the latest OSG from svn, which uses DOM
2.1. Or revert back to an older version of the DOM, like 1.3. I think
the first option is probably the better choice in this case, since I
can't vouch that the old DOM with OSG 2.4 will work properly.

Steve

On Wed, 2008-06-04 at 17:04 -0700, Fred Zyda wrote:
Hello Everyone,

I'm trying to get OSG to compile with Collada on a Windows box under Visual Studio 2005 and I can't get Plugins dae to compile. I keep getting the following errors:

Error 1 error C2512: 'daeURI' : no appropriate default constructor available c:\OpenSceneGraph-2.4.0\OpenSceneGraph\src\osgPlugins\dae\daeWriter.cpp 29 Error 2 error C2664: 'daeURI::daeURI(DAE &)' : cannot convert parameter 1 from 'const char *' to 'DAE &' c:\OpenSceneGraph-2.4.0\OpenSceneGraph\src\osgPlugins\dae\daeWMaterials.cpp 102 Error 3 error C2039: 'getFilepath' : is not a member of 'daeURI' c:\OpenSceneGraph-2.4.0\OpenSceneGraph\src\osgPlugins\dae\daeRMaterials.cpp 623 Error 4 error C2039: 'getFilepath' : is not a member of 'daeURI' c:\OpenSceneGraph-2.4.0\OpenSceneGraph\src\osgPlugins\dae\daeRMaterials.cpp 625 Error 5 error C2039: 'getFile' : is not a member of 'daeURI' c:\OpenSceneGraph-2.4.0\OpenSceneGraph\src\osgPlugins\dae\daeRMaterials.cpp 627 Error 6 error C2039: 'getFile' : is not a member of 'daeURI' c:\OpenSceneGraph-2.4.0\OpenSceneGraph\src\osgPlugins\dae\daeRMaterials.cpp 629 Error 7 error C2039: '_Meta' : is not a member of 'domP' c:\OpenSceneGraph-2.4.0\OpenSceneGraph\src\osgPlugins\dae\daeRGeometry.cpp 314 Error 8 error C2065: '_Meta' : undeclared identifier c:\OpenSceneGraph-2.4.0\OpenSceneGraph\src\osgPlugins\dae\daeRGeometry.cpp 314 Error 9 error C2227: left of '->create' must point to class/struct/union/generic type c:\OpenSceneGraph-2.4.0\OpenSceneGraph\src\osgPlugins\dae\daeRGeometry.cpp 314
I've tried the fix from this archived post:

http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/2007-October/003826.html

But it didn't work and I got exactly the same errors. Can anyone help me fix this? Thanks so much for your help.

-Fred Zyda
_______________________________________________
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-openscenegraph.org


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

Reply via email to