Demo5 Simple Vehicle AddSingleSuspensionTire Friction Proble

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

Re: Demo5 Simple Vehicle AddSingleSuspensionTire Friction Pr

Postby raisins » Wed Aug 12, 2015 11:22 pm

So I tried compiling 3.14 but I got linker error. I don't know why, I made sure everything is setup correctly. Everything else works fine except for the linker error when compiling Sandbox.

Code: Select all
1>dCustomJoints.lib(CustomVehicleControllerBodyState.obj) : warning LNK4217: locally defined symbol ?GetContactBody@CustomVehicleController@@IAEPAVCustomVehicleControllerBodyStateContact@@QBVNewtonBody@@@Z (protected: class CustomVehicleControllerBodyStateContact * __thiscall CustomVehicleController::GetContactBody(class NewtonBody const * const)) imported in function "private: void __thiscall CustomVehicleControllerBodyStateTire::Collide(class CustomControllerConvexCastPreFilter &,float,int)" (?Collide@CustomVehicleControllerBodyStateTire@@AAEXAAVCustomControllerConvexCastPreFilter@@MH@Z)
1>dCustomJoints.lib(CustomBallAndSocket.obj) : warning LNK4217: locally defined symbol ?GetInfo@CustomJoint@@UBEXQAUNewtonJointRecord@@@Z (public: virtual void __thiscall CustomJoint::GetInfo(struct NewtonJointRecord * const)const ) imported in function "protected: virtual void __thiscall CustomPointToPoint::GetInfo(struct NewtonJointRecord * const)const " (?GetInfo@CustomPointToPoint@@MBEXQAUNewtonJointRecord@@@Z)
1>StructuredConvexFracturing.obj : error LNK2001: unresolved external symbol __imp__NewtonBodyGetUserData
1>SuperCar.obj : error LNK2001: unresolved external symbol __imp__NewtonBodyGetUserData
1>HeavyVehicles.obj : error LNK2001: unresolved external symbol __imp__NewtonBodyGetUserData
1>MultiRayCasting.obj : error LNK2001: unresolved external symbol __imp__NewtonBodyGetUserData
1>SuperCar.obj : error LNK2001: unresolved external symbol __imp__NewtonBodyGetUserData
1>HeavyVehicles.obj : error LNK2001: unresolved external symbol __imp__NewtonBodyGetUserData
1>MultiRayCasting.obj : error LNK2001: unresolved external symbol __imp__NewtonBodyGetUserData
1>PrimitiveCollision.obj : error LNK2001: unresolved external symbol __imp__NewtonBodyGetUserData
1>StandardJoints.obj : error LNK2001: unresolved external symbol __imp__NewtonBodyGetUserData
1>ArticulatedJoints.obj : error LNK2001: unresolved external symbol __imp__NewtonBodyGetUserData
1>BasicCar.obj : error LNK2001: unresolved external symbol __imp__NewtonBodyGetUserData
1>BasicPlayerController.obj : error LNK2001: unresolved external symbol __imp__NewtonBodyGetUserData
1>BasicRagDoll.obj : error LNK2019: unresolved external symbol __imp__NewtonBodyGetUserData referenced in function "public: virtual void * __thiscall dClassInfo::`scalar deleting destructor'(unsigned int)" (??_GdClassInfo@@UAEPAXI@Z)
1>DemoCameraListener.obj : error LNK2001: unresolved external symbol __imp__NewtonBodyGetUserData
1>DemoEntity.obj : error LNK2001: unresolved external symbol __imp__NewtonBodyGetUserData
1>DemoEntityManager.obj : error LNK2001: unresolved external symbol __imp__NewtonBodyGetUserData
1>AdvancedPlayerController.obj : error LNK2001: unresolved external symbol __imp__NewtonBodyGetUserData
1>dScene.lib(dScene.obj) : error LNK2001: unresolved external symbol __imp__NewtonWorldGetNextBody
1>PrecessingTops.obj : error LNK2001: unresolved external symbol __imp__NewtonWorldGetNextBody
1>PrimitiveCollision.obj : error LNK2001: unresolved external symbol __imp__NewtonWorldGetNextBody
1>DebugDisplay.obj : error LNK2001: unresolved external symbol __imp__NewtonWorldGetNextBody
1>PhysicsUtils.obj : error LNK2001: unresolved external symbol __imp__NewtonWorldGetNextBody
1>DemoCameraListener.obj : error LNK2019: unresolved external symbol __imp__NewtonWorldGetNextBody


The list goes on, I got about 1400 linker errors.

Please help?
raisins
 
Posts: 12
Joined: Tue Aug 04, 2015 11:08 am

Re: Demo5 Simple Vehicle AddSingleSuspensionTire Friction Pr

Postby Julio Jerez » Thu Aug 13, 2015 12:25 pm

you nee to get the 3.13 stable release from gethub, then you need top set the environment variables
like the ogrenewton readme.txt file says.
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Previous

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests