司空箫凌
2013-09-16 07:01
采纳率: 100%
浏览 3.4k

请问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

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

2条回答 默认 最新

  • xiaochunzao 2015-01-14 10:46

    需要修改 iosbuild.sh 文件

    点赞 打赏 评论
  • xiaochunzao 2015-04-02 08:16

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

    点赞 打赏 评论

相关推荐 更多相似问题