How do I add the library to link the OpenGL framework in iPhone SDK?
I am trying to study OpenGL and I have the framework added, but I am getting linker errors. I believe the issue is adding the library to the project for linking and EVERY time I try to add a library, I hunt around for the configur开发者_开发问答ation setting forever. Someone, please give me the simple click-n-go answer!
The linker cannot find the CAEAGLLayer framework to link against.
Add the QuartzCore.framework
and the linker will be able to find the missing framework.
To do this right-click on the Frameworks the choose: Add > Existing Frameworks > QuartzCore.framework.
alt text http://img19.imageshack.us/img19/223/screenshot20091206at544.png
精彩评论