masterfalcon wrote:Have you tried deleting the Ogre sources, SDK and dependencies then starting fresh? I'm grasping at straws here since I can't reproduce this on my own machine.
yup i tried several times, but with the mercurial repository & last source version & dependencies i have no problem

i already had this problem in may, and at that time i solved the problem by using mercurial to grab the source code as well
the problem is in post build scripts but i cant tell you where soz
edit : problem i have now is that templates dont recognize my ogre directory as ogre sdk path
edit2 : i succeed to install the last released sdk with the template installer, but the generated code fails to compile, i had to force to ios4.2 and sdk 4.2.1 in pbxproj but now i have the following problem :
CompileC build/Test3D.build/Debug-iphoneos/Test3D.build/Objects-normal/armv7/main.o Classes/main.cpp normal armv7 objective-c++ com.apple.compilers.gcc.4_2
cd /Users/Tyua/Code/Test3D
setenv LANG en_US.US-ASCII
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 -x objective-c++ -arch armv7 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -O0 -Wreturn-type -Wunused-variable -DDEBUG -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk -fvisibility-inlines-hidden -gdwarf-2 -mthumb -miphoneos-version-min=4.2.1 -iquote /Users/Tyua/Code/Test3D/build/Test3D.build/Debug-iphoneos/Test3D.build/Test3D-generated-files.hmap -I/Users/Tyua/Code/Test3D/build/Test3D.build/Debug-iphoneos/Test3D.build/Test3D-own-target-headers.hmap -I/Users/Tyua/Code/Test3D/build/Test3D.build/Debug-iphoneos/Test3D.build/Test3D-all-target-headers.hmap -iquote /Users/Tyua/Code/Test3D/build/Test3D.build/Debug-iphoneos/Test3D.build/Test3D-project-headers.hmap -F/Users/Tyua/Code/Test3D/build/Debug-iphoneos -I/Users/Tyua/Code/Test3D/build/Debug-iphoneos/include -I/Users/Tyua/Code/3rdParty/OgreSDK/iPhoneDependencies/include -I/Users/Tyua/Code/3rdParty/OgreSDK/include/OGRE -I/Users/Tyua/Code/3rdParty/OgreSDK/include/OGRE/Plugins/BSPSceneManager -I/Users/Tyua/Code/3rdParty/OgreSDK/include/OGRE/Plugins/OctreeSceneManager -I/Users/Tyua/Code/3rdParty/OgreSDK/include/OGRE/Plugins/OctreeZone -I/Users/Tyua/Code/3rdParty/OgreSDK/include/OGRE/Plugins/ParticleFX -I/Users/Tyua/Code/3rdParty/OgreSDK/include/OGRE/Plugins/PCZSceneManager -I/Users/Tyua/Code/3rdParty/OgreSDK/include/OGRE/iPhone -I/Users/Tyua/Code/3rdParty/OgreSDK/include/OGRE/RenderSystems/GLES -I/Users/Tyua/Code/3rdParty/OgreSDK/include/OGRE/RenderSystems/GLES/APPLE -I/Users/Tyua/Code/Test3D/build/Test3D.build/Debug-iphoneos/Test3D.build/DerivedSources/armv7 -I/Users/Tyua/Code/Test3D/build/Test3D.build/Debug-iphoneos/Test3D.build/DerivedSources -include /var/folders/7x/7xWIDjfSFyqsoKa0WaEyz++++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/Test3D_Prefix-hkstanvfwspzpecpeuqwkjyskjdf/Test3D_Prefix.pch -c /Users/Tyua/Code/Test3D/Classes/main.cpp -o /Users/Tyua/Code/Test3D/build/Test3D.build/Debug-iphoneos/Test3D.build/Objects-normal/armv7/main.o
{standard input}:782:branch out of range
{standard input}:776:branch out of range
{standard input}:770:branch out of range
{standard input}:764:branch out of range
{standard input}:758:branch out of range
{standard input}:752:branch out of range
{standard input}:746:branch out of range
{standard input}:740:branch out of range
{standard input}:734:branch out of range
{standard input}:727:branch out of range
{standard input}:716:branch out of range
Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1
...
edit 3 : from that post
http://www.ogre3d.org/forums/viewtopic.php?f=2&t=57086
i removed thumbs as compiling option
i still have 1 error when i compile :
Ld build/Debug-iphoneos/Test3D.app/Test3D normal armv7
cd /Users/Tyua/Code/Test3D
setenv IPHONEOS_DEPLOYMENT_TARGET 4.2.1
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/g++-4.2 -arch armv7 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk -L/Users/Tyua/Code/Test3D/build/Debug-iphoneos -L/Users/Tyua/Code/3rdParty/OgreSDK/lib/release -L/Users/Tyua/Code/3rdParty/OgreSDK/iPhoneDependencies/lib/release -F/Users/Tyua/Code/Test3D/build/Debug-iphoneos -filelist /Users/Tyua/Code/Test3D/build/Test3D.build/Debug-iphoneos/Test3D.build/Objects-normal/armv7/Test3D.LinkFileList -dead_strip -miphoneos-version-min=4.2.1 -framework Foundation -framework UIKit -framework OpenGLES -framework QuartzCore -lboost_date_time -lboost_thread -lFreeImage -lFreeType -lOIS -lzzip -lOgreMainStatic -lRenderSystem_GLESStatic -lPlugin_BSPSceneManagerStatic -lPlugin_OctreeSceneManagerStatic -lPlugin_ParticleFXStatic -o /Users/Tyua/Code/Test3D/build/Debug-iphoneos/Test3D.app/Test3D
ld: library not found for -lboost_date_time
collect2: ld returned 1 exit status
Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/g++-4.2 failed with exit code 1
edit 4 : i then copied the libs libboost_date_time.a and libboost_thread.a from OgreSDK/iPhoneDependencies/lib to OgreSDK/iPhoneDependencies/lib/Debug & OgreSDK/iPhoneDependencies/lib/Release (i hate xcode path declaration)
.. and
.. it functions !
sample launches, well not on the good screen orientation, i'll sort that tomorrow
edit 5 : i have changed the paths in pbxproj from the generated template pointing to the ogre sdk, to use now the version i compiled from the mercurial repository, that way i can update ogre from the repository so i have the last version of the code and can update when a new version is committed