Reputation: 45
I am trying to build Bazel from source for Raspberry Pi 3 (Model B). I encounter error
Protobuf compiler not found in third_party/protobuf/protoc-linux-arm32.exe
Earlier I tried downloading the available .deb package which failed to install (even after force architecture, worth noting Pi 3 is a armhf 64 system) as dependency on JDK7 was not resolved. JDK7 is not available through apt-get.
My understanding of Bazel, Protocol Buffer is very limited, Please help me with:
I think it is very much possible to build because Tensorflow repository for Raspberry Pi is successfully installed on Pi 3, which I grabbed from here
Upvotes: 2
Views: 9926
Reputation: 1779
I have explained how to build/install Bazel on Raspberry Pi step by step here and for test I have used Raspberry Pi 3B+ 1.4GHz Cortex-A53 Rev. 1.3 with 1GB RAM and 16GB SD card. Thereafter you can use the official TF documentation to build TF on Raspberry Pi.
Upvotes: 0
Reputation: 2878
There's a guide to building TensorFlow using Bazel on the Pi 3 here that may help: https://github.com/samjabrahams/tensorflow-on-raspberry-pi/blob/master/GUIDE.md
Upvotes: 3
Reputation: 2370
You would need to get a version of protobuf compiler 3.0 and put it in third_party/protobuf/protoc-linux-arm32.exe.
Upvotes: 1