i have a lot of difficulties to run Ogre on iPhone (simulator 3.1.2 for a simple start)
This page is deprecated, but you can't guess it by reading it.
http://www.ogre3d.org/tikiwiki/Download ... 0iPhone%29
It took me some time to discover that !
Pre-build sdk "OGRE 1.7.1 SDK for iPhone":
- there is NO readme file.
- OGRE.xcodeproj" tries to run a custom shell script 'CMake ReRun' (whyyyyyyy ?) it failed:
Code: Select all
make: *** /Users/(...)/Documents/iPhone: No such file or directory.
after some time (a lot…) i understand. Path with spaces are not supported and:
"/Users/(...)/Documents/iPhone Projects/OgreSDK" is cut..... Great !
After moving the SDK, another error:
Code: Select all
make: *** No rule to make target `/Applications/CMake 2.8-0.app/Contents/share/cmake-2.8/Modules/CMakeCCompiler.cmake.in', needed by `CMakeFiles/cmake.check_cache'.
.... well.... should work with 2.8.0 but not with 2.6 or 2.8.1 or 2.8.2 (?!?!)
it's the first time i use cmake and it's just IMPOSSIBLE to guess.
Of course installation of cmake 2.8.0 failed …. i'm stuck !
Before discovering that workaround, i tried to build from the source:
- Getting ogre from mercurial and compil it were not a problem (with a help of BuildingOgre.txt), cmake 2.8.2 work fine here.
c++/link part is not the problem.
- At this step, i couldn't find any example project for iPhone in the directories !
'OgreTemplateProject' for iPhone help me to build an example project… but it never works.
I also tried to build my own project… without real success.
Today, this project starts and runs with some errors about finding textures and "- (void)renderOneFrame:(id)sender" is called repeatedly but... unfortunately nothing on screen ! (loading screen only…)
I'm missing something ? it's beta version ?
Vivien
(sorry for my bad english)