开发者

EAGLViewTest crashing at checkForGLExtension

Been messing around with the EAGLViewTest with in the cocos2d examples and I have come across a problem. I got the basic test working but when i want to add any ccsprites to the layer it crashes on me when it tries [CCConfiguration checkForGLExtension].开发者_如何学Python i just tried to add sprite as follows

CCSprite *testSprite = [CCSprite spriteWithFile:@"test.png"];

I am using 1.0.0-rc3 . I seen someone else post about this issue about adding -ObjC to flags for 1.0.0-rc2 but it didnt work for me.

Anyone got any ideas on this?

Thanks

G


Add "-all_load" to OTHER_LDFLAGS of EAGLViewTest target.

This fix works fine with Xcode 4, however Xcode 3 toolchain might need "-all_load" option for linking.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