Newton 2.0x Archemedia Open Beta

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

Re: Newton 2.0 Archemedia Open Beta

Postby Julio Jerez » Thu Apr 02, 2009 1:05 pm

cann't you just hack any o fteh SDK demos?
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Newton 2.0 Archemedia Open Beta

Postby Mc Blad » Mon Apr 06, 2009 3:14 am

Hello i've got some link errors compiling the demos with VC Express 9.0 and Windows XP. Does anyone have any ideas?

Code: Select all
Linking...
9>PhysicsUtils.obj : error LNK2001: unresolved external symbol "class dMatrix __cdecl dRollMatrix(float)" (?dRollMatrix@@YA?AVdMatrix@@M@Z)
9>BasicStacking.obj : error LNK2001: unresolved external symbol "class dMatrix __cdecl dRollMatrix(float)" (?dRollMatrix@@YA?AVdMatrix@@M@Z)
9>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)
9>PrecessingTops.obj : error LNK2001: unresolved external symbol "class dMatrix __cdecl dRollMatrix(float)" (?dRollMatrix@@YA?AVdMatrix@@M@Z)
9>UnstableStacks.obj : error LNK2001: unresolved external symbol "class dMatrix __cdecl dRollMatrix(float)" (?dRollMatrix@@YA?AVdMatrix@@M@Z)
9>ScenePrimitive.obj : error LNK2001: unresolved external symbol "class dMatrix __cdecl dRollMatrix(float)" (?dRollMatrix@@YA?AVdMatrix@@M@Z)
9>BasicCustomJoints.obj : error LNK2001: unresolved external symbol "class dMatrix __cdecl dRollMatrix(float)" (?dRollMatrix@@YA?AVdMatrix@@M@Z)
9>BasicRagDoll.obj : error LNK2001: unresolved external symbol "class dMatrix __cdecl dRollMatrix(float)" (?dRollMatrix@@YA?AVdMatrix@@M@Z)
9>BasicSphereSpin.obj : error LNK2001: unresolved external symbol "class dMatrix __cdecl dRollMatrix(float)" (?dRollMatrix@@YA?AVdMatrix@@M@Z)
9>BasicCustomJoints.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CustomBallAndSocket::SubmitConstrainst(float,int)" (?SubmitConstrainst@CustomBallAndSocket@@MAEXMH@Z)
9>BasicRobots.obj : error LNK2019: unresolved external symbol "protected: virtual void __thiscall CustomBallAndSocket::SubmitConstrainst(float,int)" (?SubmitConstrainst@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)
9>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)
9>BasicCustomJoints.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CustomHinge::SubmitConstrainst(float,int)" (?SubmitConstrainst@CustomHinge@@MAEXMH@Z)
9>BasicRobots.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CustomHinge::SubmitConstrainst(float,int)" (?SubmitConstrainst@CustomHinge@@MAEXMH@Z)
9>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)
9>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)
9>BasicCustomJoints.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall Custom6DOF::SubmitConstrainst(float,int)" (?SubmitConstrainst@Custom6DOF@@MAEXMH@Z)
9>BasicCustomJoints.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CustomCorkScrew::SubmitConstrainst(float,int)" (?SubmitConstrainst@CustomCorkScrew@@MAEXMH@Z)
9>BasicCustomJoints.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CustomSlider::SubmitConstrainst(float,int)" (?SubmitConstrainst@CustomSlider@@MAEXMH@Z)
9>BasicCustomJoints.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CustomUniversal::SubmitConstrainst(float,int)" (?SubmitConstrainst@CustomUniversal@@MAEXMH@Z)
9>Walls.obj : error LNK2001: unresolved external symbol "class dMatrix __cdecl dYawMatrix(float)" (?dYawMatrix@@YA?AVdMatrix@@M@Z)
9>PhysicsUtils.obj : error LNK2001: unresolved external symbol "class dMatrix __cdecl dYawMatrix(float)" (?dYawMatrix@@YA?AVdMatrix@@M@Z)
9>CompoundCollision.obj : error LNK2001: unresolved external symbol "class dMatrix __cdecl dYawMatrix(float)" (?dYawMatrix@@YA?AVdMatrix@@M@Z)
9>Jengas.obj : error LNK2001: unresolved external symbol "class dMatrix __cdecl dYawMatrix(float)" (?dYawMatrix@@YA?AVdMatrix@@M@Z)
9>Pyramids.obj : error LNK2001: unresolved external symbol "class dMatrix __cdecl dYawMatrix(float)" (?dYawMatrix@@YA?AVdMatrix@@M@Z)
9>Towers.obj : error LNK2001: unresolved external symbol "class dMatrix __cdecl dYawMatrix(float)" (?dYawMatrix@@YA?AVdMatrix@@M@Z)
9>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)
9>BasicRagDoll.obj : error LNK2001: unresolved external symbol "class dMatrix __cdecl dYawMatrix(float)" (?dYawMatrix@@YA?AVdMatrix@@M@Z)
9>BasicSphereSpin.obj : error LNK2001: unresolved external symbol "class dMatrix __cdecl dYawMatrix(float)" (?dYawMatrix@@YA?AVdMatrix@@M@Z)
9>BasicStacking.obj : error LNK2001: unresolved external symbol "class dMatrix __cdecl dYawMatrix(float)" (?dYawMatrix@@YA?AVdMatrix@@M@Z)
9>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)
9>BasicCustomJoints.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CustomGear::SubmitConstrainst(float,int)" (?SubmitConstrainst@CustomGear@@MAEXMH@Z)
9>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)
9>BasicCustomJoints.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) protected: virtual void __thiscall CustomWormGear::SubmitConstrainst(float,int)" (__imp_?SubmitConstrainst@CustomWormGear@@MAEXMH@Z) referenced in function "public: virtual void __thiscall ViseWornGear::SubmitConstrainst(float,int)" (?SubmitConstrainst@ViseWornGear@@UAEXMH@Z)
9>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)
9>BasicRagDoll.obj : error LNK2001: unresolved external symbol "class dMatrix __cdecl dPitchMatrix(float)" (?dPitchMatrix@@YA?AVdMatrix@@M@Z)
9>PhysicsUtils.obj : error LNK2001: unresolved external symbol "class dMatrix __cdecl dPitchMatrix(float)" (?dPitchMatrix@@YA?AVdMatrix@@M@Z)
9>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)
9>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)
9>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)
9>BasicRagDoll.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) protected: virtual void __thiscall CustomRagDoll::SubmitConstrainst(float,int)" (__imp_?SubmitConstrainst@CustomRagDoll@@MAEXMH@Z) referenced in function "protected: virtual void __thiscall RagDoll::SubmitConstrainst(float,int)" (?SubmitConstrainst@RagDoll@@MAEXMH@Z)
9>RayCastCar.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall CustomDGRayCastCar::SetVarMaxSteerSpeedRestriction(float)" (__imp_?SetVarMaxSteerSpeedRestriction@CustomDGRayCastCar@@QAEXM@Z) referenced in function "void __cdecl RayCastCar(class SceneManager &)" (?RayCastCar@@YAXAAVSceneManager@@@Z)
9>RayCastCar.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall CustomDGRayCastCar::SetVarMaxSteerAngle(float)" (__imp_?SetVarMaxSteerAngle@CustomDGRayCastCar@@QAEXM@Z) referenced in function "void __cdecl RayCastCar(class SceneManager &)" (?RayCastCar@@YAXAAVSceneManager@@@Z)
9>RayCastCar.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall CustomDGRayCastCar::SetVarMaxSteerForceRate(float)" (__imp_?SetVarMaxSteerForceRate@CustomDGRayCastCar@@QAEXM@Z) referenced in function "void __cdecl RayCastCar(class SceneManager &)" (?RayCastCar@@YAXAAVSceneManager@@@Z)
9>RayCastCar.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall CustomDGRayCastCar::SetVarEngineSteerDiv(float)" (__imp_?SetVarEngineSteerDiv@CustomDGRayCastCar@@QAEXM@Z) referenced in function "void __cdecl RayCastCar(class SceneManager &)" (?RayCastCar@@YAXAAVSceneManager@@@Z)
9>RayCastCar.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall CustomDGRayCastCar::SetVarMaxSteerRate(float)" (__imp_?SetVarMaxSteerRate@CustomDGRayCastCar@@QAEXM@Z) referenced in function "void __cdecl RayCastCar(class SceneManager &)" (?RayCastCar@@YAXAAVSceneManager@@@Z)
9>RayCastCar.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall CustomDGRayCastCar::SetVarMaxTorqueRate(float)" (__imp_?SetVarMaxTorqueRate@CustomDGRayCastCar@@QAEXM@Z) referenced in function "void __cdecl RayCastCar(class SceneManager &)" (?RayCastCar@@YAXAAVSceneManager@@@Z)
9>RayCastCar.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall CustomDGRayCastCar::SetVarMaxTorque(float)" (__imp_?SetVarMaxTorque@CustomDGRayCastCar@@QAEXM@Z) referenced in function "void __cdecl RayCastCar(class SceneManager &)" (?RayCastCar@@YAXAAVSceneManager@@@Z)
9>RayCastCar.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall CustomDGRayCastCar::SetVarMaxBrakeForce(float)" (__imp_?SetVarMaxBrakeForce@CustomDGRayCastCar@@QAEXM@Z) referenced in function "void __cdecl RayCastCar(class SceneManager &)" (?RayCastCar@@YAXAAVSceneManager@@@Z)
9>RayCastCar.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall CustomDGRayCastCar::SetVarChassisRotationLimit(float)" (__imp_?SetVarChassisRotationLimit@CustomDGRayCastCar@@QAEXM@Z) referenced in function "void __cdecl RayCastCar(class SceneManager &)" (?RayCastCar@@YAXAAVSceneManager@@@Z)
9>RayCastCar.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CustomDGRayCastCar::SubmitConstrainst(float,int)" (?SubmitConstrainst@CustomDGRayCastCar@@MAEXMH@Z)
9>RayCastCar.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CustomDGRayCastCar::SetBrake(float)" (?SetBrake@CustomDGRayCastCar@@UAEXM@Z)
9>RayCastCar.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CustomDGRayCastCar::SetTorque(float)" (?SetTorque@CustomDGRayCastCar@@UAEXM@Z)
9>RayCastCar.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CustomDGRayCastCar::SetSteering(float)" (?SetSteering@CustomDGRayCastCar@@UAEXM@Z)
9>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)
9>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)
9>RayCastCar.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: float __thiscall CustomDGRayCastCar::GetParametricPosition(int)const " (__imp_?GetParametricPosition@CustomDGRayCastCar@@QBEMH@Z) referenced in function "private: static void __cdecl BasicCar::SetTransform(struct NewtonBody const *,float const *,int)" (?SetTransform@BasicCar@@CAXPBUNewtonBody@@PBMH@Z)
9>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)
9>RayCastCar.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall CustomDGRayCastCar::SetCustomTireSteerAngleForce(int,float,float)" (__imp_?SetCustomTireSteerAngleForce@CustomDGRayCastCar@@QAEXHMM@Z) referenced in function "public: void __thiscall BasicCar::ApplySteering(float)" (?ApplySteering@BasicCar@@QAEXM@Z)
9>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)
9>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)
9>RayCastCar.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall CustomDGRayCastCar::SetCustomTireBrake(int,float)" (__imp_?SetCustomTireBrake@CustomDGRayCastCar@@QAEXHM@Z) referenced in function "public: void __thiscall BasicCar::ApplyBrake(float)" (?ApplyBrake@BasicCar@@QAEXM@Z)
9>RayCastCar.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: float __thiscall CustomDGRayCastCar::GenerateTiresBrake(float)" (__imp_?GenerateTiresBrake@CustomDGRayCastCar@@QAEMM@Z) referenced in function "public: void __thiscall BasicCar::ApplyBrake(float)" (?ApplyBrake@BasicCar@@QAEXM@Z)
9>RayCastCar.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall CustomDGRayCastCar::SetVarTireMovePointForceUp(int,float)" (__imp_?SetVarTireMovePointForceUp@CustomDGRayCastCar@@QAEXHM@Z) referenced in function "public: void __thiscall BasicCar::ApplyTorque(float)" (?ApplyTorque@BasicCar@@QAEXM@Z)
9>RayCastCar.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall CustomDGRayCastCar::SetCustomTireTorque(int,float)" (__imp_?SetCustomTireTorque@CustomDGRayCastCar@@QAEXHM@Z) referenced in function "public: void __thiscall BasicCar::ApplyTorque(float)" (?ApplyTorque@BasicCar@@QAEXM@Z)
9>RayCastCar.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: float __thiscall CustomDGRayCastCar::GenerateTiresTorque(float)" (__imp_?GenerateTiresTorque@CustomDGRayCastCar@@QAEMM@Z) referenced in function "public: void __thiscall BasicCar::ApplyTorque(float)" (?ApplyTorque@BasicCar@@QAEXM@Z)
9>SpecialTrackJoints.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) protected: virtual void __thiscall CustomSlidingContact::SubmitConstrainst(float,int)" (__imp_?SubmitConstrainst@CustomSlidingContact@@MAEXMH@Z) referenced in function "public: virtual void __thiscall FrictionTrank::FrictionTrankThreaSuspention::SubmitConstrainst(float,int)" (?SubmitConstrainst@FrictionTrankThreaSuspention@FrictionTrank@@UAEXMH@Z)
9>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)
9>..\bin/X32\NewtonDemos.exe : fatal error LNK1120: 47 unresolved externals
Mc Blad
 
Posts: 2
Joined: Mon Jan 23, 2006 4:55 am

Re: Newton 2.0 Archemedia Open Beta

Postby Sacrificeman » Tue Apr 07, 2009 2:06 pm

Hey all,
Newton 2 has worked awesome for me so far when using it on Mac OS X or iPhone Simulator!
However on the actual iPod Touch device with firmware 2.2.1 the joints don't work. Ragdolls are freaking out and I dunno what happened to the raycast car at all ;)
Even the simple upvector joint doesn't work properly. Bodies with upvector constraints just fall through the floor when I apply gravity to them. It's quite strange since everything works perfectly in the simulator. I read something about an optimized solver for iPhones/iPod touches... Maybe I need to setup something to make joints work properly? Are any problems with the iPhone Newton solver known?
Then again I heard that other people have released iphone games with newton to the app store already... if they got joints working I wonder what I am doing wrong...
Sorry if this has been discussed before!
Thanks for your help
-Sacrificeman
Sacrificeman
 
Posts: 3
Joined: Sun Sep 03, 2006 10:10 am

Re: Newton 2.0 Archemedia Open Beta

Postby Julio Jerez » Tue Apr 07, 2009 5:19 pm

you mean it works on the iphone and not in the Ipot?
did you compilied the custom joints? I only build the engine, and nothong else?
The car is a custom joint now, I would love to see a car demo running on the Iphone?

