GL library file errors when integrating bullet with iPhone!

Bumblebee
Posts: 3
Joined: Sat Aug 14, 2010 3:05 am

GL library file errors when integrating bullet with iPhone!

Post by Bumblebee »

Hi all, bear with me a bit and I'll tell you where I have a problem with integrating bullet with iPhone.

I have successfully created a bullet project in Xcode using CMake, and it runs all the demos with no problem when I select
Mac OS X 10.6 as the operating system. However, when I change the OS to iPhone and build, Xcode give me the "No such file directory" error inside GlutStuff.h file for the following libraries:

#include <OpenGL/OpenGL.h>
#include <OpenGL/gl.h>
#include <OpenGL/glu.h>
#include <GLUT/glut.h>

Anyone know how to solve this problem?
Xergamesh
Posts: 2
Joined: Sat Jan 08, 2011 6:24 pm

Re: GL library file errors when integrating bullet with iPho

Post by Xergamesh »

Mac -> OpenGL
iDevice -> OpenGLES
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: GL library file errors when integrating bullet with iPho

Post by Erwin Coumans »

You need a different graphics library indeed. For Bullet 3.x we provide iPhone-compatible OpenGL ES.

You could try using the open source Oolong Engine or GameKit, both have Bullet integrated and work on iPhone.
Thanks,
Erwin