gpt4 book ai didi

android ndk 错误 "no such file or directory"?

转载 作者:太空狗 更新时间:2023-10-29 15:16:43 26 4
gpt4 key购买 nike

我在 include 文件夹中有一些头文件。这是 Android.mk 文件的内容。

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)

我收到以下错误。

  $ /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

谁能帮帮我?

最佳答案

LOCAL_C_INCLUDES := $(LOCAL_PATH)

检查一下。我猜你走错了路。您确定所有 header 都在那里吗?

关于android ndk 错误 "no such file or directory"?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12124518/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com