java - How to build CLM in android -
i building clm in android, .mk file this
local_path := $(call my-dir) include $(clear_vars) opencv_install_modules:=on local_module := sample_clm_so_file file_list := $(wildcard $(local_path)/*.cpp) local_src_files := $(file_list:$(local_path)/%=%) file_list1 := $(wildcard $(local_path)/users/caffe/caffe-android-lib/boost-for-android/build/lib/*.a) local_src_files := $(file_list1:$(local_path)/%=%) local_cpp_includes := /users/caffe/caffe-android-lib/boost-for-android/build/include/boost-1_55/boost local_cpp_includes := /users/caffe/caffe-android-lib/opencv2/jni/include include $(build_shared_library)
the .so file generated .o file isn't.
i got answer build clm in android using androidndk. in application.mk file did mistake didnt add cpp_flags -std=c++11.
my application.mk file this
app_stl := gnustl_static app_cppflags := -frtti -fexceptions -std=c++11 app_abi := armeabi-v7a app_platform := android-9
finally build generation clm
Comments
Post a Comment