Need help with Demo05 in OgreNewt

terrykim426

11-10-2008 21:23:13

Hi, i not sure im in the right place to post my problem.

Here's my problem. I am trying to get the simple car to work as a template to my sch project. But when i try to make it with the VC solution with just this project, i get 28 "error LNK2001".

I have already link up with the Newton and OgreNewt lib and include folder.


Here's my log
1>------ Build started: Project: FinalIgnition, Configuration: Release Win32 ------
1>Linking...
1>OgreNewtonApplication.obj : error LNK2001: unresolved external symbol "public: void __thiscall OgreNewt::Debugger::deInit(void)" (?deInit@Debugger@OgreNewt@@QAEXXZ)
1>OgreNewtonApplication.obj : error LNK2001: unresolved external symbol "public: static class OgreNewt::Debugger & __cdecl OgreNewt::Debugger::getSingleton(void)" (?getSingleton@Debugger@OgreNewt@@SAAAV12@XZ)
1>OgreNewtonApplication.obj : error LNK2001: unresolved external symbol "public: __thiscall OgreNewt::World::~World(void)" (??1World@OgreNewt@@QAE@XZ)
1>OgreNewtonApplication.obj : error LNK2001: unresolved external symbol "public: __thiscall OgreNewt::World::World(void)" (??0World@OgreNewt@@QAE@XZ)
1>OgreNewtonApplication.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>OgreNewtonApplication.obj : error LNK2001: unresolved external symbol "public: void __thiscall OgreNewt::Body::attachToNode(class Ogre::Node *)" (?attachToNode@Body@OgreNewt@@QAEXPAVNode@Ogre@@@Z)
1>OgreNewtonApplication.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>OgreNewtonApplication.obj : error LNK2001: unresolved external symbol "public: __thiscall OgreNewt::CollisionPrimitives::TreeCollision::TreeCollision(class OgreNewt::World const *,class Ogre::SceneNode *,bool,enum OgreNewt::CollisionPrimitives::FaceWinding)" (??0TreeCollision@CollisionPrimitives@OgreNewt@@QAE@PBVWorld@2@PAVSceneNode@Ogre@@_NW4FaceWinding@12@@Z)
1>OgreNewtonApplication.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>OgreNewtonFrameListener.obj : error LNK2001: unresolved external symbol __imp__NewtonBodySetVelocity
1>OgreNewtonFrameListener.obj : error LNK2001: unresolved external symbol "class Ogre::Vector3 __cdecl OgreNewt::MomentOfInertia::CalcSphereSolid(float,float)" (?CalcSphereSolid@MomentOfInertia@OgreNewt@@YA?AVVector3@Ogre@@MM@Z)
1>OgreNewtonFrameListener.obj : error LNK2001: unresolved external symbol "public: void __thiscall OgreNewt::Body::setMassMatrix(float,class Ogre::Vector3 const &)" (?setMassMatrix@Body@OgreNewt@@QAEXMABVVector3@Ogre@@@Z)
1>OgreNewtonFrameListener.obj : error LNK2001: unresolved external symbol "public: void __thiscall OgreNewt::Body::setStandardForceCallback(void)" (?setStandardForceCallback@Body@OgreNewt@@QAEXXZ)
1>OgreNewtonFrameListener.obj : error LNK2001: unresolved external symbol "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)
1>SimpleVehicle.obj : error LNK2001: unresolved external symbol __imp__NewtonBodySetAutoFreeze
1>SimpleVehicle.obj : error LNK2001: unresolved external symbol "public: void __thiscall OgreNewt::Vehicle::Tire::updateNode(void)" (?updateNode@Tire@Vehicle@OgreNewt@@QAEXXZ)
1>SimpleVehicle.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall OgreNewt::Vehicle::Tire::~Tire(void)" (??1Tire@Vehicle@OgreNewt@@UAE@XZ)
1>SimpleVehicle.obj : error LNK2001: unresolved external symbol __imp__NewtonVehicleSetTireTorque
1>SimpleVehicle.obj : error LNK2001: unresolved external symbol "public: __thiscall OgreNewt::Vehicle::Tire::Tire(class OgreNewt::Vehicle *,class Ogre::Quaternion,class Ogre::Vector3,class Ogre::Vector3,float,float,float,float,float,float,int)" (??0Tire@Vehicle@OgreNewt@@QAE@PAV12@VQuaternion@Ogre@@VVector3@4@2MMMMMMH@Z)
1>SimpleVehicle.obj : error LNK2001: unresolved external symbol "public: class OgreNewt::Vehicle::Tire const * __thiscall OgreNewt::Vehicle::getNextTire(class OgreNewt::Vehicle::Tire *)const " (?getNextTire@Vehicle@OgreNewt@@QBEPBVTire@12@PAV312@@Z)
1>SimpleVehicle.obj : error LNK2001: unresolved external symbol "public: class OgreNewt::Vehicle::Tire const * __thiscall OgreNewt::Vehicle::getFirstTire(void)const " (?getFirstTire@Vehicle@OgreNewt@@QBEPBVTire@12@XZ)
1>SimpleVehicle.obj : error LNK2001: unresolved external symbol "public: void __thiscall OgreNewt::Vehicle::destroy(void)" (?destroy@Vehicle@OgreNewt@@QAEXXZ)
1>SimpleVehicle.obj : error LNK2001: unresolved external symbol "public: void __thiscall OgreNewt::Vehicle::init(class OgreNewt::Body *,class Ogre::Vector3 const &)" (?init@Vehicle@OgreNewt@@QAEXPAVBody@2@ABVVector3@Ogre@@@Z)
1>SimpleVehicle.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall OgreNewt::Vehicle::~Vehicle(void)" (??1Vehicle@OgreNewt@@UAE@XZ)
1>SimpleVehicle.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>SimpleVehicle.obj : error LNK2001: unresolved external symbol __imp__NewtonVehicleSetTireSteerAngle
1>SimpleVehicle.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>..\bin\release\FinalIgnition.exe : fatal error LNK1120: 27 unresolved externals
1>Build log was saved at "file://c:\Documents and Settings\Compaq_Owner\My Documents\Visual Studio 2005\Projects\Final Ignition\FinalIgnition\Release\BuildLog.htm"
1>FinalIgnition - 28 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


*Anyway i somehow solve it myself by playing with the links