ogreOnIphoneFast        
Print

How to get Ogre3D running on iOS in 15 minutes!

 
This tutorial details how to use the iOS Ogre3D SDK to get an Ogre project up and running FAST!

This tutorial was made using Ogre 1.7.3 and Xcode 4.
This tutorial assumes you are running OSX, have Xcode installed, and a dev capable device connected.

 

Step 1) Download the iOS SDK

All SDKs for Ogre, including the Ogre iOS SDK can be found HERE(external link)

Once downloaded, copy it to an appropriate directory.
I like to set up my builds as shown in the example below:
Image

 

Step 2) Install Xcode project templates (for Ogre3D/iOS)

You can find Xcode project templates HERE(external link)
Follow the path into: ogre-dependencies-mac > your ogre version > download the proper template for your version of Xcode

Follow the steps of the installer (if you have Xcode open you don't need to close it).

 

Step 3) Open Xcode and start a new project.

Choose the appropriate template, be sure to choose the iOS template and not to choose the OSX template.
Image

 

Step 4) Configure Project

 
Point the template to the directory you used in Step 1
Image

 

Step 5) Fix paths

If you used the Ogre SDK and did not build Ogre from the source, you likely need to change the library paths.
For SDK Users, go to your project > build settings > Library Search Paths
If you used the same paths I did above, the paths should be as shown:
Image

 

Step 6) Run

After it compiles BEHOLD the Ogre head on your device!


Contributors to this page: jacmoe133512 points  .
Page last modified on Thursday 25 of August, 2011 12:47:06 UTC by jacmoe133512 points .


The content on this page is licensed under the terms of the Creative Commons Attribution-ShareAlike License.
As an exception, any source code contributed within the content is released into the Public Domain.