Hi,
It seems that Bullet libraries don't compile in double precision (set by adding #define BT_USE_DOUBLE_PRECISION at top of btScalar.h)
Have tried the 2.75 release, the trunk release (Dec 09) and the current SVN latest.
I'm running 64bit Ubuntu 9.10 , gcc 4.4.1, make 3.81, cmake 2.6 patch 4
I use "cmake ." , then "make"
It compiles OK if I don't use the flag (i.e. single precision)
Have tried doing "export CPPFLAGS=-DBT_USE_DOUBLE_PRECISION" before running make.
This compiles, but the AppDoublePrecisionDemo reports single precision, so I'm assuming this flag is simply ignored.
Compile Errors:
Code: Select all
... ./bullet-trunk/src/BulletDynamics/Dynamics/Bullet-C-API.cpp: In function ‘void plSetOpenGLMatrix(plRigidBodyHandle__*, plReal*)’:
... ./bullet-trunk/src/BulletDynamics/Dynamics/Bullet-C-API.cpp:303: error: no matching function for call to ‘btTransform::setFromOpenGLMatrix(plReal*&)’
... ./bullet-trunk/src/LinearMath/btTransform.h:126: note: candidates are: void btTransform::setFromOpenGLMatrix(const btScalar*)
... ./bullet-trunk/src/BulletDynamics/Dynamics/Bullet-C-API.cpp: In function ‘void plGetOpenGLMatrix(plRigidBodyHandle__*, plReal*)’:
... ./bullet-trunk/src/BulletDynamics/Dynamics/Bullet-C-API.cpp:310: error: no matching function for call to ‘btTransform::getOpenGLMatrix(plReal*&)’
... ./bullet-trunk/src/LinearMath/btTransform.h:134: note: candidates are: void btTransform::getOpenGLMatrix(btScalar*) const
make[2]: *** [src/BulletDynamics/CMakeFiles/BulletDynamics.dir/Dynamics/Bullet-C-API.o] Error 1