android ndk GLES2/gl2.h: No such file or directory

上一篇 / 下一篇  2013-03-22 10:39:03 / 个人分类:android开发

make: *** [/home/ffmpeg_j3/obj/local/armeabi-v7a/objs/ffmpeg-test-neon/jniffmpeg/AppDecodeH264.o] Error 1
root@zhangjie-HP-Pro-4500-Microtower-PC:/home/ffmpeg_j3/jni# ndk-build
Install        : libffmpeg-neon.so => libs/armeabi-v7a/libffmpeg-neon.so
Compile thumb  : ffmpeg-test-neon <= AppDecodeH264.c
/home/ffmpeg_j3/jni/jniffmpeg/AppDecodeH264.c:3:23: fatal error: GLES2/gl2.h: No such file or directory
compilation terminated.


原因是在Application.mk中没有指出平台,只要在Application.mk中添加如下:
APP_PLATFORM.:= android-9
就可以了

TAG:

 

评分:0

我来说两句

Open Toolbar