Android ndk error "no such file or directory"?

I have header files in the include folder. Here is the contents of the Android.mk file.

include $(call all-subdir-makefiles) LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := fpdfembedsdk LOCAL_SRC_FILES := FoxitEMBSDK_EMBJavaSupport.cpp LOCAL_C_INCLUDES := $(LOCAL_PATH) LOCAL_LDLIBS := -llog -g -L. -ljnigraphics LOCAL_LDLIBS += libfpdfemb_android.a include $(BUILD_SHARED_LIBRARY) 

I get the following error.

  $ /cygdrive/c/Android/android-ndk/ndk-build Compile++ thumb : fpdfembedsdk <= FoxitEMBSDK_EMBJavaSupport.cpp jni/FoxitEMBSDK_EMBJavaSupport.cpp:9:21: fatal error: fs_base.h: No such file or directory compilation terminated. /cygdrive/c/Android/android-ndk/build/core/build-binary.mk:255: recipe for target `obj/local/armeabi/objs/fpdfembedsdk/FoxitEMBSDK_EMBJavaSupport.o' failed make: *** [obj/local/armeabi/objs/fpdfembedsdk/FoxitEMBSDK_EMBJavaSupport.o] Error 1 

Can anybody help me?

+3
android android-ndk
source share
1 answer
 LOCAL_C_INCLUDES := $(LOCAL_PATH) 

Check this. You are probably mistaken. Are you sure all the headlines are there?

0
source share

All Articles