Max*_*Max 5 android android-ndk
我已经从r8e将NDK更新到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.
Run Code Online (Sandbox Code Playgroud)
以前我的配置文件都很好,我刚刚切换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)))
Run Code Online (Sandbox Code Playgroud)
您的其他文件开头不带斜杠。尝试
LOCAL_SRC_FILES += $(addprefix bullet/src/LinearMath/, $(notdir $(wildcard $(LOCAL_PATH)/bullet/src/LinearMath/*.cpp)))
Run Code Online (Sandbox Code Playgroud)