Building Demos and Glut / Problems with Jam?

kama
Posts: 2
Joined: Thu Oct 26, 2006 2:58 pm

Building Demos and Glut / Problems with Jam?

Post by kama »

Hi!

I am going to give Bullet a try after working with ODE for some time now.

I do like the install file says, ./configure an jam.
Then jam builds the libraries, but it doesnt build executeables for the
Demos. I am using Jam for the first time. Is there some switch, which tells it to build the executables?
The configure doesnt find GLUT, but it comes with the bullet package. Because of this, Jam chooses the wrong branch in the Jamfile in the Demos directory. So the rule 'BulletDemo' is empty and the rule 'ExtraBulletDemo' doesnt exist, which Jam tells me for every Demo which uses this one...

Thank you
G
Michael
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: Building Demos and Glut / Problems with Jam?

Post by Erwin Coumans »

kama wrote:Hi!

I am going to give Bullet a try after working with ODE for some time now.

I do like the install file says, ./configure an jam.
Then jam builds the libraries, but it doesnt build executeables for the
Demos. I am using Jam for the first time. Is there some switch, which tells it to build the executables?
The configure doesnt find GLUT, but it comes with the bullet package. Because of this, Jam chooses the wrong branch in the Jamfile in the Demos directory. So the rule 'BulletDemo' is empty and the rule 'ExtraBulletDemo' doesnt exist, which Jam tells me for every Demo which uses this one...

Thank you
G
Michael
Which platform are you using? On windows, you better use MSVC.

The samples need GLUT right now. Did you install glut?

Instead of jam, you can also try CMake (see cmake.org). It can autogenerate makefiles/kdevelop/xcode etc.

Thanks,
Erwin
kama
Posts: 2
Joined: Thu Oct 26, 2006 2:58 pm

Post by kama »

My Platform ist Linux, Debian Dist. I think.

I installed Glut previously, but the confige script doesnt seem to find it.
Where is the standart search path, or how can I tell where to search?

(I dont have write permission in any folders but my home folder, so I have to install everything locally)

G
Michael
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Post by Erwin Coumans »

If you really want to use jam, please run configure, and then manually edit Jamfile in the Bullet root folder.
You might be lucky if you can edit the Jamfile after running configure, gan you find GLUT.AVAILABLE, GLUT.CFLAGS, GLUT.LFLAGS in Jamfile?
I don't have a system to reproduce this yet, and someone else did the jam integration.

That's why it is better to use cmake instead, then I can try to support you.

Download cmake from cmake.org, and run "cmake ." (without the quotes)
Good luck,
Erwin