如何在 XCODE 4 上设置 SDL?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/5756540/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to set up SDL on XCODE 4?
提问by Dvole
I'm having troubles with sample templates and overall installing of SDL on my Xcode 4. There are no tutorials and old templates just don't work! If anybody has Xcode 4 SDL templates, please share.
我在使用示例模板和在 Xcode 4 上整体安装 SDL 时遇到问题。没有教程,旧模板根本不起作用!如果有人有 Xcode 4 SDL 模板,请分享。
EDIT: @Joshua Nozzi I tried opening template from old version of XCODE, 3.2 and it opened, but there were no files in the project and it said - base sdk missing. I tried adding SDL.framework but it didn't help!
编辑:@Joshua Nozzi 我尝试从旧版本的 XCODE、3.2 中打开模板并打开,但项目中没有文件,它说 - 缺少基础 sdk。我尝试添加 SDL.framework 但它没有帮助!
回答by Ricket
I just pushed my working SDL test Xcode project as a public Github repository, so feel free to see if it works for you: https://github.com/Ricket/HelloSDL
我刚刚将我的工作 SDL 测试 Xcode 项目作为公共 Github 存储库推送,因此请随时查看它是否适合您:https: //github.com/Ricket/HelloSDL