2 peng shuai peng_shuai 于 2013.09.16 15:01 提问

请问SDL2.0是怎么编译到ios平台的呢,我按照README-ios.txt编译但是编译过不了

uilding with iOS SDK v6.1 for iOS >= 3.0
checking build system type... i386-apple-darwin12.4.0
checking host system type... armv6-apple-darwin
checking how to print strings... printf
checking for armv6-apple-darwin-gcc... /Applications/Xcode 2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/llvm-gcc-4.2
checking whether the C compiler works... no
configure: error: in /Users/PS/SDL2-2.0.0/build/armv6':
configure: error: C compiler cannot create executables
See
config.log' for more details
请问有遇到这样的问题没?我的系统 OS X 10.8.4,XCode4.6.3 SDK6.1

3个回答

a6802810
a6802810   2015.09.06 12:05
已采纳

你好请问你的问题解决了吗?求教

xiaochunzao
xiaochunzao   2015.01.14 18:46

需要修改 iosbuild.sh 文件

xiaochunzao
xiaochunzao   2015.04.02 16:16

也可以用xcode直接编译工程文件

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!