Hi Fred, The "missing" method that osgWrappers/osgDB is complaining about being missing is implemented, so my best guess is that the OSGDB_EXPORT is required for DatabaseThread to enable build under VS for the wrapper. The addition of OSGDB_EXPORT is now checked in, could you do a svn update.
Robert. On Thu, Jun 5, 2008 at 6:57 PM, Fred Zyda <[EMAIL PROTECTED]> wrote: > Thanks so much! I got the latest SVN version and now dae seems to work, > but I'm getting the following errors for the osgDB: > > Error 1 error LNK2019: unresolved external symbol "public: > __thiscall osgDB::DatabasePager::DatabaseThread::DatabaseThread(class > osgDB::DatabasePager *,enum > osgDB::DatabasePager::DatabaseThread::Mode,class > std::basic_string<char,struct std::char_traits<char>,class > std::allocator<char> > const &)" > ([EMAIL PROTECTED]@osgDB@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL > PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@2@@std@@@Z) > referenced in function "public: static class osgIntrospection::Value > __cdecl osgIntrospection::ObjectInstanceCreator<class > osgDB::DatabasePager::DatabaseThread>::create<class osgDB::DatabasePager > *,enum osgDB::DatabasePager::DatabaseThread::Mode,class > std::basic_string<char,struct std::char_traits<char>,class > std::allocator<char> > const &>(class osgIntrospection::Value &,class > osgIntrospection::Value &,class osgIntrospection::Value &)" > ([EMAIL PROTECTED]@osgDB@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL > PROTECTED]@std@@[EMAIL PROTECTED]@2@@std@@@[EMAIL PROTECTED]@[EMAIL > PROTECTED]@@@osgIntrospection@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@Z) > DatabasePager.obj > Error 2 error LNK2019: unresolved external symbol "public: > __thiscall osgDB::DatabasePager::DatabaseThread::DatabaseThread(class > osgDB::DatabasePager::DatabaseThread const &,class osgDB::DatabasePager > *)" ([EMAIL PROTECTED]@osgDB@@[EMAIL PROTECTED]@PAV12@@Z) > referenced in function "public: static class osgIntrospection::Value > __cdecl osgIntrospection::ObjectInstanceCreator<class > osgDB::DatabasePager::DatabaseThread>::create<class > osgDB::DatabasePager::DatabaseThread const &,class osgDB::DatabasePager > *>(class osgIntrospection::Value &,class osgIntrospection::Value &)" > ([EMAIL PROTECTED]@[EMAIL PROTECTED]@@PAV23@@[EMAIL PROTECTED]@[EMAIL > PROTECTED]@@@osgIntrospection@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@Z) > DatabasePager.obj > Error 3 fatal error LNK1120: 2 unresolved externals > C:\OpenSceneGraph-2.4.0\OpenSceneGraph\bin\osgPlugins-2.5.1\osgwrapper_osgDBd.dll > 1 > > Has anyone seen these before? Am I missing something obvious? Thanks > again for your help. > > -Fred Zyda > > 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. >> >> 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 >>> [email protected] >>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >>> >>> >> >> >> _______________________________________________ >> osg-users mailing list >> [email protected] >> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >> > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

