Hi folks, I've run into similar problems over the past week. I've done both Studio 2003 and Studio 2005 builds and have run across files left out of the Studio projects. This was built from a fresh, complete download from CVS.
It looks like the SwitchMaterial*.* files have not been carried over to the Studio projects. I edited the SystemLib.vcproj file manually, using SimpleMaterial*.* references as a guideline to insert SwitchMaterial*.* items, and have been able to compile and run. Chuck Bueche From: Andreas Zieringer <[EMAIL PROTECTED]> Re: Linking problem in .Net 2003 v7.1 2006-04-17 09:57 Hi Antonio, looks like a dependency problem old compiled code and new header files. Can you try to delete all *.obj files and rebuild everything. Andreas > Hi, > > I have a linking problem with last cvs version of OpenSG. > I compile with VS .Net 2003 on Windows XP platform. > This is the output: > > ------ Build started: Project: SystemLib, Configuration: Debug Win32 ------ > > Linking... > LINK : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/INCREMENTAL:NO' > specification > Creating library .\..\lib\dbg/OSGSystem.lib and object > .\..\lib\dbg/OSGSystem.exp > > OSGRenderAction.obj : error LNK2001: unresolved external symbol > "private: static class osg::FieldContainerType > osg::SwitchMaterialBase::_type" > ([EMAIL PROTECTED]@osg@@[EMAIL PROTECTED]@A) > > OSGRenderAction.obj : error LNK2019: unresolved external symbol > "public: class osg::FCPtr __thiscall > osg::SwitchMaterial::getCurrentMaterial(void)" > ([EMAIL PROTECTED]@osg@@[EMAIL PROTECTED] > [EMAIL PROTECTED]@@[EMAIL PROTECTED]@@[EMAIL PROTECTED]) referenced in > function "protected: void > __thiscall osg::RenderAction::getMaterialStates(class osg::Material *,class > std::vector > &)" > ([EMAIL PROTECTED]@osg@@[EMAIL PROTECTED]@[EMAIL PROTECTED] > @osg@@[EMAIL PROTECTED]@osg@@@std@@@std@@@Z) > > OSGRenderAction.obj : error LNK2019: unresolved external symbol > "protected: __thiscall osg::SwitchMaterial::SwitchMaterial(void)" > ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) referenced in function "protected: > static > void __cdecl osg::FieldContainer::newPtr,class osg::SwitchMaterial> >(class > osg::FCPtr,class osg::SwitchMaterial> &)" > ([EMAIL PROTECTED]@[EMAIL PROTECTED]@osg@@[EMAIL PROTECTED]@@osg@@ > [EMAIL PROTECTED]@@osg@@@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@VAttachm > [EMAIL PROTECTED]@@[EMAIL PROTECTED]@@osg@@[EMAIL PROTECTED]@@1@@Z) > ..\lib\dbg\OSGSystem.dll : fatal error LNK1120: 3 unresolved externals > > > Help me!! > > Thanks in advance, > Antonio. > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Opensg-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/opensg-users > > ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
