Hi again, Since I got stuck on linux I continued my little adventure on windows VC9sp1. Unfortunately I got stuck at pretty much the same spot. I wonder if my problems on these two platforms have something in common. My OSG static libs built fine under windows but when I try to use them in my app (swapping them out for the synamic ones) I get linker problems:
Code: Linking... testApp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall osg::Box::Box(class osg::Vec3f const &,float)" (__imp_??0...@osg@@q...@abvvec3f@1...@m@Z) testApp.obj : error LNK2001: unresolved external symbol "public: virtual class osg::Object * __thiscall osg::Box::cloneType(void)const " (?clonet...@box@osg@@ubepavobj...@2@XZ) testApp.obj : error LNK2001: unresolved external symbol "public: virtual class osg::Object * __thiscall osg::Box::clone(class osg::CopyOp const &)const " (?cl...@box@osg@@ubepavobj...@2@abvcop...@2@@Z) testApp.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall osg::Box::isSameKindAs(class osg::Object const *)const " (?issamekin...@box@osg@@ube_npbvobj...@2@@Z) testApp.obj : error LNK2001: unresolved external symbol "public: virtual char const * __thiscall osg::Box::libraryName(void)const " (?libraryn...@box@osg@@UBEPBDXZ) testApp.obj : error LNK2001: unresolved external symbol "public: virtual char const * __thiscall osg::Box::className(void)const " (?classn...@box@osg@@UBEPBDXZ) testApp.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall osg::Box::accept(class osg::ConstShapeVisitor &)const " (?acc...@box@osg@@ubexaavconstshapevisi...@2@@Z) testApp.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall osg::Box::accept(class osg::ShapeVisitor &)" (?acc...@box@osg@@uaexaavshapevisi...@2@@Z) testApp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall osgGA::EventQueue::windowResize(int,int,int,int)" (__imp_?windowres...@eventqueue@osgGA@@qaexh...@z) testApp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall osg::GraphicsContext::resized(int,int,int,int)" (__imp_?resi...@graphicscontext@osg@@qaexh...@z) ofxOsgNode.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall osg::BlendFunc::setFunction(unsigned int,unsigned int)" (__imp_?setfunct...@blendfunc@osg@@qae...@z) ofxOsgNode.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class osg::Vec3d const & __thiscall osg::PositionAttitudeTransform::getPosition(void)const " (__imp_?getposit...@positionattitudetransform@osg@@qbeabvve...@2@XZ) ofxOsgNode.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class osg::Quat const & __thiscall osg::PositionAttitudeTransform::getAttitude(void)const " (__imp_?getattit...@positionattitudetransform@osg@@qbeabvq...@2@XZ) ofxOsgNode.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class osg::Vec3d const & __thiscall osg::PositionAttitudeTransform::getPivotPoint(void)const " (__imp_?getpivotpo...@positionattitudetransform@osg@@qbeabvve...@2@XZ) bin\graphicsExample.exe : fatal error LNK1120: 14 unresolved externals Any immediate thoughts? ------------------------ stefan hechenberger http://linear.nortd.com ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=14267#14267 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org