- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Liu,
First of all, maybe it would be easier to use android binary package and then use the official CMake tutorial. Secondly, I think you missed target_link_libraries(...) command.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Liu,
First of all, maybe it would be easier to use android binary package and then use the official CMake tutorial. Secondly, I think you missed target_link_libraries(...) command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,Nikita,
thanks for your reply.
it seems that i have made a simple mistake -_-!

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page