First Test, First problem (-:

™Cadue™

06-10-2006 17:46:10

Hi! I've tried to compile the first example, but i've had a lot of error caused from OgreNewt_Main.lib....
Someone can help me?


------ Build started: Project: Demo01_TheBasics, Configuration: Release Win32 ------
Compiling...
OgreNewtonFrameListener.cpp
OgreNewtonApplication.cpp
demo01.cpp
Generating Code...
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://f:\CADUE\OgreSDK\newton\demos\Demo01_TheBasics\Build\Release\BuildLog.htm"
Demo01_TheBasics - 61 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========

alberts

06-10-2006 18:35:09

Be sure you have referenced correctly the additional dependencies (newton.lib OgreMain_d.lib OgreNewt_Main_d.lib) and the additional library directories (..\..\OgreNewt_Main\lib\debug;..\..\..\..\ogrenew\OgreMain\lib\Debug;..\..\..\..\..\NewtonSDK\sdk\dll) in your project configuration.

™Cadue™

06-10-2006 19:17:56

sure!
The error persist

alberts

06-10-2006 21:16:33

Have you built the Ogrenewt_main project successfully?

I have deleted the reference to the newton.lib dependency in the Demo_1 project and I'm getting exactly the same error :?

™Cadue™

07-10-2006 12:18:22

Which version of Newton are you using?
and, there are a lot of Newton .lib, lib_mt_double, lib_st_double , lib_st, lib_mt...which is the right?

alberts

07-10-2006 12:34:59

I'm using newton 1.53 and the "simple" dll version (not double, which is more precise but slower).

™Cadue™

07-10-2006 13:21:19

I'm using VC 2005 express, i've added the following directories in "Tool->Option->Proiect and Solution->VC directories":
Under the label "Include files"

F:\CADUE\OgreSDK\newton\OgreNewt_Main\inc
F:\CADUE\OgreSDK\samples\include
F:\CADUE\NewtonSDK\sdk
F:\CADUE\OgreSDK\include

Under the label "library files"
F:\CADUE\OgreSDK\newton\OgreNewt_Main\lib\debug
F:\CADUE\OgreSDK\lib\
F:\CADUE\NewtonSDK\sdk\lib_st

And in "option->linker->input", i've added the following libraries:
newton.lib
OgreMain_d.lib
OgreNewt_Main_d.lib

i've compiled Ogrenewt_Main, and the build is succeeded, only 3 warning

I use newton 1.53 like you....

Help!!!

™Cadue™

08-10-2006 15:36:46

I've tried to compile Ogrenewt_Main, but if i compile a .lib is ok, but if I compile a .dll i have the same error....