How do I import iGLU library to xcode?

时光怂恿深爱的人放手 提交于 2019-12-12 01:27:05

问题


If anyone doesn't know, iGLU

http://code.google.com/p/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

Has anyone get iGLU working?


回答1:


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

to

GCC_VERSION = 4.2
IPHONEOS_DEPLOYMENT_TARGET = 4.2

and then exec make as you stated.



来源:https://stackoverflow.com/questions/6484593/how-do-i-import-iglu-library-to-xcode

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!