Physics Simulation Forum

 

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Tue Nov 08, 2011 6:31 pm 
Offline

Joined: Tue Nov 08, 2011 6:16 pm
Posts: 2
Hi,

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:
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


Before digging further, should I give a try to a more "stable" release ? Should I replace sources coming from the dynamica checkout with a newer version of bullet ?

Thanks in advance for any advice, and sorry for my crappy english, hope I'm understandable ...

Tonio


Top
 Profile  
 
PostPosted: Wed Dec 21, 2011 11:42 am 
Offline
Site Admin
User avatar

Joined: Sun Jun 26, 2005 6:43 pm
Posts: 3744
Location: California, USA
The Makefile is not actively maintained.

It should be fairly simple to add the missing file. Just search for the matching .cpp file and add it.
If you fix it, please consider contributing it back,
Thanks!
Erwin


Top
 Profile  
 
PostPosted: Thu Dec 22, 2011 2:48 pm 
Offline

Joined: Tue Nov 08, 2011 6:16 pm
Posts: 2
Hi Erwin,

Glad to read your answer. I'm currently quite busy, strugglin with Arnold and Shave&Haircut, but I'll definitely give another try sooner or later. I'll obviously send you feedback as soon as possible.

Thanks for your concern and ... merry christmas !

Tonio


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group