Irrlicht on the iPhone

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Felbel
Posts: 4
Joined: Sat Mar 27, 2010 12:14 am

Irrlicht on the iPhone

Post by Felbel »

I've searched throguh the forums and I cant really find anything that works. I want to mess around with Irrlicht on the iPhone but before I can do that I need to be able to get the engine working on the phone itself.

I've checked out the ogl-es branch and have tried a few things that were mentioned in the forums but in the end my results are the same.

Any and all help in getting the engine running on the iPhone would be appreciated!
Felbel
Posts: 4
Joined: Sat Mar 27, 2010 12:14 am

Post by Felbel »

After some tinkering i was able to build the lib and get the 'Hello World' app running on the simulator. However now when I try to compile for the device I get an error saying the lib is not of required architecture...

I'm fairly new with Xcode, but this seems like it might just be a problem with a simple fix using the IDE?

Any suggestions would be appreciated...
Garfinkle
Posts: 36
Joined: Wed Jul 07, 2010 11:35 am
Location: Manchester, UK

Post by Garfinkle »

Old topic but incase anyone else comes across this, follow the instructions as you would for building the libIrrlicht.a file but instead of setting your base SDK to simulator, set it to device.

This will allow the library to be built with the ARM6 and ARM7 architectures. You may have to change this in the 'Targets' properties as well as the Project's Settings.
nathanf534
Posts: 199
Joined: Tue Dec 09, 2008 2:55 am

Post by nathanf534 »

Just a random question, but do you have to have a Mac to compile Irrlicht for the IPhone, or will it compile on windows?
while(signatureEmpty){cout<<wittyComment();}
Garfinkle
Posts: 36
Joined: Wed Jul 07, 2010 11:35 am
Location: Manchester, UK

Post by Garfinkle »

You will need a Mac as you will need to use xCode which is only available for MAC, bit of a pain really, but that's Apple for you.
Post Reply