Page 1 of 1

Building Bullet libraries

Posted: Wed Oct 16, 2013 10:51 am
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

Re: Building Bullet libraries

Posted: Wed Oct 16, 2013 12:06 pm
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.

Re: Building Bullet libraries

Posted: Wed Oct 16, 2013 12:50 pm
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

Re: Building Bullet libraries

Posted: Wed Oct 16, 2013 2:58 pm
by c6burns
Is this relevant to your situation? http://code.google.com/p/bullet/issues/detail?id=670

Re: Building Bullet libraries

Posted: Wed Oct 16, 2013 3:10 pm
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