Ogre 1.10.11 compile for IOS devices (MacOS 10.13.2 / XCode 9.2)
Posted: Mon Jan 01, 2018 3:15 pm
Hi Guys,
Last time I used Ogre3D was 1.7.x with arm7.
I tried to find an up to date blog for compiling from source to embedding to iDevices but failed to find one.
By following https://github.com/OGRECave/ogre/blob/m ... ingOgre.md
For me, the command for MacOS/Iphone is not enough:
cmake -DCMAKE_TOOLCHAIN_FILE=CMake/toolchain/ios.toolchain.xcode.cmake -G Xcode .
(due to the dependencies to be prerequsite installs)
I am interested if other people are experiencing for same config/targets:
Ogre source zip 1.10.11
MacOS 10.13.2
XCode 9.2
target: arm9 for idevices / x86_64 simulator
I have push a xcode project where I explained how I compiled the static libs and I am trying
to write a simple sample to test the libraries linking/ ogremesh displaying.
https://github.com/aphcoder/ogre-ios-helloworld
********************************************************************
Appreciate if someone can explain how to theses:
1) What is the proper procedure/cmake command to compile Ogre IOS SDK libs and header files packages ?
(moreover the SDK/iOS/make_ios.sh failed to generate the .dmg package)
2) Where could I find a github with ogremesh for iphone and Ogre 1.10.11 to test the libs linking ?
3) Which Render System is used for iDevices ?
4) zziplib is LGPL but IOS does not allow dynamic linking How do you have .zip resources handled for iDevices ?
5) How to have iDevice samples compiled ? (because there is not dependencies on zzip/zlib)
After compilation I have thoses libs:
find . -name "*.a"
./iOSDependencies/lib/libfreetype.a
libfreetype.a
./libOgreGLSupportStatic.a
./libRenderSystem_GLES2Static.a
./libOgreMainStatic.a
find . -name "*.framework"
./Plugin_BSPSceneManagerStatic.framework
./Plugin_ParticleFXStatic.framework
./OgrePropertyStatic.framework
./Plugin_OctreeZoneStatic.framework
./Plugin_OctreeSceneManagerStatic.framework
./OgreRTShaderSystemStatic.framework
./OgrePagingStatic.framework
./Plugin_PCZSceneManagerStatic.framework
./OgreVolumeStatic.framework
./OgreMeshLodGeneratorStatic.framework
./OgreHLMSStatic.framework
./OgreTerrainStatic.framework
Regards,
Last time I used Ogre3D was 1.7.x with arm7.
I tried to find an up to date blog for compiling from source to embedding to iDevices but failed to find one.
By following https://github.com/OGRECave/ogre/blob/m ... ingOgre.md
For me, the command for MacOS/Iphone is not enough:
cmake -DCMAKE_TOOLCHAIN_FILE=CMake/toolchain/ios.toolchain.xcode.cmake -G Xcode .
(due to the dependencies to be prerequsite installs)
I am interested if other people are experiencing for same config/targets:
Ogre source zip 1.10.11
MacOS 10.13.2
XCode 9.2
target: arm9 for idevices / x86_64 simulator
I have push a xcode project where I explained how I compiled the static libs and I am trying
to write a simple sample to test the libraries linking/ ogremesh displaying.
https://github.com/aphcoder/ogre-ios-helloworld
********************************************************************
Appreciate if someone can explain how to theses:
1) What is the proper procedure/cmake command to compile Ogre IOS SDK libs and header files packages ?
(moreover the SDK/iOS/make_ios.sh failed to generate the .dmg package)
2) Where could I find a github with ogremesh for iphone and Ogre 1.10.11 to test the libs linking ?
3) Which Render System is used for iDevices ?
4) zziplib is LGPL but IOS does not allow dynamic linking How do you have .zip resources handled for iDevices ?
5) How to have iDevice samples compiled ? (because there is not dependencies on zzip/zlib)
After compilation I have thoses libs:
find . -name "*.a"
./iOSDependencies/lib/libfreetype.a
libfreetype.a
./libOgreGLSupportStatic.a
./libRenderSystem_GLES2Static.a
./libOgreMainStatic.a
find . -name "*.framework"
./Plugin_BSPSceneManagerStatic.framework
./Plugin_ParticleFXStatic.framework
./OgrePropertyStatic.framework
./Plugin_OctreeZoneStatic.framework
./Plugin_OctreeSceneManagerStatic.framework
./OgreRTShaderSystemStatic.framework
./OgrePagingStatic.framework
./Plugin_PCZSceneManagerStatic.framework
./OgreVolumeStatic.framework
./OgreMeshLodGeneratorStatic.framework
./OgreHLMSStatic.framework
./OgreTerrainStatic.framework
Regards,