Bullet and Visual Studio 2012

mapleberry
Posts: 2
Joined: Sat Feb 15, 2014 1:52 pm

Bullet and Visual Studio 2012

Post by mapleberry »

Hi Bullet !
I'm trying to use Bullet physics (v2.82) with Visual Studio 2012 and Ogre3D 1.81.
Every stuff compiles right, but Bullet crash at mDynamicsWorld->stepSimulation(timeFactor, 50);

Before I used Bullet with Ogre3D compiled with GCC4.7.2 without any problem, and it's run very well !
But Ogre3D have a problem with PSSM shadows compiled with GCC, (the same code works well in VS2012)

Bullet's 2.82 demos compiles and run very well under VS2012.
But with Ogre3D I need recompile bullet's libs with /MD flag, because Ogre libs are /MD compiled.

Is somebody have an idea about this crash (the same code works well with GCC)

I am in a dead-end: Shadows works with VS2012 but not Bullet, and Bullet works with GCC but not shadows !!!
thanks for your help
mapleberry.
mapleberry
Posts: 2
Joined: Sat Feb 15, 2014 1:52 pm

Re: Bullet and Visual Studio 2012

Post by mapleberry »

Hi,

I found a workaround to continue to use MinGW (GCC4.7.0), by recoding a new PSSM Camera, and that works, with Bullet and shadows !
Image

Have a nice Bullet day :)
mapleberry