Building the demos on Linux

Zarnick

15-01-2009 11:30:51

Hy, after a lot of searching and struggling I finally got bullet and bulletogre installed on my AMD64 Ubuntu.
I see that the Demos folder on ogrebullet don't have Makefile, not even a Makefile.am, which makes me think it's completely left out of the whole building process. Can someone help me on making them work, so I can learn how to compile ogrebullet programs and then walk trough the source code for learning how to use it?

Also, this might seem usefull for someone else, I got a lot of erros like this:

OgreBulletDynamicsWorld.cpp:38:43: error: GIMPACT/Bullet/btGImpactShape.h: No such file or directory
OgreBulletDynamicsWorld.cpp:39:56: error: GIMPACT/Bullet/btGImpactCollisionAlgorithm.h: No such file or directory

which I fixed going into the file and changing the lines:

#include "GIMPACT/Bullet/btGImpactShape.h"
#include "GIMPACT/Bullet/btGImpactCollisionAlgorithm.h"

to

#include "BulletCollision/Gimpact/btGImpactShape.h"
#include "BulletCollision/Gimpact/btGImpactCollisionAlgorithm.h"


I'm using bullet 2.73-sp1

nikki

16-01-2009 14:55:01

Yep, the new version got Gimpact put into the vanilla bullet.

Zarnick

19-01-2009 10:12:56

Yes, but how about building the demo under linux? Anyone knows?

Fish

25-01-2009 01:13:13

You could try using an IDE like Code::Blocks with GCC.

igrok

04-02-2009 01:56:59

I was able to build the demo using the latest versions of bullet and OgreBullet, but it wasn't simple. I'm having a look at Nikki's lightweight btOgre because it will be much cleaner on Linux.

My patches for building the demo are here:
http://www.ogre3d.org/addonforums/viewtopic.php?f=12&t=9163