Hey there,
I'm messing around with the Android NDK for the first time, and I'm
having problems getting a sample built.
I have Cygwin installed and set up, in addition to Eclipse and the
Android SDK. When I navigate to any sample's project folder inside
the NDK and run ndk-build, I get the error from make:
/cygdrive/d/androidNDK/build/core/
build-binary.mk:38: *** target
pattern contains no `%'. Stop.
I've tried looking up this particular error message, and a different
forum suggested a remedy of changing:
$(LOCAL_MODULE): $(LOCAL_BUILT_MODULE)
to
$(LOCAL_MODULE): $(shell cygpath -u $(LOCAL_BUILT_MODULE))
This fixed the error on line 38, but now I'm getting the same one on
line 200 :
$(foreach src,$(filter %$(LOCAL_CPP_EXTENSION), $(LOCAL_SRC_FILES)),\
$(call compile-cpp-source, $(src)))
I've tried a bunch of combinations similar to the fix I applied on
line 38, but have had no success. Any help would be greatly
appreciated. Thanks!