[osg-users] LNK4217, LNK2019 Errors when compiling OSG
dtidev at aol.com
dtidev at aol.com
Thu May 1 12:05:43 PDT 2008
Greetings -
In compiling osg 1.2, I am getting the following problems:
LNK4217 - Locally defined symbol warning:
osgplanets.obj : warning LNK4217: locally defined symbol ??0Array at osg@@QAE at W4Type@01 at HI@Z (public: __thiscall osg::Array::Array(enum osg::Array::Type,int,unsigned int)) imported in function "public: __thiscall osg::TemplateArray<class osg::Vec3f,10,3,5126>::TemplateArray<class osg::Vec3f,10,3,5126>(unsigned int)" (??0?$TemplateArray at VVec3f@osg@@$09$02$0BEAG@@osg@@QAE at I@Z)
LNK2019 - Locally defined symbol warning:
osgplanets.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall osg::AnimationPath::setLoopMode(enum osg::AnimationPath::LoopMode)" (__imp_?setLoopMode at AnimationPath@osg@@QAEXW4LoopMode at 12@@Z) referenced in function "class osg::AnimationPath * __cdecl createAnimationPath(class osg::Vec3f const &,float,double)" (?createAnimationPath@@YAPAVAnimationPath at osg@@ABVVec3f at 2@MN at Z)
All of the stuff i can find on unresolved externals is make sure all projects are compiled with /MTd for threading.
Really not sure what to do about LNK4217
Has anybody compiled OSG successfully on windows?
I've tried visual studio 2005 and 2008.
Any advice would be most helpful.
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080501/4990e138/attachment.htm
More information about the osg-users
mailing list