在CMakeLists文件中添加GLES3的引用
target_link_libraries( # Specifies the target library.
native-lib
EGL
GLESv3
android
# Links the target library to the log library
# included in the NDK.
${log-lib}
)
结果编译时报错:
android ld: error: unable to find library -lGLESv3
原因:没有配置ndk路径