Hey dtidev,

 

First you have to make sure you have the .libs for those classes
included in your project.

Also your executable will need access to the corresponding .dlls for
those classes. E.g. Copy the dlls to the directory where your executable
is.  

 

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, May 01, 2008 3:06 PM
To: osg-users@lists.openscenegraph.org
Subject: [osg-users] LNK4217, LNK2019 Errors when compiling OSG

 

Greetings - 



In compiling osg 1.2, I am getting the following problems:

LNK4217 - Locally defined symbol warning: 

osgplanets.obj : warning LNK4217: locally defined symbol
[EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@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)"
([EMAIL PROTECTED]@osg@@$09$02$0BEAG@@osg@@[EMAIL PROTECTED]@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)"
([EMAIL PROTECTED]@osg@@[EMAIL PROTECTED]@@Z) referenced
in function "class osg::AnimationPath * __cdecl
createAnimationPath(class osg::Vec3f const &,float,double)"
(?createAnimationPath@@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL PROTECTED])



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!

________________________________

Plan your next roadtrip with MapQuest.com
<http://www.mapquest.com/?ncid=mpqmap00030000000004> : America's #1
Mapping Site. 

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

Reply via email to