could you post a small main loop that work on the Iphone?
I never tested the SDK on any IPot or any Iphone, but I I get some help with some wroking framework and I can run test to make sure is working correctly.
It appears that the are many strage compiler setting that can make the library vary from app to app.
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Newton 2.0 Archemedia Open Beta

Postby Sacrificeman » Wed Apr 08, 2009 2:56 am

It works in the iPhone Simulator. That's part of the iPhone SDK and allows you to test your iPhone/iPod Touch apps on your Mac without a real device.
I don't have an iPhone, but I've got an iPod Touch 2G. They are very similar and should run the same apps. Now the code that runs perfectly in the simulator doesn't work properly on the iPod Touch 2G. The simulator is using the libinewtonEmulator.a and the iPod itself uses libinewtonNative.a I guess. The custom joints are also compiled and used for cars.
I didn't build these libraries myself, used the ones that came with the Mac version of the archemedia beta. Maybe that's the whole problem. Is there another library or source I should build it from?
Will try to rip off some sample code from the app but that can a while.
Here is some car driving in the iPhone simulator: http://www.igame3d.de/igame3dcardemo.mov
Nothing big yet but it's a start ;)
Sacrificeman
 
Posts: 3
Joined: Sun Sep 03, 2006 10:10 am

Re: Newton 2.0 Archemedia Open Beta

