如何将iGLU库导入xcode? [英] How do I import iGLU library to xcode?
本文介绍了如何将iGLU库导入xcode?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如果有人不知道,iGLU
If anyone doesn't know, iGLU
http://code.google.com/p/iphone-glu/
是iPhone的GLU库.
is a GLU library for iphone.
我似乎无法将库导入到我的项目中,它说要运行以下命令,但会出现错误:
I can't seem to import the library to my project, it says to to run the following command but i get errors:
make ARCH = armv6 PLATFORM = iphoneOS
make ARCH=armv6 PLATFORM=iphoneOS
有人让iGLU工作吗?
Has anyone get iGLU working?
推荐答案
您需要编辑文件iGLU/configs/darwin-iphone
并对其进行修改,以使其反映您的Xcode环境.
You need editing the file iGLU/configs/darwin-iphone
and modify it so that it reflects your Xcode environment.
就我而言,我不得不更改行:
In my case I had to change the lines:
GCC_VERSION = xxx
IPHONEOS_DEPLOYMENT_TARGET = xxx
到
GCC_VERSION = 4.2
IPHONEOS_DEPLOYMENT_TARGET = 4.2
然后按照您的要求执行.
and then exec make as you stated.
这篇关于如何将iGLU库导入xcode?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文