Ich versuche, ein natives Programm für Android zu kompilieren.NDK finde nicht die Standard-C++ - Bibliotheken
Aber beim Ausführen des Befehls ndk-build habe ich folgendes Ergebnis erhalten.
/home/marcos/dev/workspace/rmsdk.native.wraper/jni/include-all/uft_alloc.h:26:21: error: stdexcept: No such file or directory
/home/marcos/dev/workspace/rmsdk.native.wraper/jni/include-all/uft_alloc.h:27:18: error: limits: No such file or directory
stdexcept und limits sind Teil der Std C++ - Bibliothek.
Das ist mein Android.mk
LOCAL_PATH := $(call my-dir)
MY_PATH := $(LOCAL_PATH)
include $(call all-subdir-makefiles)
LOCAL_PATH := $(MY_PATH)
include $(CLEAR_VARS)
LOCAL_LDLIBS := -llog
LOCAL_MODULE := rmsdk
LOCAL_SRC_FILES := curlnetprovider.cpp RMServices.cpp
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include-all
LOCAL_STATIC_LIBRARIES := adept cryptopenssl curl dp expat fonts hobbes jpeg mschema png t3 xml zlib
include $(BUILD_SHARED_LIBRARY)
Ich sollte ausdrücklich sagen, dass es sich um eine C++ Quelle ist?
Danke, das funktioniert. –