美文网首页
NDK学习;相关博客介绍

NDK学习;相关博客介绍

作者: Aberstin | 来源:发表于2016-04-19 19:08 被阅读26次

    编写Android.mk中的LOCAL_SRC_FILES的终极技巧 :
    http://blog.csdn.net/fu_zk/article/details/12836431
    NDK本地API:
    http://blog.sina.com.cn/s/blog_4119bd830100t0gh.html
    NDK相关配置属性的介绍:
    http://codingnow.cn/android/1623.html
    http://www.cnblogs.com/wainiwann/p/3837936.html

    undefined reference to `glDrawArrays'

    Android.mk###

    LOCAL_PATH := $(call my-dir)
    include $(CLEAR_VARS)
    LOCAL_LDLIBS := -llog //日志输出
    LOCAL_LDLIBS := -lGLESv2 //GL 2.0
    LOCAL_MODULE := fuckyou
    MY_CPP_LIST := $(wildcard $(LOCAL_PATH)/*.cpp)
    LOCAL_SRC_FILES := $(MY_CPP_LIST:$(LOCAL_PATH)/%=%)
    include $(BUILD_SHARED_LIBRARY)
    undefined reference to `glDrawArrays'

    Application.mk###

    APP_MODULES := fuckyou
    APP_ABI := all
    APP_STL := stlport_static //string

    相关文章

      网友评论

          本文标题:NDK学习;相关博客介绍

          本文链接:https://www.haomeiwen.com/subject/cpkzlttx.html