Soundtouch building with Android NDK

筅森魡賤 提交于 2019-12-07 14:09:58

问题


I'm trying to import Soundtouch library in my Android project, but I'm not a native code power user, so that's probably why I'm having some issues understanding the way the building is supposed to be done.
I tried to follow his guidelines:
Android : Help in compiling SoundTouch lib in android
That means, I created 2 folders(include/ and SoundTouch/) and I respectively inserted the headers and the .cpp files.
Afterwards, I used his Android.mk and when I tried to ndk-build, I got this:

Android NDK: WARNING: Ignoring invalid values in LOCAL_CPP_FEATURES definition in /home/user/workspace/Player/jni/Android.mk: -fno-exceptions
Android NDK: WARNING: Ignoring invalid values in LOCAL_CPP_FEATURES definition in /home/user/workspace/Player/jni/Android.mk: -fno-exceptions
make: *** No rule to make target /home/user/Downloads/android-ndk-r8d/build/core/SoundTouch/AAFilter.cpp', needed by /home/user/workspace/Player/obj/local/armeabi-v7a/objs/SoundTouch/SoundTouch/AAFilter.o'. Stop.

As far as I read, I can remove the -fno-exceptions flag since in newer versions of the NDK the exception handling is disabled by default, but I don't get what's wrong about the make part.
Thanks in advance.

来源:https://stackoverflow.com/questions/15662981/soundtouch-building-with-android-ndk

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!