i have complie the tbb for android platform arm64,
and in the build folder there are some .o .d and .so files.
then i want refer the tbb in jni,but i do not kown how to refer the files in cmakelist.
i try to only refer the libtbb.so as below:
add_library(tbb SHARED IMPORTED) set_target_properties(tbb PROPERTIES IMPORTED_LOCATION C:/Users/msewi/Desktop/3rd/tbb-2018_U5/build/windows_arm64_clang_android_NDKr10e_version_android-21_release/libtbb.so)
the errors occur when i build :
C:/Users/msewi/Desktop/3rd/tbb-2018_U5/include\tbb/internal/_flow_graph_impl.h:266: error: undefined reference to 'tbb::task_group_context::is_group_execution_cancelled() const'
i guess only refer the libtbb.so is wrong.