[C++] Integration problem

Ripiz
Posts: 47
Joined: Mon Aug 16, 2010 10:43 am

[C++] Integration problem

Post by Ripiz »

Hello. I'm using Visual Studio 2010 Ultimate. I've been using different Physics Engine but it had problems so I'm trying to move onto this one, but I have problems right away.
I used this tutorial to start: http://bulletphysics.org/mediawiki-1.5. ... io_project
I already had project started to first few steps were skipped, folders didn't fully match either, I added BulletCollision, BulletDynamics and LinearMath projects from bullet-2.76\msvc\2008\src folder. Then I configured include directory in my project, so it'll be able to find Bullet includes. And finally included header: #include <btBulletDynamicsCommon.h> and that's where problems started. Here's screenshot of few errors:
Image
They all point to the same line: BT_DECLARE_ALIGNED_ALLOCATOR();
I tried to comment out but it's everywhere and keeps throwing errors. I tried changing BT_DECLARE_ALIGNED_ALLOCATOR macro but there were other errors then.

Could anyone help to implement Bullet?

Thanks in advance.