Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

momiage

macrumors newbie
Original poster
Apr 21, 2008
1
0
Hi,

I'm trying to add OpenGLES framework in my project. First I downloaded GLSprite example project, and it runs when I hit build button.

OK, then I start making my new GLES application from scratch. After spending a couple of minutes to find the path to the framework, I right clicked on the framework in the sample project. It says:
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk/System/Library/Frameworks/OpenGLES.framework

Then, I just try to include this framework path in my HelloGL project. I right clicked on Framework -> Add->Existing Framework, and I chose the path above.

Finally, I added one import statement for OpenGLES/EAGL.h with angle brackets.

However, when I hit build button, I got an error, "No such file or directory". I thought I missed some parameters in Project->Edit Settings in Search Path, but I could not find any special parameters in the example project.

I guess, this is not specific iPhone project's problem. Does anyone have answer for this problem? I appreciate any kind of suggestion/instruction.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.