mathew_davis
09-01-2008 03:44:55
I have tried everything I can think of and I must be missing something stupid but I can't seem to track it down hopefully someone can point me in the right direction. So I went to walaber.com and downloaded OgreNewt along with the ogre sdk. I followed the tutorial and I can get all of the examples that come with the ogrenewt package, but when I do the rest of the tutorial I get the following errors
I thought it was that I was missing the ogrenewt_main.lib but I checked my project and as far as I can tell it's all there. If anyone can point me in the right direction I would sure appreciate it.
1>------ Build started: Project: Test_Bucket, Configuration: Release Win32 ------
1>Linking...
1>Test_Bucket.obj : error LNK2001: unresolved external symbol "public: __thiscall OgreNewt::World::~World(void)" (??1World@OgreNewt@@QAE@XZ)
1>Test_Bucket.obj : error LNK2001: unresolved external symbol "public: __thiscall OgreNewt::World::World(void)" (??0World@OgreNewt@@QAE@XZ)
1>Test_Bucket.obj : error LNK2001: unresolved external symbol "class Ogre::Vector3 __cdecl OgreNewt::MomentOfInertia::CalcCylinderSolid(float,float,float)" (?CalcCylinderSolid@MomentOfInertia@OgreNewt@@YA?AVVector3@Ogre@@MMM@Z)
1>Test_Bucket.obj : error LNK2001: unresolved external symbol "class Ogre::Vector3 __cdecl OgreNewt::MomentOfInertia::CalcBoxSolid(float,class Ogre::Vector3 const &)" (?CalcBoxSolid@MomentOfInertia@OgreNewt@@YA?AVVector3@Ogre@@MABV34@@Z)
1>Test_Bucket.obj : error LNK2001: unresolved external symbol "public: void __thiscall OgreNewt::Body::setMassMatrix(float,class Ogre::Vector3 const &)" (?setMassMatrix@Body@OgreNewt@@QAEXMABVVector3@Ogre@@@Z)
1>Test_Bucket.obj : error LNK2001: unresolved external symbol "public: void __thiscall OgreNewt::Body::setPositionOrientation(class Ogre::Vector3 const &,class Ogre::Quaternion const &)" (?setPositionOrientation@Body@OgreNewt@@QAEXABVVector3@Ogre@@ABVQuaternion@4@@Z)
1>Test_Bucket.obj : error LNK2001: unresolved external symbol "public: void __thiscall OgreNewt::Body::setStandardForceCallback(void)" (?setStandardForceCallback@Body@OgreNewt@@QAEXXZ)
1>Test_Bucket.obj : error LNK2001: unresolved external symbol "public: void __thiscall OgreNewt::Body::attachToNode(class Ogre::Node *)" (?attachToNode@Body@OgreNewt@@QAEXPAVNode@Ogre@@@Z)
1>Test_Bucket.obj : error LNK2001: unresolved external symbol "public: __thiscall OgreNewt::Body::Body(class OgreNewt::World const *,class OgreNewt::Collision const *,int)" (??0Body@OgreNewt@@QAE@PBVWorld@1@PBVCollision@1@H@Z)
1>Test_Bucket.obj : error LNK2001: unresolved external symbol "public: __thiscall OgreNewt::CollisionPrimitives::Box::Box(class OgreNewt::World const *,class Ogre::Vector3 const &,class Ogre::Quaternion const &,class Ogre::Vector3 const &)" (??0Box@CollisionPrimitives@OgreNewt@@QAE@PBVWorld@2@ABVVector3@Ogre@@ABVQuaternion@5@1@Z)
1>Test_Bucket.obj : error LNK2001: unresolved external symbol "public: __thiscall OgreNewt::CollisionPrimitives::Cone::Cone(class OgreNewt::World const *,float,float,class Ogre::Quaternion const &,class Ogre::Vector3 const &)" (??0Cone@CollisionPrimitives@OgreNewt@@QAE@PBVWorld@2@MMABVQuaternion@Ogre@@ABVVector3@5@@Z)
1>Test_Bucket.obj : error LNK2001: unresolved external symbol "public: __thiscall OgreNewt::CollisionPrimitives::Cylinder::Cylinder(class OgreNewt::World const *,float,float,class Ogre::Quaternion const &,class Ogre::Vector3 const &)" (??0Cylinder@CollisionPrimitives@OgreNewt@@QAE@PBVWorld@2@MMABVQuaternion@Ogre@@ABVVector3@5@@Z)
1>Test_Bucket.obj : error LNK2001: unresolved external symbol "public: __thiscall OgreNewt::BasicFrameListener::BasicFrameListener(class Ogre::RenderWindow *,class Ogre::SceneManager *,class OgreNewt::World *,int)" (??0BasicFrameListener@OgreNewt@@QAE@PAVRenderWindow@Ogre@@PAVSceneManager@3@PAVWorld@1@H@Z)
1>MSVCRT.lib(crtexew.obj) : error LNK2001: unresolved external symbol _WinMain@16
1>..\..\bin\Release/Test_Bucket.exe : fatal error LNK1120: 14 unresolved externals
1>Build log was saved at "file://c:\Documents and Settings\Mathew_Davis.USOR-ENG\Desktop\project\TempNew\source\obj\Release\BuildLog.htm"
1>Test_Bucket - 15 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
I thought it was that I was missing the ogrenewt_main.lib but I checked my project and as far as I can tell it's all there. If anyone can point me in the right direction I would sure appreciate it.