I am trying to compile code using Android NDK. I previously used this code in order, but changed one in it, and now it will not compile. An error message will appear:
"Compile++ thumb : filters <= filters.cpp C:/Android/my-app//jni/filters.cpp:4:28: fatal error: android /bitmap.h: No such file or directory compilation terminated. make: *** [C:/Android/my-app//obj/local/armeabi/objs/filters/ filters.o] Error 1
My bitmap.h file is defined in the library as:
#include <android/bitmap.h>
I know that bitmap.h only exists after building target-skd 8 or higher, and my is target 10 and min 8. Any suggestions? It drives me crazy and used to work! Thanks for any help you can provide.
Edit: Here is my Android.mk file as well
LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := filters LOCAL_SRC_FILES := filters.cpp LOCAL_LDLIBS := -lm -llog -ljnigraphics include $(BUILD_SHARED_LIBRARY)
source share