Ok, so it builds properly, but when I compile against my code I get the following undefined references:
Code: Select all
undefined reference to `btMultiBody::addJointTorqueMultiDof(int, int, float)'
undefined reference to `btMultiBody::btMultiBody(int, float, btVector3 const&, bool, bool, bool)'
...(more multibody related things)
undefined reference to `btCapsuleShape::btCapsuleShape(float, float)'
undefined reference to `btStaticPlaneShape::btStaticPlaneShape(btVector3 const&, float)'
undefined reference to `btHeightfieldTerrainShape::btHeightfieldTerrainShape(int, int, void const*, float, float, float, int, PHY_ScalarType, bool)'
undefined reference to `btRigidBody::btRigidBody(float, btMotionState*, btCollisionShape*, btVector3 const&)'
When I turn it back to a non double precision build, it finds the references again and works normally. What might be wrong? Are these components not for double precision?
I am building with the following cmake line:
Code: Select all
cmake -G"Eclipse CDT4 - Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DBUILD_BULLET2_DEMOS=ON -DBUILD_CPU_DEMOS=ON -DBUILD_BULLET3=ON -DBUILD_OPENGL3_DEMOS=ON -DBUILD_EXTRAS=ON -DBUILD_SHARED_LIBS=ON -DINSTALL_EXTRA_LIBS=ON -DUSE_DOUBLE_PRECISION=ON ..