Building Bullet libraries

Post Reply
purplehaze
Posts: 7
Joined: Wed Oct 16, 2013 10:45 am

Building Bullet libraries

Post by purplehaze »

Hi all

This is my first post on the forum.

I've recently decided to incorporate a physics engine into my game engine and I've chosen Bullet. I'm using DirectX v9 and I develop in C++ on VS2005 (v8). I've downloaded the latest version (bullet-2.81-rev2613), installed cmake and attempted to generate for VS2005 v8. I'm getting an error when I compile the solution where it can't find the include file "pmmintrin.h".

I did some quick research and it seems that I need to use a later version of Visual Studio. Is this correct? I would rather avoid upgrading my version of Visual Studio if possible so can the latest version of Bullet be built with VS2005?

Thanks in advance
StaticWorld
Posts: 4
Joined: Wed Oct 16, 2013 11:44 am

Re: Building Bullet libraries

Post by StaticWorld »

i believe in the build folder of bullet physics there is the VS2005 project files for building bullet, that should allow you to
build bullet into a .lib file for you link to your project.
purplehaze
Posts: 7
Joined: Wed Oct 16, 2013 10:45 am

Re: Building Bullet libraries

Post by purplehaze »

Thanks for the reply - I did try that solution but building it gave me lots of errors like:

1>c:\projects\external\3rd party tools\bullet-2.81-rev2613\src\linearmath\btVector3.h(238) : error C3861: '_mm_cvtss_f32': identifier not found

Which is what prompted me to build it with CMake and thence the pmmintrin.h errors
c6burns
Posts: 149
Joined: Fri May 24, 2013 6:08 am

Re: Building Bullet libraries

Post by c6burns »

Is this relevant to your situation? http://code.google.com/p/bullet/issues/detail?id=670
purplehaze
Posts: 7
Joined: Wed Oct 16, 2013 10:45 am

Re: Building Bullet libraries

Post by purplehaze »

Thanks a lot c6burns, I literally just found that document 5 minutes ago but I really appreciate you posting it - looks to have fixed my issue.

Thanks again
Post Reply