Bullet on OSX

wes
Posts: 2
Joined: Fri Mar 31, 2006 7:38 pm

Bullet on OSX

Post by wes »

Hi I'm trying to build Bullet on OSX. I just downloaded the newly released package (bullet 1.1). I ran ./configure, but I got the following message:

: bad interpreter: No such file or directory

I get the same error when I try to run autogen.sh.

Any ideas?

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

Post by Erwin Coumans »

2 things:

1) You will need to use 'jam' under non-windows platforms.

2) There might be a problem that the files are wrongly zipped up, I used winzip, it might have lost the attributes of the build system.

Could you try out to check out a CVS version, and let me know if it has the same problem?

Thanks,
Erwin
wes
Posts: 2
Joined: Fri Mar 31, 2006 7:38 pm

Bullet on OSX

Post by wes »

Hi Erwin,
I downloaded CVS and successfuly ran ./configure and built Bullet with Jam. In my out/macosxppc/optimize/libs directory I have:

libbullet.a libbulletdynamics.a
libbulletccdphysics.a libbulletphysicsinterfacecommon.a


During the build, I got a ton of warnings of the following form:

warning: 'class NodeOverlapCallback' has virtual functions but non-virtual destructor


Also, on OS X, none of the demos build because <GL/gl.h> etc. don't exist on this platform. I know it's difficult to make sure code works on every platform, but there are some really nice cross-platform opengl libraries out there that take car of all the funny business for you, namely GLFW. I've been using it on another project of mine and have been able to build on Windows, OSX, and Linux quite easily. In any case, I'm looking forward to building the demos and seeing what Bullet can do.

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

Re: Bullet on OSX

Post by Erwin Coumans »

wes wrote:Hi Erwin,

Also, on OS X, none of the demos build because <GL/gl.h> etc. don't exist on this platform.
best,
wes
I just got my first MacBook Pro, and it's a great machine.

Here are the first MacOS-X precompiled demo (Intel-i386):
http://www.continuousphysics.com/ftp/pu ... -bin-MacOS X-i386.tgz

Also, this is a preview source tree that can compile the demos under MacOS X.
http://www.continuousphysics.com/ftp/pu ... source.tgz

See also the COLLADA 1.4 physics viewer for MacOS X here:
http://www.continuousphysics.com/mediaw ... e=Download
Erwin