error: GLES2/gl2.h: No such file or directory

简介: error: GLES2/gl2.h: No such file or directory

最近一个朋友让帮忙编译android程序,中间遇到了很多问题,大概都解决了 。

        最后又遇到了一个问题,GLES2/gl2.h: No such file or directory ,这个问题,我大概知道是怎么回事,关键是没有指定ndk的编译版本号。我在ndk目录中看到了GLES2这个

文件夹,而且也有这个文件,但是那个是8里边的,再看看3和4其中并没有这个文件夹。于是,指定了一下编译版本号。APP_PLATFORM := android-9,这个是在Application.mk

文件中。

        好了,问题解决了。

相关文章
libfreetype.so.6: cannot open shared object file: No such file or directory
libfreetype.so.6: cannot open shared object file: No such file or directory
502 0
|
机器学习/深度学习 Linux
解决ImportError libgmpxx.so.4 cannot open shared object file No such file or directory
解决ImportError libgmpxx.so.4 cannot open shared object file No such file or directory
225 0
解决ImportError libgmpxx.so.4 cannot open shared object file No such file or directory
|
7月前
|
Shell
adb: error: cannot create file/directory ‘d:/1.png‘: No such file or directory
adb: error: cannot create file/directory ‘d:/1.png‘: No such file or directory
110 0
|
7月前
|
Java
cannot open shared object file: No such file or directory
cannot open shared object file: No such file or directory
88 0
ftok info: No such file or directory
ftok info: No such file or directory
204 0
完美解决common_define.h: No such file or directory
完美解决common_define.h: No such file or directory
237 0
完美解决common_define.h: No such file or directory
|
并行计算 TensorFlow 算法框架/工具
ImportError: libcublas.so.10.0: cannot open shared object file: No such file or directory
ImportError: libcublas.so.10.0: cannot open shared object file: No such file or directory
300 0
objdump: ‘1443.14.0)‘: No such file or directory
objdump: ‘1443.14.0)‘: No such file or directory
110 0
ibavformat.so.57: cannot open shared object file: No such file or directory
ibavformat.so.57: cannot open shared object file: No such file or directory
155 0
|
并行计算
ImportError: libcudart.so.9.2: cannot open shared object file: No such file or directory
ImportError: libcudart.so.9.2: cannot open shared object file: No such file or directory
157 0