Postby JernejL » Wed Apr 08, 2009 10:16 am

Hey, that looks very nice, almost a iphone theft auto? :)
Help improving the Newton Game Dynamics WIKI
User avatar
JernejL
 
Posts: 1578
Joined: Mon Dec 06, 2004 2:00 pm
Location: Slovenia

Re: Newton 2.0 Archemedia Open Beta

Postby Julio Jerez » Thu Apr 09, 2009 11:45 am

Wow the video is cool. How would think the Ipot could so co much, you got cars rag doll and a large 3d enviroments, not bad at all.
Tell me do you get anything working on the divice?

What I mean is if you can send me a minimal sample code that you know run on emularion, but fail on the device?
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

contactCallback in newton 2.0

Postby Virginie » Fri Apr 10, 2009 5:45 am

hello Julio,

Can you explain me the new mechanism of contactCallback in Newton 2.0?
If I understand beginCallback is replaced by aabbOverlap, processCallback by process and there are not endCallback?

Thank you
Virginie
 
Posts: 32
Joined: Tue Mar 31, 2009 4:29 am

Re: contactCallback in newton 2.0

Postby JernejL » Fri Apr 10, 2009 7:31 am

Virginie wrote:hello Julio,

Can you explain me the new mechanism of contactCallback in Newton 2.0?
If I understand beginCallback is replaced by aabbOverlap, processCallback by process and there are not endCallback?

