grizzley90
27-01-2006 01:05:18
The new project is not in the ogreNewt folder does that have any effect? because im getting linker errors.
Do i have to move it anywhere? I have the ogrenewt lib and the newton dll in the release folder and included the lib for ogrenewt. This is probably a newb error!
1>Linking...
1>Demo.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>Demo.obj : error LNK2001: unresolved external symbol "public: void __thiscall OgreNewt::Body::attachToNode(class Ogre::SceneNode *)" (?attachToNode@Body@OgreNewt@@QAEXPAVSceneNode@Ogre@@@Z)
1>Demo.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>Demo.obj : error LNK2001: unresolved external symbol "public: __thiscall OgreNewt::CollisionPrimitives::TreeCollision::TreeCollision(class OgreNewt::World const *,class Ogre::SceneNode *,bool)" (??0TreeCollision@CollisionPrimitives@OgreNewt@@QAE@PBVWorld@2@PAVSceneNode@Ogre@@_N@Z)
1>Demo.obj : error LNK2001: unresolved external symbol "public: __thiscall OgreNewt::BasicFrameListener::BasicFrameListener(class Ogre::RenderWindow *,class Ogre::Camera *,class Ogre::SceneManager *,class OgreNewt::World *,int)" (??0BasicFrameListener@OgreNewt@@QAE@PAVRenderWindow@Ogre@@PAVCamera@3@PAVSceneManager@3@PAVWorld@1@H@Z)
1>SimpleVehicule.obj : error LNK2001: unresolved external symbol __imp__NewtonVehicleSetTireTorque
1>SimpleVehicule.obj : error LNK2001: unresolved external symbol __imp__NewtonVehicleSetTireSteerAngle
1>SimpleVehicule.obj : error LNK2001: unresolved external symbol "public: void __thiscall OgreNewt::Vehicle::Tire::updateNode(void)" (?updateNode@Tire@Vehicle@OgreNewt@@QAEXXZ)
1>SimpleVehicule.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall OgreNewt::Vehicle::Tire::~Tire(void)" (??1Tire@Vehicle@OgreNewt@@UAE@XZ)
1>SimpleVehicule.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>SimpleVehicule.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>SimpleVehicule.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>SimpleVehicule.obj : error LNK2001: unresolved external symbol "public: void __thiscall OgreNewt::Vehicle::destroy(void)" (?destroy@Vehicle@OgreNewt@@QAEXXZ)
1>SimpleVehicule.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>SimpleVehicule.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall OgreNewt::Vehicle::~Vehicle(void)" (??1Vehicle@OgreNewt@@UAE@XZ)
1>SimpleVehicule.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>SimpleVehicule.obj : error LNK2001: unresolved external symbol "public: void __thiscall OgreNewt::Body::setMassMatrix(float,class Ogre::Vector3 const &)" (?setMassMatrix@Body@OgreNewt@@QAEXMABVVector3@Ogre@@@Z)
1>SimpleVehicule.obj : error LNK2001: unresolved external symbol "public: void __thiscall OgreNewt::Body::setStandardForceCallback(void)" (?setStandardForceCallback@Body@OgreNewt@@QAEXXZ)
1>SimpleVehicule.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>SimpleVehicule.obj : error LNK2001: unresolved external symbol __imp__NewtonBodySetAutoFreezeDo i have to move it anywhere? I have the ogrenewt lib and the newton dll in the release folder and included the lib for ogrenewt. This is probably a newb error!