Back on it with some gusto now and having upgraded to Xcode 4 - decided to also take the plunge and move to Ogre v1.8.
Using the Mercurial 1.8 latest. Have copied in the iPhone Dependencies from my 1.7 build (building dependencies from source) and run cmake. All is good.
Ran up Xcode 4 and built Ogre for release.
If I build ALL_BUILD for Profiling (release)
Most notably, in my iPhone dependencies I don't have a Release-iphoneos, just a Release.ld: warning: directory not found for option '-L/Users/chrispratt/dev/ogre/v1.8/iPhoneDependencies/lib/Release-iphoneos'
ld: warning: ignoring file /usr/X11R6/lib/libfreetype.dylib, missing required architecture armv7 in file
"_FT_Done_FreeType", referenced from:
__ZN4Ogre4Font12loadResourceEPNS_8ResourceE in libOgreMainStatic.a(OgreFont.o)
"_FT_Init_FreeType", referenced from:
__ZN4Ogre4Font12loadResourceEPNS_8ResourceE in libOgreMainStatic.a(OgreFont.o)
"_FT_Set_Char_Size", referenced from:
__ZN4Ogre4Font12loadResourceEPNS_8ResourceE in libOgreMainStatic.a(OgreFont.o)
"_FT_Load_Char", referenced from:
__ZN4Ogre4Font12loadResourceEPNS_8ResourceE in libOgreMainStatic.a(OgreFont.o)
"_FT_New_Memory_Face", referenced from:
__ZN4Ogre4Font12loadResourceEPNS_8ResourceE in libOgreMainStatic.a(OgreFont.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I still can't get my head around how Apple have changed the mechanism for release and debug to having a scheme and then multiple Release and Debug target directories for each target (iPhone or simulator).
Then I saw on the wiki that should build for SampleBrowser, as ALL_BUILD does not work with Xcode 4.
If I build for SampleBrowser I get the same.
Any thoughts greatly appreciated. I'm a bit rusty on Xcode and 4 is new to me, so forgive any obvious questions.