Thank you


Exactly, and you don't need endcallback since there's only one processcallback call PER BODY (you iterate all contacts for one body in that function)

so code from endcallback should now go into process callback.
Help improving the Newton Game Dynamics WIKI
User avatar
JernejL
 
Posts: 1578
Joined: Mon Dec 06, 2004 2:00 pm
Location: Slovenia

Re: Newton 2.0 Archemedia Open Beta

Postby Virginie » Fri Apr 10, 2009 7:56 am

Thanks for your answer :)
Virginie
 
Posts: 32
Joined: Tue Mar 31, 2009 4:29 am

Re: Newton 2.0 Archemedia Open Beta

Postby Sacrificeman » Sat Apr 11, 2009 9:48 am

@Delfi: Thanks, hehe. Yeah, a GTA thing was one of many things we tried. Maybe it turns out to be a fun thing on the iPhone/iPod ;)

@Julio: I have created a very slim iPhone app now using newton and just one rigid body (with upvector constraint) falling onto the ground. For some reason this works well in both the Simulator and the iPod. I expected it to fall through the floor like it does in my engine when run on the iPod, so the issue must be somewhere in my code... That'll be a tough time debugging, adding feature by feature to the working version until it stops working. Will keep you posted. By the way, is maybe turning the rotation matrix to euler and then turning the euler back to rotation matrix a bad idea??

Oh, and speaking of the iPhone simulator... it hasn't got much to do with the actual iPhone, it has much better graphics and CPU performance since it just runs on the desktop processors without faking the iPhone/iPod Touch hardware. So I'm not sure if I can keep the graphics as they are now, time will show... happy easter, everybody
Sacrificeman
 
