-
Notifications
You must be signed in to change notification settings - Fork 131
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
Bazel build error on Jetson Nano #6
Comments
Did Jetson nano use "bazel-3.1.0-installer-linux-x86_64.sh"? |
At first, 2.2.1. build TensorFlow Lite library on Host PC. |
Thank you, I implemented successful. |
Hey, I have the same problem as you.How did you solve it? |
Hi, I have met many issues when building the library on Jetson. so may you share the file you had build on the Jetson Nano.(libtensorflowlite_gpu_delegate.so&libtensorflowlite.so). best regards, |
What is the exact path? I cannot find /home/jetson/lib as mentioned in document, thanks. |
I followed your install step "2.2. Build for aarch64 Linux (Jetson Nano, Raspberry Pi)"
but this error occurred
how can i fix it?
tony@Mediapipe-JetsonNano:
$ chmod 755 bazel-3.1.0-installer-linux-x86_64.sh$ sudo ./bazel-3.1.0-installer-linux-x86_64.shtony@Mediapipe-JetsonNano:
[sudo] password for tony:
Bazel installer
Bazel is bundled with software licensed under the GPLv2 with Classpath exception.
You can find the sources next to the installer on our release page:
https://github.com/bazelbuild/bazel/releases
Build information
Uncompressing.......
Bazel is now installed!
Make sure you have "/usr/local/bin" in your path. You can also activate bash
completion by adding the following line to your ~/.bashrc:
source /usr/local/lib/bazel/bin/bazel-complete.bash
See http://bazel.build/docs/getting-started.html to start a new project!
tony@Mediapipe-JetsonNano:
$ ^C$ source /usr/local/lib/bazel/bin/bazel-complete.bashtony@Mediapipe-JetsonNano:
tony@Mediapipe-JetsonNano:
$ source/work$ ./tflite_gles_app/tools/scripts/tf2.3/build_libtflite_r2.3_aarch64.sh/.bashrc$ sudo nanotony@Mediapipe-JetsonNano:
/.bashrc$ sourcetony@Mediapipe-JetsonNano:
/.bashrc$ cdtony@Mediapipe-JetsonNano:
/work/work$ ./tflite_gles_app/tools/scripts/tf2.3/build_libtflite_r2.3_aarch64.shtony@Mediapipe-JetsonNano:
fatal: destination path '/home/tony/work/tensorflow_r2.3' already exists and is not an empty directory.
tony@Mediapipe-JetsonNano:
Already on 'r2.3'
Your branch is up to date with 'origin/r2.3'.
/usr/local/bin/bazel: line 163: /usr/local/lib/bazel/bin/bazel-real: cannot execute binary file: Exec format error
ERROR: The project you're trying to build requires Bazel 3.1.0 (specified in /home/tony/work/tensorflow_r2.3/.bazelversion), but it wasn't found in /usr/local/lib/bazel/bin.
Bazel binaries for all official releases can be downloaded from here:
https://github.com/bazelbuild/bazel/releases
Please put the downloaded Bazel binary into this location:
/usr/local/lib/bazel/bin/bazel-3.1.0-linux-aarch64
The text was updated successfully, but these errors were encountered: