FrictionalGames / HPL1Engine

A real time 3D engine.
http://www.frictionalgames.com/
GNU General Public License v3.0
718 stars 138 forks source link

too few arguments to function ‘NewtonBody* NewtonCreateBody(const NewtonWorld*, const NewtonCollision*, const float*) #4

Open Rudloff opened 12 years ago

Rudloff commented 12 years ago

Hello, I am trying to build the Newton2 branch on Mac OS 10.4 with Newton 2.33 and I get this error :

[  1%] Building CXX object CMakeFiles/HPL.dir/sources/impl/PhysicsBodyNewton.cpp.o
/Users/pierre/Desktop/HPL1Engine/sources/impl/PhysicsBodyNewton.cpp: In constructor ‘hpl::cPhysicsBodyNewton::cPhysicsBodyNewton(const hpl::tString&, hpl::iPhysicsWorld*, hpl::iCollideShape*)’:
/opt/local/include/Newton.h:670: error: too few arguments to function ‘NewtonBody* NewtonCreateBody(const NewtonWorld*, const NewtonCollision*, const float*)’
/Users/pierre/Desktop/HPL1Engine/sources/impl/PhysicsBodyNewton.cpp:47: error: at this point in file
urkle commented 12 years ago

Have you tried using the newton2 branch located here? https://github.com/hicham-haouari/HPL1Engine

that one should actually work the latest newton.. (he has a few issues he is banging out I believe). I'll eventually pull it in once it's completed..