How can I compile and run demos?

testing_bullet
Posts: 1
Joined: Wed Jul 27, 2011 11:11 am

How can I compile and run demos?

Post by testing_bullet »

Hi,

I have just installed bullet 2.78 on Linux. I have also successfully done this:
http://bulletphysics.org/mediawiki-1.5. ... ello_World

Now I would like to take a look at some demo files, e.g. ../bullet-2.78/Demos/BasicDemo/
Question: How do I compile and run a demo?

What I did was:

1) cmake ../ -G "Unix Makefiles" -DBUILD_EXTRAS=on -DBUILD_DEMOS=on
2) make
3) make install (as root)

This generated directories Demos and Extras in:
../bullet-2.78/bullet-build/Demos/
../bullet-2.78/bullet-build/Extras/
And it also generated an executable AppHelloWorld etc.

But I would be interested in running the demos in:
../bullet-2.78/Demos$

Do I have to write a Makefile myself in order to run those demos? Or did I miss something?