我是靠谱客的博主 受伤小懒猪,这篇文章主要介绍error: 'glGenFramebuffersOES' was not declared in this scope,现在分享给大家,希望可以做个参考。
编译cocos2dx simple game 出现错误:
jni/../../../cocos2dx/effects/CCGrabber.cpp:46:32: error: 'glGenFramebuffersOES' was not declared in this scope
网上搜索解决方案如下:
修改cocos2dx目录下的Android.mk文件中的
#LOCAL_CFLAGS :=-DUSE_FILE32API
如下:
LOCAL_CFLAGS :=-DUSE_FILE32API -DGL_GLEXT_PROTOTYPES=1
如下:
LOCAL_CFLAGS :=-DUSE_FILE32API -DGL_GLEXT_PROTOTYPES=1
最后
以上就是受伤小懒猪最近收集整理的关于error: 'glGenFramebuffersOES' was not declared in this scope的全部内容,更多相关error:内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复