Bullet Physics Test program crashes
Posted: Wed Nov 26, 2014 2:18 pm
Hi,
I discovered Bullet Physics some days ago, and now I have trouble make it run.
Yesterday, I built the libraries (for 32 bit) by myself (Windows 8.1, 64 bit, CMake 3.0.2, downgraded to MinGW 4.5.2).
Then I made a really basic program just to test out bullet (now, I am using MinGW 4.8.1 again):
I compiled it with the following command:
The compilation is successful, without any warnings or errors, but each time I run "bulletTest.exe" the program just crashes and Windows says "The program is not working anymore".
What do I have to do to let the program run properly?
Thanks in advance,
BPJ
I discovered Bullet Physics some days ago, and now I have trouble make it run.
Yesterday, I built the libraries (for 32 bit) by myself (Windows 8.1, 64 bit, CMake 3.0.2, downgraded to MinGW 4.5.2).
Then I made a really basic program just to test out bullet (now, I am using MinGW 4.8.1 again):
Code: Select all
#include <btBulletDynamicsCommon.h>
int main()
{
btBroadphaseInterface *broadphase = new btDbvtBroadphase();
delete broadphase;
return 0;
}
Code: Select all
g++ -std=c++11 -O0 -Wall -o bulletTest.exe bulletTest.cpp -lBulletDynamics -lBulletCollision -lLinearMath -static
What do I have to do to let the program run properly?
Thanks in advance,
BPJ