I am trying to use the new android NDK plugin that comes with ADT to write an OpenGL ES application. I am getting a getting undefined references for all my gl functions although I have added the correct path to the NDK under Preferences -> Android -> NDK and set the correct Paths and Symbols in the project properties. I am using Windows.

And yet I still get undefined references like so:


I am using CDT 8.0.2 because apparently the newer version broke the way the NDK plugin looks for paths. I am using ADT 20.0.3. My eclipse version is Juno 4.2.0. Does anyone know why it cant find the headers that are clearly there?
Android.mk
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := libgweng
LOCAL_SRC_FILES := game.cpp
include $(BUILD_SHARED_LIBRARY)
You don’t need to do this with the NDK, just write an appropriate makefile for an Android build.
Look at the source code in the
hello-gl2example that comes with the NDK; give attention to theAndroid.mkof this example.