MADEAPPS / newton-dynamics

Newton Dynamics is an integrated solution for real time simulation of physics environments.
http://www.newtondynamics.com
Other
952 stars 182 forks source link

Include <malloc.h> in dMathDefines.h for Visual Studio 2022 #252

Closed jonesmz closed 3 years ago

jonesmz commented 3 years ago

Visual Studio 2022 apparently changed something in how their c runtime headers are arranged so that the "alloc()" function is not available with the current set of include files.

Including directly fixes the problem.

JulioJerez commented 3 years ago

patch was applied. Thanks you. please try to move to 4.00, a lot easier to use than 3.14

jonesmz commented 3 years ago

Project rules require the use of tagged releases whenever possible.

I'd be able to more easily justify using 4.0 if there was a tagged release for it.

It'd also be nice if 3.14 and 4.0 were seperated into their own branches.

JulioJerez commented 3 years ago

yes I understand, I can do o this. I will get to a stable part of teh complete the file format in 4.00 this weekend and then I can make the first stable release. it is worth moving to 4.00, in my opinion it is much, much polish than 3.xx and is solve many of the bottleneck impose by the c interface.
It is also faster while more acurate and stable.