Build errors when integrating Bullet in my game

Soollee
Posts: 4
Joined: Sun Nov 08, 2009 11:06 am

Build errors when integrating Bullet in my game

Post by Soollee »

Hi All!

I'm completly new to Bullet Physics engine and I wanted to try it out in a project.
However when compliling my project I'm getting build errors. All errors originate from BT_DECLARE_ALIGNED_ALLOCATOR() macro. Have anyone experienced this problem before and in that case what seem to be the problem?

I think that i've included everything needed to build the project with Bullet. Included the btBulletDynamicsCommon header and all the libraries needed.

Any help would be appriciated :)

Errors:

Code: Select all

c:\users\kristian sylwander\desktop\mobile graphics, assignment 1\bullet\src\bulletcollision\collisiondispatch\btCollisionObject.h(102) : error C2544: expected ')' for operator '()'
1>c:\users\kristian sylwander\desktop\mobile graphics, assignment 1\bullet\src\bulletcollision\collisiondispatch\btCollisionObject.h(102) : error C2146: syntax error : missing ';' before identifier 'MemorySetInfo'
1>c:\users\kristian sylwander\desktop\mobile graphics, assignment 1\bullet\src\bulletcollision\collisiondispatch\btCollisionObject.h(102) : error C2433: 'btCollisionObject::()' : '__forceinline' not permitted on data declarations
1>c:\users\kristian sylwander\desktop\mobile graphics, assignment 1\bullet\src\bulletcollision\collisiondispatch\btCollisionObject.h(102) : error C2059: syntax error : 'string'
1>c:\users\kristian sylwander\desktop\mobile graphics, assignment 1\bullet\src\bulletcollision\collisiondispatch\btCollisionObject.h(102) : error C2059: syntax error : ')'
1>c:\users\kristian sylwander\desktop\mobile graphics, assignment  ....