Why won't some demos compile?

Mousie
Posts: 5
Joined: Sun Feb 09, 2014 7:20 am

Why won't some demos compile?

Post by Mousie »

Certain demos such as AllBulletDemos, BasicDemo, and VehicleDemo are able to generate an executable, but most are not.
I realized in several files, only those certain demos were mentioned. For example, in configure.ac, I saw the following:

AC_CONFIG_FILES([bullet.pc Makefile Demos/Makefile Demos/SoftDemo/Makefile Demos/AllBulletDemos/Makefile Demos/MultiThreadedDemo/Makefile Demos/OpenGL/Makefile Demos/BasicDemo/Makefile Demos/CcdPhysicsDemo/Makefile Demos/VehicleDemo/Makefile Demos/TerrainDemo/Makefile src/Makefile Extras/Makefile])

Why are only select demos listed? I am trying to run the Ragdoll demo and I cannot get it to generate an executable :( Anyone have an idea?
Thanks!!
bwelch
Posts: 48
Joined: Thu Dec 12, 2013 4:04 pm

Re: Why won't some demos compile?

Post by bwelch »

Do you have Glut? Those demos didn't build for me either and I assumed it was because I don't have Glut.
Basroil
Posts: 463
Joined: Fri Nov 30, 2012 4:50 am

Re: Why won't some demos compile?

Post by Basroil »

If you use MSVC, check the builds folder for project files that will let you easily build everything. If not, there is a cmake option in the same place.
Mousie
Posts: 5
Joined: Sun Feb 09, 2014 7:20 am

Re: Why won't some demos compile?

Post by Mousie »

Thanks everyone! :) Actually I finally got it to work, yay!