OGRE 2.1
Object-Oriented Graphics Rendering Engine
Loading...
Searching...
No Matches
iOS

Requirements

Downloading Ogre

Clone Ogre as in Linux. Download iOS prebuilt dependencies from: https://sourceforge.net/projects/ogre/files/ogre-dependencies-mac/1.9/Ogre_iOS_7.0_Dependencies_20140315.dmg/download and unzip them into Ogre/iOSDependencies

Building Ogre

cd Ogre
mkdir build
cd build
cmake -D OGRE_BUILD_PLATFORM_APPLE_IOS=1 -D OGRE_BUILD_RENDERSYSTEM_METAL=1 -D OGRE_USE_BOOST=0 -D OGRE_CONFIG_THREAD_PROVIDER=0 -D OGRE_CONFIG_THREADS=0 -D OGRE_BUILD_SAMPLES2=1 -D OGRE_UNITY_BUILD=1 -D OGRE_SIMD_NEON=1 -D OGRE_BUILD_TESTS=0 -G Xcode ..

Now open Ogre/build/OGRE.xcodeproj in XCode and build it. You may have to set up the provisioning profiles of each sample before running in it on the device.