Posts: 3
Joined: Sun Sep 03, 2006 10:10 am

Re: Newton 2.0 Archemedia Open Beta

Postby Beauty » Sun Apr 12, 2009 11:49 am

Julio Jerez wrote:cann't you just hack any o fteh SDK demos?

My C++ knowledge is bad. So I prefere to use C# for testing.

Well, most data of Newton access is logged by my main application.
My test application redo the Newton calls.
ConvexHulls defined by vertices are equal.
ConvexHulls defined by Meshes are replaced by a box (size of bounding box).

There is unnecessary code in my test application (because I just hacked an other test app).
The interesting code is in file OgreForm.cs
* StartNewtonTest()
* LoadLogfile()
* Playback()
* CheckForCollision()

It's a console application.
Outputs:
. (point) - a position / orientation update
u - CollitionUpdate started
U - CollitionUpdate finished
c - check for collision
C - collision found (this doesn't happen - maybe I forgot something?)

The download URL I send you by pm.
If you need the wrapper code - it's here:
https://mogre.svn.sourceforge.net/svnro ... MogreNewt/

1.)
Strange thing:
In my main application the call of NewtonCollisionUpdate(world) is very fast.
But in my test application it's extremely slow (needs about 0.5s).
I don't know why.
The wrapper can't be the reason (I suppose), because it's just one line of code:
Code: Select all
public ref class World
{
// ...
public:
   void CollisionUpdate() { NewtonCollisionUpdate( m_world ); }
// ...


2.)
In my main application I get a freeze after some time by call of CollisionUpdate.
In my test application I get an AccessViolationException after some time by call of CollisionUpdate. (this didn't happen in my main application I think)
StackTrace:
at NewtonCollisionUpdate(NewtonWorld* )
at MogreNewt.World.CollisionUpdate()



I hope my test application can help you at debugging.
If you have questions or tasks, just tell me.
Mogre user
User avatar
Beauty
 
Posts: 30
Joined: Tue Apr 29, 2008 7:37 am
Location: Germany

Re: Newton 2.0 Archemedia Open Beta

Postby Beauty » Wed Apr 15, 2009 1:07 pm

Ok, I found a sub problem.
The problem was in Convert.ToSingle(...).
In the logfile all values were with Point as decimal seperator, but the convert method expected the local setting (German).
In German the decimal seperator is "," instead of "." and for thousands seperator Germans use "." instead of ",".
Example:
English -> "10,000.5"
German -> "10.000,5"

So the values were huge and made problems.
Now I fixed the problem.
Collisions were detected, collisionUpdate is quick and the freeze happens.
The application link I'll send you (Julio) by pm.
Mogre user
User avatar
Beauty
 
Posts: 30
Joined: Tue Apr 29, 2008 7:37 am
Location: Germany

Re: Newton 2.0 Archemedia Open Beta

Postby Julio Jerez » Wed Apr 15, 2009 3:22 pm

Oh I have not done anything on the engine in the pass four weeks due to some personal issues that did not let me focus on anything.

I will resume with the testing and CUDA stuff now.
I have the test you send me, but readin teh last post I am asking do you problem?
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Newton 2.0 Archemedia Open Beta

Postby Beauty » Thu Apr 16, 2009 12:12 am

Julio Jerez wrote:but readin teh last post I am asking do you problem?

I don't know what exactly you want to know.
Maybe you are confused by the description of the (fixed) problems of my test application.

The test application reproduces the problem.
Run it and some time later there should happen the freeze by call of NewtonCollisionUpdate(...).
* Physics is not used.
* Moving is done by manual update of position/orientation. (The wrapper uses NewtonBodySetMatrix(...) for this.)
* Collision query by Iterator method. (No use of a callback function)
Mogre user
User avatar
Beauty
 
Posts: 30
Joined: Tue Apr 29, 2008 7:37 am
Location: Germany

PreviousNext

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests

cron