Application Error

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

Application Error

Postby BoingBoing » Thu Nov 12, 2009 2:08 am

"The application was unable to start correctly (0xc000007b). Click OK to close the application."

I get this when I added this code:
Code: Select all
   dMatrix location (GetIdentityMatrix());
   dFloat kinematicCushion = 1.0f / 64.0f; 

   int defaultMaterialID;
   defaultMaterialID = NewtonMaterialGetDefaultGroupID (GetEngine()->p_world);

   dVector size (1.8748f, 0.4885f, 1.0f);
   NewtonBody* playerBody = CreatePlayBody (GetEngine()->p_world, 100, location, size, defaultMaterialID);

   dVector pin (0.0f, 1.0f, 0.0f, 0.0f);
   dMatrix globalFrame (GetIdentityMatrix());
   globalFrame.m_front = dVector (0.0f, 1.0f, 0.0f, 0.0f);        // up direction in global Space
   globalFrame.m_up    = dVector (1.0f, 0.0f, 0.0f, 0.0f);        // front direction in global Space
   globalFrame.m_right = globalFrame.m_front * globalFrame.m_up;  // strafing direction in global Space

   dFloat maxStairStepFactor = 0.7f / size.m_x;

   NewtonUserJoint* playerController = CreateCustomPlayerController (&globalFrame[0][0], playerBody, maxStairStepFactor, kinematicCushion);


I could spawn other Newton Bodies but it just seems as if its just jointlibraries that is causing the problem.
BoingBoing
 
Posts: 11
Joined: Sun Oct 04, 2009 4:15 pm

Re: Application Error

Postby Ripiz » Tue Nov 17, 2009 6:01 am

Try debugging and check which line cause problems
Ripiz
 
Posts: 47
Joined: Sat Oct 03, 2009 12:07 pm

Re: Application Error

Postby Julio Jerez » Tue Nov 17, 2009 8:35 am

I do not knwo what oxc000007b is, it is no wan expection listed of the type of the CPU harware eceptions.

Make sure the joint libray you are using have the correct build settings.
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 0 guests

cron