Integration Bullet Physics with iPhone XCode App

gerch
Posts: 1
Joined: Thu Jul 16, 2009 3:13 am

Integration Bullet Physics with iPhone XCode App

Post by gerch »

Hey guys

I am very new to C++/Objective C programing (but doing my best to learn it :))

I have a question:
I am trying to add Bullet Physics to my iPhone app. So when I create in XCode a new Window Based Application everything is fine.
Now i am trying to add the source code of Bullet (ie right click -> add existing files -> select bullet/src) and try to compile everything breaks.

Could anyone please tell me what I am doing wrong or missing?

Any help would be very appreciated...

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

Re: Integration Bullet Physics with iPhone XCode App

Post by Erwin Coumans »

You need to add the Bullet/src folder to the include search path.

Also, check out open source Oolong Engine for iPhone, it includes Bullet and some Bullet demos for iPhone.
Enjoy,
Erwin
shocknawe_jar
Posts: 3
Joined: Thu Jul 16, 2009 12:56 pm

Re: Integration Bullet Physics with iPhone XCode App

Post by shocknawe_jar »

I'm a flash dev trying xcode out for the past few months, i've been using cocos2D mainly, and it occured that i might need a
3D engine in a 2D game, i was also having the same errors upon importing the said folders (10,000), also downloaded and compiled the examples from oolong, but it doesn't have documentation aside from the mailing list.

Q: how do you "add the Bullet/src folder to the include search path." ?

sorry for sound too noobish
shocknawe_jar
Posts: 3
Joined: Thu Jul 16, 2009 12:56 pm

Re: Integration Bullet Physics with iPhone XCode App

Post by shocknawe_jar »

opps, found the link a bit late, should have been reading this before asking T_T
thanks for creating these guys XD

http://www.bulletphysics.com/mediawiki- ... umentation
http://www.bulletphysics.com/mediawiki- ... om_scratch
http://www.bulletphysics.com/mediawiki- ... ello_World