Problem with compiling Newton 2.07 SDK samples

Report any bugs here and we'll post fixes

Moderators: Sascha Willems, Thomas

Problem with compiling Newton 2.07 SDK samples

Postby Nikonek » Thu Aug 20, 2009 6:41 am

Hallo,
I am using MS Visual Studio 2008 SP1 and I have problem with complie Newton 2.07 SDK samples. There are errors:
Code: Select all
8>Linking...
8>UnstableStacks.obj : error LNK2001: unresolved external symbol "class dMatrix __cdecl dRollMatrix(float)" (?dRollMatrix@@YA?AVdMatrix@@M@Z)
8>PhysicsUtils.obj : error LNK2001: unresolved external symbol "class dMatrix __cdecl dRollMatrix(float)" (?dRollMatrix@@YA?AVdMatrix@@M@Z)
8>BasicStacking.obj : error LNK2001: unresolved external symbol "class dMatrix __cdecl dRollMatrix(float)" (?dRollMatrix@@YA?AVdMatrix@@M@Z)
8>CharacterController.obj : error LNK2001: unresolved external symbol "class dMatrix __cdecl dRollMatrix(float)" (?dRollMatrix@@YA?AVdMatrix@@M@Z)
8>LegacyJoints.obj : error LNK2019: unresolved external symbol "class dMatrix __cdecl dRollMatrix(float)" (?dRollMatrix@@YA?AVdMatrix@@M@Z) referenced in function "void __cdecl AddRope(class dVector,struct NewtonWorld *,class SceneManager *,struct NewtonBody const *)" (?AddRope@@YAXVdVector@@PAUNewtonWorld@@PAVSceneManager@@PBUNewtonBody@@@Z)
8>PrecessingTops.obj : error LNK2001: unresolved external symbol "class dMatrix __cdecl dRollMatrix(float)" (?dRollMatrix@@YA?AVdMatrix@@M@Z)
8>ScenePrimitive.obj : error LNK2001: unresolved external symbol "class dMatrix __cdecl dRollMatrix(float)" (?dRollMatrix@@YA?AVdMatrix@@M@Z)
8>BasicCustomJoints.obj : error LNK2001: unresolved external symbol "class dMatrix __cdecl dRollMatrix(float)" (?dRollMatrix@@YA?AVdMatrix@@M@Z)
8>BasicRagDoll.obj : error LNK2001: unresolved external symbol "class dMatrix __cdecl dRollMatrix(float)" (?dRollMatrix@@YA?AVdMatrix@@M@Z)
8>BasicSphereSpin.obj : error LNK2001: unresolved external symbol "class dMatrix __cdecl dRollMatrix(float)" (?dRollMatrix@@YA?AVdMatrix@@M@Z)
8>BasicCustomJoints.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CustomBallAndSocket::SubmitConstraints(float,int)" (?SubmitConstraints@CustomBallAndSocket@@MAEXMH@Z)
8>BasicRobots.obj : error LNK2019: unresolved external symbol "protected: virtual void __thiscall CustomBallAndSocket::SubmitConstraints(float,int)" (?SubmitConstraints@CustomBallAndSocket@@MAEXMH@Z) referenced in function "public: static struct NewtonBody * __cdecl ROBOT_COMPONENTS::CreateRobotBody(class SceneManager *,struct NewtonWorld *,class dMatrix const &,class dVector const &)" (?CreateRobotBody@ROBOT_COMPONENTS@@SAPAUNewtonBody@@PAVSceneManager@@PAUNewtonWorld@@ABVdMatrix@@ABVdVector@@@Z)
8>BasicCustomJoints.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall CustomHinge::SetLimis(float,float)" (__imp_?SetLimis@CustomHinge@@QAEXMM@Z) referenced in function "void __cdecl AddDoubleSwingDoors(class dVector,struct NewtonWorld *,class SceneManager *,struct NewtonBody const *,int)" (?AddDoubleSwingDoors@@YAXVdVector@@PAUNewtonWorld@@PAVSceneManager@@PBUNewtonBody@@H@Z)
8>BasicCustomJoints.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CustomHinge::SubmitConstraints(float,int)" (?SubmitConstraints@CustomHinge@@MAEXMH@Z)
8>BasicRobots.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CustomHinge::SubmitConstraints(float,int)" (?SubmitConstraints@CustomHinge@@MAEXMH@Z)
8>BasicCustomJoints.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall CustomSlider::SetLimis(float,float)" (__imp_?SetLimis@CustomSlider@@QAEXMM@Z) referenced in function "void __cdecl AddRollingBeats(class dVector,struct NewtonWorld *,class SceneManager *,struct NewtonBody const *)" (?AddRollingBeats@@YAXVdVector@@PAUNewtonWorld@@PAVSceneManager@@PBUNewtonBody@@@Z)
8>BasicCustomJoints.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall CustomCorkScrew::SetLinearLimis(float,float)" (__imp_?SetLinearLimis@CustomCorkScrew@@QAEXMM@Z) referenced in function "void __cdecl AddRollingBeats(class dVector,struct NewtonWorld *,class SceneManager *,struct NewtonBody const *)" (?AddRollingBeats@@YAXVdVector@@PAUNewtonWorld@@PAVSceneManager@@PBUNewtonBody@@@Z)
8>BasicCustomJoints.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall Custom6DOF::SubmitConstraints(float,int)" (?SubmitConstraints@Custom6DOF@@MAEXMH@Z)
8>BasicCustomJoints.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CustomCorkScrew::SubmitConstraints(float,int)" (?SubmitConstraints@CustomCorkScrew@@MAEXMH@Z)
8>BasicCustomJoints.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CustomSlider::SubmitConstraints(float,int)" (?SubmitConstraints@CustomSlider@@MAEXMH@Z)
8>BasicCustomJoints.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CustomUniversal::SubmitConstraints(float,int)" (?SubmitConstraints@CustomUniversal@@MAEXMH@Z)
8>Towers.obj : error LNK2001: unresolved external symbol "class dMatrix __cdecl dYawMatrix(float)" (?dYawMatrix@@YA?AVdMatrix@@M@Z)
8>Walls.obj : error LNK2001: unresolved external symbol "class dMatrix __cdecl dYawMatrix(float)" (?dYawMatrix@@YA?AVdMatrix@@M@Z)
8>PhysicsUtils.obj : error LNK2001: unresolved external symbol "class dMatrix __cdecl dYawMatrix(float)" (?dYawMatrix@@YA?AVdMatrix@@M@Z)
8>CharacterController.obj : error LNK2001: unresolved external symbol "class dMatrix __cdecl dYawMatrix(float)" (?dYawMatrix@@YA?AVdMatrix@@M@Z)
8>CompoundCollision.obj : error LNK2001: unresolved external symbol "class dMatrix __cdecl dYawMatrix(float)" (?dYawMatrix@@YA?AVdMatrix@@M@Z)
8>Jengas.obj : error LNK2001: unresolved external symbol "class dMatrix __cdecl dYawMatrix(float)" (?dYawMatrix@@YA?AVdMatrix@@M@Z)
8>Pyramids.obj : error LNK2001: unresolved external symbol "class dMatrix __cdecl dYawMatrix(float)" (?dYawMatrix@@YA?AVdMatrix@@M@Z)
8>BasicCustomJoints.obj : error LNK2019: unresolved external symbol "class dMatrix __cdecl dYawMatrix(float)" (?dYawMatrix@@YA?AVdMatrix@@M@Z) referenced in function "void __cdecl AddGears(class dVector,struct NewtonWorld *,class SceneManager *)" (?AddGears@@YAXVdVector@@PAUNewtonWorld@@PAVSceneManager@@@Z)
8>BasicRagDoll.obj : error LNK2001: unresolved external symbol "class dMatrix __cdecl dYawMatrix(float)" (?dYawMatrix@@YA?AVdMatrix@@M@Z)
8>BasicSphereSpin.obj : error LNK2001: unresolved external symbol "class dMatrix __cdecl dYawMatrix(float)" (?dYawMatrix@@YA?AVdMatrix@@M@Z)
8>BasicStacking.obj : error LNK2001: unresolved external symbol "class dMatrix __cdecl dYawMatrix(float)" (?dYawMatrix@@YA?AVdMatrix@@M@Z)
8>BasicCustomJoints.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall CustomGear::CustomGear(float,class dVector const &,class dVector const &,struct NewtonBody *,struct NewtonBody *)" (__imp_??0CustomGear@@QAE@MABVdVector@@0PAUNewtonBody@@1@Z) referenced in function "void __cdecl AddGears(class dVector,struct NewtonWorld *,class SceneManager *)" (?AddGears@@YAXVdVector@@PAUNewtonWorld@@PAVSceneManager@@@Z)
8>BasicCustomJoints.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CustomGear::SubmitConstraints(float,int)" (?SubmitConstraints@CustomGear@@MAEXMH@Z)
8>BasicCustomJoints.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall CustomWormGear::CustomWormGear(float,class dVector const &,class dVector const &,struct NewtonBody *,struct NewtonBody *)" (__imp_??0CustomWormGear@@QAE@MABVdVector@@0PAUNewtonBody@@1@Z) referenced in function "public: __thiscall ViseWornGear::ViseWornGear(float,class dVector const &,class dVector const &,struct NewtonBody *,struct NewtonBody *,class CustomSlider *)" (??0ViseWornGear@@QAE@MABVdVector@@0PAUNewtonBody@@1PAVCustomSlider@@@Z)
8>BasicCustomJoints.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) protected: virtual void __thiscall CustomWormGear::SubmitConstraints(float,int)" (__imp_?SubmitConstraints@CustomWormGear@@MAEXMH@Z) referenced in function "public: virtual void __thiscall ViseWornGear::SubmitConstraints(float,int)" (?SubmitConstraints@ViseWornGear@@UAEXMH@Z)
8>BasicFriction.obj : error LNK2019: unresolved external symbol "class dMatrix __cdecl dPitchMatrix(float)" (?dPitchMatrix@@YA?AVdMatrix@@M@Z) referenced in function "void __cdecl Friction(class SceneManager &)" (?Friction@@YAXAAVSceneManager@@@Z)
8>BasicRagDoll.obj : error LNK2001: unresolved external symbol "class dMatrix __cdecl dPitchMatrix(float)" (?dPitchMatrix@@YA?AVdMatrix@@M@Z)
8>PhysicsUtils.obj : error LNK2001: unresolved external symbol "class dMatrix __cdecl dPitchMatrix(float)" (?dPitchMatrix@@YA?AVdMatrix@@M@Z)
8>BasicRagDoll.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall CustomRagDoll::SetBoneTwistLimits(int,float,float)" (__imp_?SetBoneTwistLimits@CustomRagDoll@@QAEXHMM@Z) referenced in function "protected: void __thiscall RagDoll::AddBody(struct NewtonWorld *,class dBone const *,struct RAGGOLL_BONE_DEFINTION const &,class OGLMesh const *)" (?AddBody@RagDoll@@IAEXPAUNewtonWorld@@PBVdBone@@ABURAGGOLL_BONE_DEFINTION@@PBVOGLMesh@@@Z)
8>BasicRagDoll.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall CustomRagDoll::SetBoneConeLimits(int,float)" (__imp_?SetBoneConeLimits@CustomRagDoll@@QAEXHM@Z) referenced in function "protected: void __thiscall RagDoll::AddBody(struct NewtonWorld *,class dBone const *,struct RAGGOLL_BONE_DEFINTION const &,class OGLMesh const *)" (?AddBody@RagDoll@@IAEXPAUNewtonWorld@@PBVdBone@@ABURAGGOLL_BONE_DEFINTION@@PBVOGLMesh@@@Z)
8>BasicRagDoll.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: int __thiscall CustomRagDoll::AddBone(struct NewtonWorld *,int,void *,class dMatrix const &,float,class dMatrix const &,struct NewtonCollision const *)" (__imp_?AddBone@CustomRagDoll@@QAEHPAUNewtonWorld@@HPAXABVdMatrix@@M2PBUNewtonCollision@@@Z) referenced in function "protected: void __thiscall RagDoll::AddBody(struct NewtonWorld *,class dBone const *,struct RAGGOLL_BONE_DEFINTION const &,class OGLMesh const *)" (?AddBody@RagDoll@@IAEXPAUNewtonWorld@@PBVdBone@@ABURAGGOLL_BONE_DEFINTION@@PBVOGLMesh@@@Z)
8>BasicRagDoll.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) protected: virtual void __thiscall CustomRagDoll::SubmitConstraints(float,int)" (__imp_?SubmitConstraints@CustomRagDoll@@MAEXMH@Z) referenced in function "protected: virtual void __thiscall RagDoll::SubmitConstraints(float,int)" (?SubmitConstraints@RagDoll@@MAEXMH@Z)
8>CharacterController.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall CustomPlayerController::SetMaxSlope(float)" (__imp_?SetMaxSlope@CustomPlayerController@@QAEXM@Z) referenced in function "public: __thiscall MyPlayerController::MyPlayerController(class dMatrix const &,struct NewtonBody *,float,float)" (??0MyPlayerController@@QAE@ABVdMatrix@@PAUNewtonBody@@MM@Z)
8>CharacterController.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall CustomPlayerController::CustomPlayerController(class dMatrix const &,struct NewtonBody const *,float,float)" (__imp_??0CustomPlayerController@@QAE@ABVdMatrix@@PBUNewtonBody@@MM@Z) referenced in function "public: __thiscall MyPlayerController::MyPlayerController(class dMatrix const &,struct NewtonBody *,float,float)" (??0MyPlayerController@@QAE@ABVdMatrix@@PAUNewtonBody@@MM@Z)
8>CharacterController.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) protected: virtual void __thiscall CustomPlayerController::SubmitConstraints(float,int)" (__imp_?SubmitConstraints@CustomPlayerController@@MAEXMH@Z) referenced in function "public: virtual void __thiscall MyPlayerController::SubmitConstraints(float,int)" (?SubmitConstraints@MyPlayerController@@UAEXMH@Z)
8>CharacterController.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall CustomPlayerController::SetVelocity(float,float,float)" (__imp_?SetVelocity@CustomPlayerController@@QAEXMMM@Z) referenced in function "public: virtual void __thiscall MyPlayerController::SubmitConstraints(float,int)" (?SubmitConstraints@MyPlayerController@@UAEXMH@Z)
8>RayCastCar.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CustomDGRayCastCar::SubmitConstraints(float,int)" (?SubmitConstraints@CustomDGRayCastCar@@MAEXMH@Z)
8>RayCastCar.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall CustomDGRayCastCar::AddSingleSuspensionTire(void *,class dVector const &,float,float,float,float,float,float,float,int)" (__imp_?AddSingleSuspensionTire@CustomDGRayCastCar@@QAEXPAXABVdVector@@MMMMMMMH@Z) referenced in function "private: void __thiscall BasicCar::AddTire(struct CAR_CONFIG const &,char const *,float,float,char const *)" (?AddTire@BasicCar@@AAEXABUCAR_CONFIG@@PBDMM1@Z)
8>RayCastCar.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class dMatrix __thiscall CustomDGRayCastCar::CalculateSuspensionMatrix(int,float)const " (__imp_?CalculateSuspensionMatrix@CustomDGRayCastCar@@QBE?AVdMatrix@@HM@Z) referenced in function "private: static void __cdecl BasicCar::SetTransform(struct NewtonBody const *,float const *,int)" (?SetTransform@BasicCar@@CAXPBUNewtonBody@@PBMH@Z)
8>RayCastCar.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: float __thiscall CustomDGRayCastCar::GetTireParametricPosition(int)const " (__imp_?GetTireParametricPosition@CustomDGRayCastCar@@QBEMH@Z) referenced in function "private: static void __cdecl BasicCar::SetTransform(struct NewtonBody const *,float const *,int)" (?SetTransform@BasicCar@@CAXPBUNewtonBody@@PBMH@Z)
8>RayCastCar.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: float __thiscall CustomDGRayCastCar::GetSpeed(void)const " (__imp_?GetSpeed@CustomDGRayCastCar@@QBEMXZ) referenced in function "void __cdecl CamFollow(void)" (?CamFollow@@YAXXZ)
8>RayCastCar.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall CustomDGRayCastCar::SetTireSteerAngleForce(int,float,float)" (__imp_?SetTireSteerAngleForce@CustomDGRayCastCar@@QAEXHMM@Z) referenced in function "public: void __thiscall BasicCar::ApplySteering(float)" (?ApplySteering@BasicCar@@QAEXM@Z)
8>RayCastCar.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: float __thiscall CustomDGRayCastCar::GenerateTiresSteerForce(float)" (__imp_?GenerateTiresSteerForce@CustomDGRayCastCar@@QAEMM@Z) referenced in function "public: void __thiscall BasicCar::ApplySteering(float)" (?ApplySteering@BasicCar@@QAEXM@Z)
8>RayCastCar.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: float __thiscall CustomDGRayCastCar::GenerateTiresSteerAngle(float)" (__imp_?GenerateTiresSteerAngle@CustomDGRayCastCar@@QAEMM@Z) referenced in function "public: void __thiscall BasicCar::ApplySteering(float)" (?ApplySteering@BasicCar@@QAEXM@Z)
8>RayCastCar.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall CustomDGRayCastCar::SetTireBrake(int,float)" (__imp_?SetTireBrake@CustomDGRayCastCar@@QAEXHM@Z) referenced in function "public: void __thiscall BasicCar::ApplyBrake(float)" (?ApplyBrake@BasicCar@@QAEXM@Z)
8>RayCastCar.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall CustomDGRayCastCar::SetTireTorque(int,float)" (__imp_?SetTireTorque@CustomDGRayCastCar@@QAEXHM@Z) referenced in function "public: void __thiscall BasicCar::ApplyTorque(float)" (?ApplyTorque@BasicCar@@QAEXM@Z)
8>RayCastCar.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: float __thiscall CustomDGRayCastCar::GenerateEngineTorque(float)" (__imp_?GenerateEngineTorque@CustomDGRayCastCar@@QAEMM@Z) referenced in function "public: void __thiscall BasicCar::ApplyTorque(float)" (?ApplyTorque@BasicCar@@QAEXM@Z)
8>SpecialTrackJoints.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) protected: virtual void __thiscall CustomSlidingContact::SubmitConstraints(float,int)" (__imp_?SubmitConstraints@CustomSlidingContact@@MAEXMH@Z) referenced in function "public: virtual void __thiscall FrictionTrank::FrictionTrankThreaSuspention::SubmitConstraints(float,int)" (?SubmitConstraints@FrictionTrankThreaSuspention@FrictionTrank@@UAEXMH@Z)
8>danimation.lib(dPoseGenerator.obj) : error LNK2019: unresolved external symbol "public: class dQuaternion __thiscall dQuaternion::Slerp(class dQuaternion const &,float)const " (?Slerp@dQuaternion@@QBE?AV1@ABV1@M@Z) referenced in function "public: void __thiscall dPoseGenerator::Generate(float)" (?Generate@dPoseGenerator@@QAEXM@Z)
8>..\bin/X32\NewtonDemos.exe : fatal error LNK1120: 37 unresolved externals


Older version than 2.07 worked fine.

Please for help.
Nikonek
 
Posts: 3
Joined: Mon Jul 06, 2009 3:42 pm

Return to Bugs and Fixes

Who is online

Users browsing this forum: No registered users and 1 guest