Bullet not compiling with -DBT_USE_DOUBLE_PRECISION
Posted: Mon Jul 23, 2007 4:24 pm
Hi,
I use Bullet (svn version) with double precision (on Linux), by defining
Lately it won't compile anymore, the first error is this one:
It compiles fine without the -DBT_USE_DOUBLE_PRECISION being set. I recon btMax is a rather new function?
Cheers,
Ola
I use Bullet (svn version) with double precision (on Linux), by defining
Code: Select all
export CPPFLAGS=-DBT_USE_DOUBLE_PRECISION
Code: Select all
C++ ./out/linuxx86/optimize/src/BulletDynamics/ConstraintSolver/btHingeConstraint.o
src/BulletDynamics/ConstraintSolver/btHingeConstraint.cpp: In member function ‘virtual void btHingeConstraint::solveConstraint(btScalar)’:
src/BulletDynamics/ConstraintSolver/btHingeConstraint.cpp:348: error: no matching function for call to ‘btMax(btScalar, float)’
src/BulletDynamics/ConstraintSolver/btHingeConstraint.cpp:265: warning: unused variable ‘damping’
Cheers,
Ola