I'm currently tryin to get some compilation of Dynamica for Mac OSX 10.6.8 / Maya 2012 sp1.
Starting from a fresh read only checkout of dynamica (r2446), I had to fix some lines in Makefile.mac :
- forced maya path in MAYA_LIB var (2010 devkit by default)
- forced -arch x86_64 in CPPFLAGS (ld issue)
- removed btContinuousDynamicsWorld.cpp and btContinuousDynamicsWorld.h from rules (cannot find these files, neither in dynamica nor raw bullet sources)
I'm now stuck with some undefined symbol issues when linkin dynamicaMayaPlugin.bundle :
Code: Select all
Undefined symbols for architecture x86_64:
"vtable for bt_rigid_body_t", referenced from:
bt_rigid_body_t::bt_rigid_body_t(collision_shape_impl_t*)in bt_solver.o
"convex_decomposition_hacd::convex_decomposition_hacd()", referenced from:
bt_hacd_shape_t::bt_hacd_shape_t(mvl::vec<float, 3ul> const*, unsigned long, mvl::vec<float, 3ul> const*, unsigned int const*, unsigned long, bool)in bt_solver.o
"convex_decomposition_hacd::ConvexDecomp(int, float*, int, unsigned int const*)", referenced from:
bt_hacd_shape_t::bt_hacd_shape_t(mvl::vec<float, 3ul> const*, unsigned long, mvl::vec<float, 3ul> const*, unsigned int const*, unsigned long, bool)in bt_solver.o
"btPolyhedralContactClipping::findSeparatingAxis(btConvexPolyhedron const&, btConvexPolyhedron const&, btTransform const&, btTransform const&, btVector3&)", referenced from:
btConvexConvexAlgorithm::processCollision(btCollisionObject*, btCollisionObject*, btDispatcherInfo const&, btManifoldResult*)in btConvexConvexAlgorithm.o
"btPolyhedralContactClipping::clipHullAgainstHull(btVector3 const&, btConvexPolyhedron const&, btConvexPolyhedron const&, btTransform const&, btTransform const&, float, float, btDiscreteCollisionDetectorInterface::Result&)", referenced from:
btConvexConvexAlgorithm::processCollision(btCollisionObject*, btCollisionObject*, btDispatcherInfo const&, btManifoldResult*)in btConvexConvexAlgorithm.o
"btPolyhedralContactClipping::clipFaceAgainstHull(btVector3 const&, btConvexPolyhedron const&, btTransform const&, btAlignedObjectArray<btVector3>&, float, float, btDiscreteCollisionDetectorInterface::Result&)", referenced from:
btConvexConvexAlgorithm::processCollision(btCollisionObject*, btCollisionObject*, btDispatcherInfo const&, btManifoldResult*)in btConvexConvexAlgorithm.o
"btConvexHullComputer::compute(void const*, bool, int, int, float, float)", referenced from:
btConvexHullComputer::compute(float const*, int, int, float, float)in btPolyhedralConvexShape.o
"btConvexPolyhedron::btConvexPolyhedron()", referenced from:
btPolyhedralConvexShape::initializePolyhedralFeatures() in btPolyhedralConvexShape.o
"btConvexPolyhedron::initialize()", referenced from:
btPolyhedralConvexShape::initializePolyhedralFeatures() in btPolyhedralConvexShape.o
ld: symbol(s) not found for architecture x86_64
Thanks in advance for any advice, and sorry for my crappy english, hope I'm understandable ...
Tonio