[Solved]Linker errors

peter86

04-07-2006 13:31:39

Hey,

I'm getting essentially the same linker errors no matter which demo I try building. Using VC 8, Dagon and Newton 1.5.


------ Build started: Project: Demo01_TheBasics, Configuration: Release Win32 ------
Linking...
OgreNewtonFrameListener.obj : error LNK2019: unresolved external symbol __imp__NewtonBodySetVelocity referenced in function "public: void __thiscall OgreNewt::Body::setVelocity(class Ogre::Vector3 const &)" (?setVelocity@Body@OgreNewt@@QAEXABVVector3@Ogre@@@Z)
OgreNewt_Main.lib(OgreNewt_World.obj) : error LNK2019: unresolved external symbol __imp__NewtonUpdate referenced in function "public: void __thiscall OgreNewt::World::update(float)" (?update@World@OgreNewt@@QAEXM@Z)
OgreNewt_Main.lib(OgreNewt_World.obj) : error LNK2019: unresolved external symbol __imp__NewtonGetTimeStep referenced in function "public: float __thiscall OgreNewt::World::getTimeStep(void)const " (?getTimeStep@World@OgreNewt@@QBEMXZ)
OgreNewt_Main.lib(OgreNewt_World.obj) : error LNK2019: unresolved external symbol __imp__NewtonSetWorldSize referenced in function "public: void __thiscall OgreNewt::World::setWorldSize(class Ogre::Vector3 const &,class Ogre::Vector3 const &)" (?setWorldSize@World@OgreNewt@@QAEXABVVector3@Ogre@@0@Z)
OgreNewt_Main.lib(OgreNewt_World.obj) : error LNK2019: unresolved external symbol __imp__NewtonDestroy referenced in function "public: __thiscall OgreNewt::World::~World(void)" (??1World@OgreNewt@@QAE@XZ)
OgreNewt_Main.lib(OgreNewt_World.obj) : error LNK2019: unresolved external symbol __imp__NewtonMaterialGetDefaultGroupID referenced in function "public: __thiscall OgreNewt::World::World(void)" (??0World@OgreNewt@@QAE@XZ)
OgreNewt_Main.lib(OgreNewt_World.obj) : error LNK2019: unresolved external symbol __imp__NewtonWorldSetUserData referenced in function "public: __thiscall OgreNewt::World::World(void)" (??0World@OgreNewt@@QAE@XZ)
OgreNewt_Main.lib(OgreNewt_World.obj) : error LNK2019: unresolved external symbol __imp__NewtonCreate referenced in function "public: __thiscall OgreNewt::World::World(void)" (??0World@OgreNewt@@QAE@XZ)
OgreNewt_Main.lib(OgreNewt_World.obj) : error LNK2019: unresolved external symbol __imp__NewtonBodyGetUserData referenced in function "private: static void __cdecl OgreNewt::World::newtonLeaveWorld(struct NewtonBody const *)" (?newtonLeaveWorld@World@OgreNewt@@CAXPBUNewtonBody@@@Z)
OgreNewt_Main.lib(OgreNewt_Body.obj) : error LNK2001: unresolved external symbol __imp__NewtonBodyGetUserData
OgreNewt_Main.lib(OgreNewt_World.obj) : error LNK2019: unresolved external symbol __imp__NewtonWorldGetUserData referenced in function "private: static void __cdecl OgreNewt::World::newtonLeaveWorld(struct NewtonBody const *)" (?newtonLeaveWorld@World@OgreNewt@@CAXPBUNewtonBody@@@Z)
OgreNewt_Main.lib(OgreNewt_World.obj) : error LNK2019: unresolved external symbol __imp__NewtonBodyGetWorld referenced in function "private: static void __cdecl OgreNewt::World::newtonLeaveWorld(struct NewtonBody const *)" (?newtonLeaveWorld@World@OgreNewt@@CAXPBUNewtonBody@@@Z)
OgreNewt_Main.lib(OgreNewt_World.obj) : error LNK2019: unresolved external symbol __imp__NewtonSetBodyLeaveWorldEvent referenced in function "public: void __thiscall OgreNewt::World::setLeaveWorldCallback(class boost::function<void __cdecl(class OgreNewt::Body *),class std::allocator<void> >)" (?setLeaveWorldCallback@World@OgreNewt@@QAEXV?$function@$$A6AXPAVBody@OgreNewt@@@ZV?$allocator@X@std@@@boost@@@Z)
OgreNewt_Main.lib(OgreNewt_Debugger.obj) : error LNK2019: unresolved external symbol __imp__NewtonBodyForEachPolygonDo referenced in function "private: static void __cdecl OgreNewt::Debugger::newtonPerBody(struct NewtonBody const *)" (?newtonPerBody@Debugger@OgreNewt@@CAXPBUNewtonBody@@@Z)
OgreNewt_Main.lib(OgreNewt_Debugger.obj) : error LNK2019: unresolved external symbol __imp__NewtonWorldForEachBodyDo referenced in function "public: void __thiscall OgreNewt::Debugger::showLines(class OgreNewt::World *)" (?showLines@Debugger@OgreNewt@@QAEXPAVWorld@2@@Z)
OgreNewt_Main.lib(OgreNewt_Body.obj) : error LNK2019: unresolved external symbol __imp__NewtonBodyAddForce referenced in function "public: void __thiscall OgreNewt::Body::addForce(class Ogre::Vector3 const &)" (?addForce@Body@OgreNewt@@QAEXABVVector3@Ogre@@@Z)
OgreNewt_Main.lib(OgreNewt_Body.obj) : error LNK2019: unresolved external symbol __imp__NewtonBodyAddTorque referenced in function "public: void __thiscall OgreNewt::Body::addTorque(class Ogre::Vector3 const &)" (?addTorque@Body@OgreNewt@@QAEXABVVector3@Ogre@@@Z)
OgreNewt_Main.lib(OgreNewt_Body.obj) : error LNK2019: unresolved external symbol __imp__NewtonBodySetMatrix referenced in function "public: void __thiscall OgreNewt::Body::setPositionOrientation(class Ogre::Vector3 const &,class Ogre::Quaternion const &)" (?setPositionOrientation@Body@OgreNewt@@QAEXABVVector3@Ogre@@ABVQuaternion@4@@Z)
OgreNewt_Main.lib(OgreNewt_Body.obj) : error LNK2019: unresolved external symbol __imp__NewtonBodySetMassMatrix referenced in function "public: void __thiscall OgreNewt::Body::setMassMatrix(float,class Ogre::Vector3 const &)" (?setMassMatrix@Body@OgreNewt@@QAEXMABVVector3@Ogre@@@Z)
OgreNewt_Main.lib(OgreNewt_Body.obj) : error LNK2019: unresolved external symbol __imp__NewtonBodySetCollision referenced in function "public: void __thiscall OgreNewt::Body::setCollision(class OgreNewt::Collision const *)" (?setCollision@Body@OgreNewt@@QAEXPBVCollision@2@@Z)
OgreNewt_Main.lib(OgreNewt_Body.obj) : error LNK2019: unresolved external symbol __imp__NewtonBodyGetMatrix referenced in function "public: void __thiscall OgreNewt::Body::getPositionOrientation(class Ogre::Vector3 &,class Ogre::Quaternion &)const " (?getPositionOrientation@Body@OgreNewt@@QBEXAAVVector3@Ogre@@AAVQuaternion@4@@Z)
OgreNewt_Main.lib(OgreNewt_Body.obj) : error LNK2019: unresolved external symbol __imp__NewtonBodyGetMassMatrix referenced in function "public: void __thiscall OgreNewt::Body::getMassMatrix(float &,class Ogre::Vector3 &)const " (?getMassMatrix@Body@OgreNewt@@QBEXAAMAAVVector3@Ogre@@@Z)
OgreNewt_Main.lib(OgreNewt_Body.obj) : error LNK2019: unresolved external symbol __imp__NewtonBodyGetInvMass referenced in function "public: void __thiscall OgreNewt::Body::getInvMass(float &,class Ogre::Vector3 &)const " (?getInvMass@Body@OgreNewt@@QBEXAAMAAVVector3@Ogre@@@Z)
OgreNewt_Main.lib(OgreNewt_Body.obj) : error LNK2019: unresolved external symbol __imp__NewtonBodyGetOmega referenced in function "public: class Ogre::Vector3 __thiscall OgreNewt::Body::getOmega(void)const " (?getOmega@Body@OgreNewt@@QBE?AVVector3@Ogre@@XZ)
OgreNewt_Main.lib(OgreNewt_Body.obj) : error LNK2019: unresolved external symbol __imp__NewtonBodyGetVelocity referenced in function "public: class Ogre::Vector3 __thiscall OgreNewt::Body::getVelocity(void)const " (?getVelocity@Body@OgreNewt@@QBE?AVVector3@Ogre@@XZ)
OgreNewt_Main.lib(OgreNewt_Body.obj) : error LNK2019: unresolved external symbol __imp__NewtonBodyGetAngularDamping referenced in function "public: class Ogre::Vector3 __thiscall OgreNewt::Body::getAngularDamping(void)const " (?getAngularDamping@Body@OgreNewt@@QBE?AVVector3@Ogre@@XZ)
OgreNewt_Main.lib(OgreNewt_Body.obj) : error LNK2019: unresolved external symbol __imp__NewtonBodyGetCentreOfMass referenced in function "public: class Ogre::Vector3 __thiscall OgreNewt::Body::getCenterOfMass(void)const " (?getCenterOfMass@Body@OgreNewt@@QBE?AVVector3@Ogre@@XZ)
OgreNewt_Main.lib(OgreNewt_Body.obj) : error LNK2019: unresolved external symbol __imp__NewtonDestroyBody referenced in function "public: __thiscall OgreNewt::Body::~Body(void)" (??1Body@OgreNewt@@QAE@XZ)
OgreNewt_Main.lib(OgreNewt_Body.obj) : error LNK2019: unresolved external symbol __imp__NewtonBodySetDestructorCallback referenced in function "public: __thiscall OgreNewt::Body::~Body(void)" (??1Body@OgreNewt@@QAE@XZ)
OgreNewt_Main.lib(OgreNewt_Body.obj) : error LNK2019: unresolved external symbol __imp__NewtonBodySetUserData referenced in function "private: static void __cdecl OgreNewt::Body::newtonDestructor(struct NewtonBody const *)" (?newtonDestructor@Body@OgreNewt@@CAXPBUNewtonBody@@@Z)
OgreNewt_Main.lib(OgreNewt_Body.obj) : error LNK2019: unresolved external symbol __imp__NewtonCreateBody referenced in function "public: __thiscall OgreNewt::Body::Body(class OgreNewt::World const *,class OgreNewt::Collision const *,int)" (??0Body@OgreNewt@@QAE@PBVWorld@1@PBVCollision@1@H@Z)
OgreNewt_Main.lib(OgreNewt_Body.obj) : error LNK2019: unresolved external symbol __imp__NewtonBodySetForceAndTorqueCallback referenced in function "public: void __thiscall OgreNewt::Body::setCustomForceAndTorqueCallback(class boost::function<void __cdecl(class OgreNewt::Body *),class std::allocator<void> >)" (?setCustomForceAndTorqueCallback@Body@OgreNewt@@QAEXV?$function@$$A6AXPAVBody@OgreNewt@@@ZV?$allocator@X@std@@@boost@@@Z)
OgreNewt_Main.lib(OgreNewt_Body.obj) : error LNK2019: unresolved external symbol __imp__NewtonBodySetTransformCallback referenced in function "public: void __thiscall OgreNewt::Body::setCustomTransformCallback(class boost::function<void __cdecl(class OgreNewt::Body *,class Ogre::Quaternion const &,class Ogre::Vector3 const &),class std::allocator<void> >)" (?setCustomTransformCallback@Body@OgreNewt@@QAEXV?$function@$$A6AXPAVBody@OgreNewt@@ABVQuaternion@Ogre@@ABVVector3@4@@ZV?$allocator@X@std@@@boost@@@Z)
OgreNewt_Main.lib(OgreNewt_Body.obj) : error LNK2019: unresolved external symbol __imp__NewtonBodySetAutoactiveCallback referenced in function "public: void __thiscall OgreNewt::Body::setAutoactiveCallback(class boost::function<void __cdecl(class OgreNewt::Body *,unsigned int),class std::allocator<void> >)" (?setAutoactiveCallback@Body@OgreNewt@@QAEXV?$function@$$A6AXPAVBody@OgreNewt@@I@ZV?$allocator@X@std@@@boost@@@Z)
OgreNewt_Main.lib(OgreNewt_Body.obj) : error LNK2019: unresolved external symbol __imp__NewtonBodyAddBuoyancyForce referenced in function "public: void __thiscall OgreNewt::Body::addBouyancyForce(float,float,float,class Ogre::Vector3 const &,class boost::function<bool __cdecl(int,class OgreNewt::Body *,class Ogre::Quaternion const &,class Ogre::Vector3 const &,class Ogre::Plane &),class std::allocator<void> >)" (?addBouyancyForce@Body@OgreNewt@@QAEXMMMABVVector3@Ogre@@V?$function@$$A6A_NHPAVBody@OgreNewt@@ABVQuaternion@Ogre@@ABVVector3@4@AAVPlane@4@@ZV?$allocator@X@std@@@boost@@@Z)
OgreNewt_Main.lib(OgreNewt_CollisionPrimitives.obj) : error LNK2019: unresolved external symbol __imp__NewtonCreateNull referenced in function "public: __thiscall OgreNewt::CollisionPrimitives::Null::Null(class OgreNewt::World const *)" (??0Null@CollisionPrimitives@OgreNewt@@QAE@PBVWorld@2@@Z)
OgreNewt_Main.lib(OgreNewt_CollisionPrimitives.obj) : error LNK2019: unresolved external symbol __imp__NewtonCreateBox referenced in function "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)
OgreNewt_Main.lib(OgreNewt_CollisionPrimitives.obj) : error LNK2019: unresolved external symbol __imp__NewtonCreateSphere referenced in function "public: __thiscall OgreNewt::CollisionPrimitives::Ellipsoid::Ellipsoid(class OgreNewt::World const *,class Ogre::Vector3 const &,class Ogre::Quaternion const &,class Ogre::Vector3 const &)" (??0Ellipsoid@CollisionPrimitives@OgreNewt@@QAE@PBVWorld@2@ABVVector3@Ogre@@ABVQuaternion@5@1@Z)
OgreNewt_Main.lib(OgreNewt_CollisionPrimitives.obj) : error LNK2019: unresolved external symbol __imp__NewtonCreateCylinder referenced in function "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)
OgreNewt_Main.lib(OgreNewt_CollisionPrimitives.obj) : error LNK2019: unresolved external symbol __imp__NewtonCreateCapsule referenced in function "public: __thiscall OgreNewt::CollisionPrimitives::Capsule::Capsule(class OgreNewt::World const *,float,float,class Ogre::Quaternion const &,class Ogre::Vector3 const &)" (??0Capsule@CollisionPrimitives@OgreNewt@@QAE@PBVWorld@2@MMABVQuaternion@Ogre@@ABVVector3@5@@Z)
OgreNewt_Main.lib(OgreNewt_CollisionPrimitives.obj) : error LNK2019: unresolved external symbol __imp__NewtonCreateCone referenced in function "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)
OgreNewt_Main.lib(OgreNewt_CollisionPrimitives.obj) : error LNK2019: unresolved external symbol __imp__NewtonCreateChamferCylinder referenced in function "public: __thiscall OgreNewt::CollisionPrimitives::ChamferCylinder::ChamferCylinder(class OgreNewt::World const *,float,float,class Ogre::Quaternion const &,class Ogre::Vector3 const &)" (??0ChamferCylinder@CollisionPrimitives@OgreNewt@@QAE@PBVWorld@2@MMABVQuaternion@Ogre@@ABVVector3@5@@Z)
OgreNewt_Main.lib(OgreNewt_CollisionPrimitives.obj) : error LNK2019: unresolved external symbol __imp__NewtonCreateConvexHull referenced in function "public: __thiscall OgreNewt::CollisionPrimitives::ConvexHull::ConvexHull(class OgreNewt::World const *,class Ogre::SceneNode *,class Ogre::Quaternion const &,class Ogre::Vector3 const &)" (??0ConvexHull@CollisionPrimitives@OgreNewt@@QAE@PBVWorld@2@PAVSceneNode@Ogre@@ABVQuaternion@5@ABVVector3@5@@Z)
OgreNewt_Main.lib(OgreNewt_CollisionPrimitives.obj) : error LNK2019: unresolved external symbol __imp__NewtonTreeCollisionBeginBuild referenced in function "public: void __thiscall OgreNewt::CollisionPrimitives::TreeCollision::start(void)" (?start@TreeCollision@CollisionPrimitives@OgreNewt@@QAEXXZ)
OgreNewt_Main.lib(OgreNewt_CollisionPrimitives.obj) : error LNK2019: unresolved external symbol __imp__NewtonCreateTreeCollision referenced in function "public: void __thiscall OgreNewt::CollisionPrimitives::TreeCollision::start(void)" (?start@TreeCollision@CollisionPrimitives@OgreNewt@@QAEXXZ)
OgreNewt_Main.lib(OgreNewt_CollisionPrimitives.obj) : error LNK2019: unresolved external symbol __imp__NewtonTreeCollisionAddFace referenced in function "public: void __thiscall OgreNewt::CollisionPrimitives::TreeCollision::addPoly(class Ogre::Vector3 *,unsigned int)" (?addPoly@TreeCollision@CollisionPrimitives@OgreNewt@@QAEXPAVVector3@Ogre@@I@Z)
OgreNewt_Main.lib(OgreNewt_CollisionPrimitives.obj) : error LNK2019: unresolved external symbol __imp__NewtonTreeCollisionEndBuild referenced in function "public: void __thiscall OgreNewt::CollisionPrimitives::TreeCollision::finish(bool)" (?finish@TreeCollision@CollisionPrimitives@OgreNewt@@QAEX_N@Z)
OgreNewt_Main.lib(OgreNewt_CollisionPrimitives.obj) : error LNK2019: unresolved external symbol __imp__NewtonCreateCompoundCollision referenced in function "public: __thiscall OgreNewt::CollisionPrimitives::CompoundCollision::CompoundCollision(class OgreNewt::World const *,class std::vector<class OgreNewt::Collision *,class std::allocator<class OgreNewt::Collision *> >)" (??0CompoundCollision@CollisionPrimitives@OgreNewt@@QAE@PBVWorld@2@V?$vector@PAVCollision@OgreNewt@@V?$allocator@PAVCollision@OgreNewt@@@std@@@std@@@Z)
OgreNewt_Main.lib(OgreNewt_Tools.obj) : error LNK2019: unresolved external symbol __imp__NewtonCollisionPointDistance referenced in function "int __cdecl OgreNewt::CollisionTools::CollisionPointDistance(class OgreNewt::World const *,class Ogre::Vector3 const &,class OgreNewt::Collision const *,class Ogre::Quaternion const &,class Ogre::Vector3 const &,class Ogre::Vector3 &,class Ogre::Vector3 &)" (?CollisionPointDistance@CollisionTools@OgreNewt@@YAHPBVWorld@2@ABVVector3@Ogre@@PBVCollision@2@ABVQuaternion@5@1AAV45@4@Z)
OgreNewt_Main.lib(OgreNewt_Tools.obj) : error LNK2019: unresolved external symbol __imp__NewtonCollisionClosestPoint referenced in function "int __cdecl OgreNewt::CollisionTools::CollisionClosestPoint(class OgreNewt::World const *,class OgreNewt::Collision const *,class Ogre::Quaternion const &,class Ogre::Vector3 const &,class OgreNewt::Collision const *,class Ogre::Quaternion const &,class Ogre::Vector3 const &,class Ogre::Vector3 &,class Ogre::Vector3 &,class Ogre::Vector3 &)" (?CollisionClosestPoint@CollisionTools@OgreNewt@@YAHPBVWorld@2@PBVCollision@2@ABVQuaternion@Ogre@@ABVVector3@6@123AAV76@44@Z)
OgreNewt_Main.lib(OgreNewt_Tools.obj) : error LNK2019: unresolved external symbol __imp__NewtonCollisionCollide referenced in function "int __cdecl OgreNewt::CollisionTools::CollisionCollide(class OgreNewt::World const *,int,class OgreNewt::Collision const *,class Ogre::Quaternion const &,class Ogre::Vector3 const &,class OgreNewt::Collision const *,class Ogre::Quaternion const &,class Ogre::Vector3 const &,class Ogre::Vector3 *,class Ogre::Vector3 *,float *)" (?CollisionCollide@CollisionTools@OgreNewt@@YAHPBVWorld@2@HPBVCollision@2@ABVQuaternion@Ogre@@ABVVector3@6@123PAV76@4PAM@Z)
OgreNewt_Main.lib(OgreNewt_Tools.obj) : error LNK2019: unresolved external symbol __imp__NewtonCollisionCollideContinue referenced in function "int __cdecl OgreNewt::CollisionTools::CollisionCollideContinue(class OgreNewt::World const *,int,float,class OgreNewt::Collision const *,class Ogre::Quaternion const &,class Ogre::Vector3 const &,class Ogre::Vector3 const &,class Ogre::Vector3 const &,class OgreNewt::Collision const *,class Ogre::Quaternion const &,class Ogre::Vector3 const &,class Ogre::Vector3 const &,class Ogre::Vector3 const &,float &,class Ogre::Vector3 *,class Ogre::Vector3 *,float *)" (?CollisionCollideContinue@CollisionTools@OgreNewt@@YAHPBVWorld@2@HMPBVCollision@2@ABVQuaternion@Ogre@@ABVVector3@6@3312333AAMPAV76@5PAM@Z)
OgreNewt_Main.lib(OgreNewt_Tools.obj) : error LNK2019: unresolved external symbol __imp__NewtonCollisionRayCast referenced in function "float __cdecl OgreNewt::CollisionTools::CollisionRayCast(class OgreNewt::Collision const *,class Ogre::Vector3 const &,class Ogre::Vector3 const &,class Ogre::Vector3 &,int &)" (?CollisionRayCast@CollisionTools@OgreNewt@@YAMPBVCollision@2@ABVVector3@Ogre@@1AAV45@AAH@Z)
OgreNewt_Main.lib(OgreNewt_Tools.obj) : error LNK2019: unresolved external symbol __imp__NewtonCollisionCalculateAABB referenced in function "class Ogre::AxisAlignedBox __cdecl OgreNewt::CollisionTools::CollisionCalculateAABB(class OgreNewt::Collision const *,class Ogre::Quaternion const &,class Ogre::Vector3 const &)" (?CollisionCalculateAABB@CollisionTools@OgreNewt@@YA?AVAxisAlignedBox@Ogre@@PBVCollision@2@ABVQuaternion@4@ABVVector3@4@@Z)
OgreNewt_Main.lib(OgreNewt_Collision.obj) : error LNK2001: unresolved external symbol __imp__NewtonCollisionCalculateAABB
OgreNewt_Main.lib(OgreNewt_MaterialID.obj) : error LNK2019: unresolved external symbol __imp__NewtonMaterialCreateGroupID referenced in function "public: __thiscall OgreNewt::MaterialID::MaterialID(class OgreNewt::World const *)" (??0MaterialID@OgreNewt@@QAE@PBVWorld@1@@Z)
OgreNewt_Main.lib(OgreNewt_Collision.obj) : error LNK2019: unresolved external symbol __imp__NewtonReleaseCollision referenced in function "public: virtual __thiscall OgreNewt::Collision::~Collision(void)" (??1Collision@OgreNewt@@UAE@XZ)
OgreNewt_Main.lib(OgreNewt_Collision.obj) : error LNK2019: unresolved external symbol __imp__NewtonCreateConvexHullModifier referenced in function "public: __thiscall OgreNewt::ConvexModifierCollision::ConvexModifierCollision(class OgreNewt::World const *,class OgreNewt::Collision const *)" (??0ConvexModifierCollision@OgreNewt@@QAE@PBVWorld@1@PBVCollision@1@@Z)
OgreNewt_Main.lib(OgreNewt_Collision.obj) : error LNK2019: unresolved external symbol __imp__NewtonConvexHullModifierSetMatrix referenced in function "public: void __thiscall OgreNewt::ConvexModifierCollision::setScalarMatrix(class Ogre::Matrix4 const &)const " (?setScalarMatrix@ConvexModifierCollision@OgreNewt@@QBEXABVMatrix4@Ogre@@@Z)
OgreNewt_Main.lib(OgreNewt_Collision.obj) : error LNK2019: unresolved external symbol __imp__NewtonConvexHullModifierGetMatrix referenced in function "public: class Ogre::Matrix4 __thiscall OgreNewt::ConvexModifierCollision::getScalarMatrix(void)const " (?getScalarMatrix@ConvexModifierCollision@OgreNewt@@QBE?AVMatrix4@Ogre@@XZ)
../Bin/Release\Demo01_TheBasics.exe : fatal error LNK1120: 58 unresolved externals
Build log was saved at "file://c:\Documents and Settings\Administratör\Skrivbord\ogrenewt\demos\Demo01_TheBasics\Build\Release\BuildLog.htm"
Demo01_TheBasics - 61 error(s), 0 warning(s)

Hansel

04-07-2006 13:43:52

Have you added OgreMain.lib, OgreNewt_Main.lib and Newton.lib in the aditional dependencies inside your Project Settings -> Linker -> Input ?

peter86

04-07-2006 13:47:31

Have you added OgreMain.lib, OgreNewt_Main.lib and Newton.lib in the aditional dependencies inside your Project Settings -> Linker -> Input ?

Yep, they're all there.

nathanwilliams6

04-07-2006 14:06:07

have u added their location to your linker paths ?

peter86

04-07-2006 14:27:02

have u added their location to your linker paths ?

Yeah, otherwise it would complain about library not found.

nathanwilliams6

04-07-2006 15:51:49

have you got the correct version of newton sdk ? i.e. the newest one ?

peter86

04-07-2006 15:55:42

have you got the correct version of newton sdk ? i.e. the newest one ?

Yeah I just grabbed the v1.53 SDK.

peter86

04-07-2006 16:18:28

Ah, solved it. I had to changed the lib directory from lib_mt to dll where newton.lib is located.

EDIT: I had to compile tinyxml as Multi-threaded DLL as the demos. Works fine now :)