Jam*_*ack 6 c++ android android-ndk opengl-es-2.0
我不确定我需要为这个错误添加什么库:
../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/PhysicsLessons/PhysicsLessons.o: in function
engine_handle_cmd(android_app*, int):jni/PhysicsLessons.cpp:104: error: undefined reference to 'glShadeModel'
Run Code Online (Sandbox Code Playgroud)
在Android.mk我有这个:
LOCAL_LDLIBS := -lm -lEGL -lGLESv2 -llog -landroid
LOCAL_STATIC_LIBRARIES := android_native_app_glue
Run Code Online (Sandbox Code Playgroud)
在Application.mk中,我是 APP_PLATFORM=android-10
我正在使用ndk8e