Hello,
I have a question about the recommended Android NDK version. What version have you used when building "snpe-net-run" with c++ native codes for "arm-android-gcc4.9"?
Also, I want to know how to set options of Applications.mk for compiling on "arm-android-gcc4.9".
In my case,
<Applications.mk>
NDK_TOOLCHAIN_VERSION := 4.9
APP_PLATFORM := android-26
APP_STL := gnustl_shared
APP_ABI := armeabi-v7a
APP_CPPFLAGS += -frtti -fexceptions -std=c++11
Should I add any options for CPPFLAGS or LDFLAGS??
Thank you.
Hi Hwjeong,
It is suggested to use Android-NDK r11 according to the documentation provided by Qualcomm.
Not mandatory to set CPPFLAGS or LDFLAGS unless you need warnings as errors or to load user-defined libraries.
Can refer below link for more info, https://developer.qualcomm.com/docs/snpe/setup.html#setup_platform_libs