Skip to content
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

Unable to build tflite-vx-delegate on A311D processor running Linux #186

Open
sanjeewk opened this issue May 25, 2023 · 2 comments
Open

Comments

@sanjeewk
Copy link

According to my understanding, I should be bale to build this repo to produce a libvx_delegate.so binary file, which can be called using TFLite to run model inference on the NPU. However when trying to build the package, I'm experiencing a complete system crash.

/bin/sh: 1: /home/pi/Desktop/wksp/tflite-vx-delegate/build/_deps/tim-vx-build/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-g++: Exec format error make[3]: *** [_deps/tim-vx-build/src/tim/CMakeFiles/tim-vx.dir/build.make:63: _deps/tim-vx-build/src/tim/CMakeFiles/tim-vx.dir/vx/builtin_op.cc.o] Error 2 make[2]: *** [CMakeFiles/Makefile2:7050: _deps/tim-vx-build/src/tim/CMakeFiles/tim-vx.dir/all] Error 2 make[2]: *** Waiting for unfinished jobs....

Would cross compilation be a better solution?

@tomeuv
Copy link

tomeuv commented May 30, 2023

Looks like you are trying to run on aarch64 a compiler built for x86_64.

@sunshinemyson
Copy link
Contributor

@sanjeewk , Please check tomeuv's comment. Please share what's you finding.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants