我已将NDK从r8e更新为r9c并收到错误No rule to make target
make.exe: *** No rule to make target `/bullet/src/LinearMath/btAlignedAllocator.
cpp', needed by `obj/local/armeabi/objs/main_soft//bullet/src/LinearMath/btAlign
edAllocator.o'. Stop.
以前我的配置文件都很好,我只是切换了NDK版本。
添加该文件的Android.mk行。在该行之前添加的文件是Ok。
LOCAL_SRC_FILES := src/maincode.cpp
LOCAL_SRC_FILES += src/data/Friends.cpp
LOCAL_SRC_FILES += $(addprefix /bullet/src/LinearMath/, $(notdir $(wildcard $(LOCAL_PATH)/bullet/src/LinearMath/*.cpp)))
答案 0 :(得分:2)
您的其他文件以斜线开头。尝试
LOCAL_SRC_FILES += $(addprefix bullet/src/LinearMath/, $(notdir $(wildcard $(LOCAL_PATH)/bullet/src/LinearMath/*.cpp)))