Bullet Physic Library

On 20/02/2013 at 17:10, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   R12 
Platform:   Windows  ;   
Language(s) :     C++  ;

Here is one for the developers or someone who has already utilized this free physics library in your plugins:  I am getting issues with btVector3 giving this error:
warning C4328: 'btScalar btVector3::dot(const btVector3 &) const' : indirection alignment of formal parameter 1 (16) is greater than the actual argument alignment (8)_

I've seen these issues on their forum but even after turning off SSE options in the Bullet libs, it persists.  I'm building in VS2005 SP2 for C4D R12.  Not much information on how to resolve this in lib build options.


On 20/02/2013 at 17:59, xxxxxxxx wrote:

I think it has turned out to be a header order issue.  Moving the Bullet header above c4d.h et al resolved the errors.