Trouble compiling Bullet Physics for use on iPhone (device)

TatamiSoftware
Posts: 10
Joined: Fri Dec 04, 2009 8:09 pm

Trouble compiling Bullet Physics for use on iPhone (device)

Post by TatamiSoftware »

Hi Everyone,

I'm having trouble compiling an application of mine for the iPhone that uses Bullet. Everything works just fine when I compile and run my code on the simulator, but when I compile for the device, Xcode tells me that libBulletCollision.a, libBulletDynamics.a and libLinearMath.a are not of the required architecture.

I'm going to try recompiling Bullet and adding the armv6/7 architectures to the target and see if that helps. Any advice here would be greatly appreciated.

Thanks,
- D
TatamiSoftware
Posts: 10
Joined: Fri Dec 04, 2009 8:09 pm

Re: Trouble compiling Bullet Physics for use on iPhone (device)

Post by TatamiSoftware »

No luck. Any suggestions?

Thanks,
- D
TatamiSoftware
Posts: 10
Joined: Fri Dec 04, 2009 8:09 pm

Re: Trouble compiling Bullet Physics for use on iPhone (device)

Post by TatamiSoftware »

Simple solution: just included the /src directory with my code and now everything works well on the device. Thanks everyone!

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

Re: Trouble compiling Bullet Physics for use on iPhone (device)

Post by Erwin Coumans »

Good. Otherwise you could have looked at the Oolong Engine: it includes some examples using Bullet for iPhone, with xcode projectfiles.
TatamiSoftware
Posts: 10
Joined: Fri Dec 04, 2009 8:09 pm

Re: Trouble compiling Bullet Physics for use on iPhone (device)

Post by TatamiSoftware »

Hi Erwin,

Thanks, I'll go ahead and take a look at the Oolong engine.

- D
llefler
Posts: 17
Joined: Sun Sep 25, 2011 8:13 pm

Re: Trouble compiling Bullet Physics for use on iPhone (devi

Post by llefler »

Hi Tatami,

How did you end up fixing this issue, can you explain your process? Thank you very much!
josemarin
Posts: 38
Joined: Fri Aug 12, 2005 5:37 pm

Re: Trouble compiling Bullet Physics for use on iPhone (devi

Post by josemarin »

Hi.

What´s the difference between Oolong engine and Gamekit?

Thanks.

Jose