sasikalar / gamekit

Automatically exported from code.google.com/p/gamekit
0 stars 0 forks source link

compile erro on ios platform #227

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
i compile IphoneDemo of orgekit on ios has one error, the error message like 
this: 
Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang++ failed 
with exit code 1
my xcode is 4.2 on mac os 10.6.7 snowleopard, the orgekit code is lastest, who 
can tell me why? And 
how to resolve the problem? thanks very much.

this is the all output log:

Ld 
/Users/takehu/Documents/orge/build/Samples/IPhoneDemo/bin-iphoneos/Debug/IPhoneD
emo.app/IPhoneDemo normal armv7
cd /Users/takehu/Documents/orge/orgekit
setenv IPHONEOS_DEPLOYMENT_TARGET 5.1
setenv PATH 
"/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/us
r/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang++ -arch armv7 
-isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk 
-L/Users/takehu/Documents/orge/build/Samples/IPhoneDemo/bin-iphoneos/Debug 
-F/Users/takehu/Documents/orge/build/Samples/IPhoneDemo/bin-iphoneos/Debug 
-filelist 
/Users/takehu/Documents/orge/build/Samples/IPhoneDemo/OGREKIT.build/Debug-iphone
os/IPhoneDemo.build/Objects-normal/armv7/IPhoneDemo.LinkFileList -dead_strip 
-framework Foundation -framework CoreGraphics -framework QuartzCore -framework 
UIKit -Wl,-search_paths_first -Wl,-headerpad_max_install_names 
/Users/takehu/Documents/orge/build/Engine/bin-iphoneos/Debug/libOgreKitCore.a 
/Users/takehu/Documents/orge/orgekit/Ogre-1.8rc/Bin/lib/Debug/libOgreMainStatic.
a 
/Users/takehu/Documents/orge/build/Dependencies/Source/FreeImage/bin-iphoneos/De
bug/libFreeImage.a 
/Users/takehu/Documents/orge/build/Dependencies/Source/FreeType/bin-iphoneos/Deb
ug/libfreetype.a 
/Users/takehu/Documents/orge/build/Dependencies/Source/GameKit/Utils/bin-iphoneo
s/Debug/libGameKitUtils.a 
/Users/takehu/Documents/orge/build/Dependencies/Source/OIS/bin-iphoneos/Debug/li
bOIS.a 
/Users/takehu/Documents/orge/build/Dependencies/Source/FreeImage/ZLib/bin-iphone
os/Debug/libZLib.a 
/Users/takehu/Documents/orge/build/Dependencies/Source/GameKit/AnimKit/bin-iphon
eos/Debug/libAnimKit.a 
/Users/takehu/Documents/orge/build/FileTools/File/Debug/libfbtFile.a 
/Users/takehu/Documents/orge/build/FileTools/FileFormats/Blend/Debug/libbfBlend.
a 
/Users/takehu/Documents/orge/orgekit/Ogre-1.8rc/Bin/lib/Debug/libOgreRTShaderSys
temStatic.a -framework OpenAL 
/Users/takehu/Documents/orge/build/Dependencies/Source/Codecs/bin-iphoneos/Debug
/libOggVorbis.a 
/Users/takehu/Documents/orge/build/Dependencies/Source/Lua/lua/bin-iphoneos/Debu
g/libLua.a 
/Users/takehu/Documents/orge/build/Dependencies/Source/ZZipLib/bin-iphoneos/Debu
g/libZZipLib.a 
/Users/takehu/Documents/orge/build/Dependencies/Source/FreeImage/ZLib/bin-iphone
os/Debug/libZLib.a 
/Users/takehu/Documents/orge/build/bullet/src/BulletDynamics/bin-iphoneos/Debug/
libBulletDynamics.a 
/Users/takehu/Documents/orge/build/bullet/src/BulletCollision/bin-iphoneos/Debug
/libBulletCollision.a 
/Users/takehu/Documents/orge/build/bullet/src/LinearMath/bin-iphoneos/Debug/libL
inearMath.a 
/Users/takehu/Documents/orge/orgekit/Ogre-1.8rc/Bin/lib/Debug/libPlugin_Particle
FXStatic.a 
/Users/takehu/Documents/orge/orgekit/Ogre-1.8rc/Bin/lib/Debug/libRenderSystem_GL
ES2Static.a 
/Users/takehu/Documents/orge/orgekit/Ogre-1.8rc/Bin/lib/Debug/libOgreMainStatic.
a -miphoneos-version-min=5.1 -o 
/Users/takehu/Documents/orge/build/Samples/IPhoneDemo/bin-iphoneos/Debug/IPhoneD
emo.app/IPhoneDemo

Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang++ failed 
with exit code 1

this is only error tip,and not other error messages.

Original issue reported on code.google.com by 14897...@qq.com on 19 Apr 2012 at 7:14

GoogleCodeExporter commented 9 years ago
I have the same problem,it make me crazy! any one can help

Original comment by Lucien.D...@gmail.com on 1 May 2012 at 6:34

GoogleCodeExporter commented 9 years ago
Hmm,..both of you have Snow Leopard and want to compile for ios5.1? 
Just out of curiosity did you use this workaround to get ios5.1 for xcode4.2 to 
work, as (officially) only xcode4.3 and lion supports ios5.1 
(There seems to be a way to make xcode4.2 ios5.1 compilant. Didn't test it 
yet...
http://forum.unity3d.com/threads/130953-Tip-Using-XCode-4.2-on-Snow-Leopard-to-t
est-with-iOS-5.1-devices 

Original comment by thomas.t...@googlemail.com on 1 May 2012 at 11:39

GoogleCodeExporter commented 9 years ago
Since there is/was no feedback about the problem and compiling iOS with lion 
and xcode 4.4 works I close this one.

Original comment by thomas.t...@googlemail.com on 9 Sep 2012 at 10:36