Link error about CreateCustomPlayerController.

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

Link error about CreateCustomPlayerController.

Postby Neo » Wed Oct 10, 2012 9:08 am

Now I'm trying to add player controller to my game, do it like the tutorial does.
But I've got a link error in function CreateCustomPlayerController,
code:
Code: Select all
bodyJoint=CreateCustomPlayerController(&orientation.pointer()[0],body_newt,maxStairStepFactor,padding);


and the visual studio 2008 gives me an link error:
error LNK2019: unsolved external symbol __imp__CreateCustomPlayerController

Well, after I recompiled the joint library, the problem still there...
And I've updated to the latest newton engine via svn yesterday...
Neo
 
Posts: 127
Joined: Fri May 11, 2012 12:29 pm
Location: China,Sichuan

Re: Link error about CreateCustomPlayerController.

Postby Neo » Fri Oct 12, 2012 1:45 am

No one knows?
This is weird because in my code I also called the other API function in the joint library, such as CustomCreateHinge(), CustomPlayerControllerSetMaxSlope() .etc
However, the link error apears only when I tried to call CreateCustomPlayerController(), and when I comment this line, everything turns out right :?
Neo
 
Posts: 127
Joined: Fri May 11, 2012 12:29 pm
Location: China,Sichuan


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 4 guests

cron