error: 'glGenFramebuffersOES' was not declared in this scope
来源:互联网 发布:网络歌曲我想静静 编辑:程序博客网 时间:2024/05/22 10:26
编译cocos2dx simple game 出现错误:
jni/../../../cocos2dx/effects/CCGrabber.cpp:46:32: error: 'glGenFramebuffersOES' was not declared in this scope
网上搜索解决方案如下:
修改cocos2dx目录下的Android.mk文件中的
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: '_localtime_not_threadsafe_' was not declared in this scope
- error: ‘exit’ was not declared in this scope
- error: `cout' was not declared in this scope
- error: 'UINT64_C' was not declared in this scope
- error: 'memcpy' was not declared in this scope
- error: 'memcpy' was not declared in this scope的解决
- error: ‘BYTE’ was not declared in this scope
- error: ‘closesocket’ was not declared in this scope
- error:inet_addr() was not declared in this scope
- error: ‘exit’ was not declared in this scope 的解决方法
- 关于error: ‘htons’ was not declared in this scope
- error: ‘memcpy’ was not declared in this scope 解决
- error: ‘alarm’ was not declared in this scope 解决
- error: ‘ostream_iterator’ was not declared in this scope
- error: 'LOGE' was not declared in this scope
- error: 'ff_get_buffer' was not declared in this scope
- error: 'system' was not declared in this scope
- SecureCRT7.0的安装与注册
- openvpn安装配置
- Android开发性能优化简介
- 关于数据挖掘推荐系统实现
- jsp response对象
- error: 'glGenFramebuffersOES' was not declared in this scope
- 关注firefox os
- 结构型模式:Bridge(桥接)
- java Class.forName 介绍
- Cannot find module with tag 'libjpeg' in import path
- Cocos2dx新建项目在eclipse中无法编译运行
- HTTP报文解析器
- asterisk read无法接受按键
- ffmpeg教程