-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android 13 build error #187
Comments
For android build, it take some efforts. We do following steps:
Thanks |
Thank you for your answer. In addition, when i use -DCONFIG=vim3_android option for building tim-vx, i got below error. Your answer is that when i build OpenVX for android, these errors will be fixed, right? Thanks. |
Yes, you need to rebuild driver library with Android. |
Hi, I have a problem while building tflite-vx-delegate for Android 13.
I entered the below code,
cmake .. -DCMAKE_TOOLCHAIN_FILE=$NDK_PATH/build/cmake/android.toolchain.cmake -DANDROID_PLATFORM=33 -DANDROID_ABI=arm64-v8a -DCONFIG=vim3_android -DTIM_VX_INSTALL=$WORKSPACE/wksp/tim-vx -DFETCHCONTENT_SOURCE_DIR_TENSORFLOW=$TF_PATH
then, I got error messages.
[100%] Linking CXX shared library libvx_delegate.so ld: error: undefined symbol: tim::transform::LayoutInference(std::__ndk1::shared_ptr<tim::vx::Graph> const&, std::__ndk1::shared_ptr<tim::vx::Context>&, std::__ndk1::map<std::__ndk1::shared_ptr<tim::vx::Tensor>, std::__ndk1::shared_ptr<tim::transform::IPermuteVector>, std::__ndk1::less<std::__ndk1::shared_ptr<tim::vx::Tensor> >, std::__ndk1::allocator<std::__ndk1::pair<std::__ndk1::shared_ptr<tim::vx::Tensor> const, std::__ndk1::shared_ptr<tim::transform::IPermuteVector> > > >) '>>> referenced by delegate_main.cc:640 (/home/jwchoi/Desktop/mobile_streaming/wksp/tflite-vx-delegate/delegate_main.cc:640) '>>> CMakeFiles/vx_delegate.dir/delegate_main.cc.o:(vx::delegate::Delegate::Invoke(vx::delegate::OpData const&, TfLiteContext*, TfLiteNode*)) ~~ ld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors) clang++: error: linker command failed with exit code 1 (use -v to see invocation) CMakeFiles/vx_delegate.dir/build.make:243: recipe for target 'libvx_delegate.so' failed
I built tim-vx using below code.
cmake .. -DCONFIG=A311D
Did I do something wrong?
The text was updated successfully, but these errors were encountered: