google-coral / libcoral

C++ API for ML inferencing and transfer-learning on Coral devices
https://coral.ai
Apache License 2.0
77 stars 41 forks source link

Compiling Libcoral C++ for Raspberry Bullseye x64 #26

Open publioelon opened 2 years ago

publioelon commented 2 years ago

Description

Greetings, I am trying to build the C++ libcoral for the Bullseye OS on a Raspberry Pi 4B and the tutorial offered here: https://github.com/google-coral/libcoral seems to not be working.

When I do make examples I get the following output:

make examples
bazel build --compilation_mode=opt --cpu=k8 //coral/examples:two_models_one_tpu \
                                 //coral/examples:two_models_two_tpus_threaded \
                                 //coral/examples:model_pipelining \
                                 //coral/examples:classify_image \
                                 //coral/examples:backprop_last_layer
/bin/bash: linha 1: bazel: comando não encontrado
make: *** [Makefile:99: examples] Erro 127

I wonder if libcoral is compatible with a Bullseye x64?

Click to expand! ### Issue Type Build/Install ### Operating System Linux ### Coral Device _No response_ ### Other Devices Rapsberry Pi 4 ### Programming Language C++ ### Relevant Log Output _No response_
hjonnala commented 2 years ago

/bin/bash: linha 1: bazel: comando não encontrado (bazel: command not found)

Seems to be bazel is not installed.

I wonder if libcoral is compatible with a Bullseye x64?

Unfortunately, we haven't tested libcoarl with a Bullseye x64. We have tested only cross compilation on LInux Machine for ARMv7-A, (e.g. Pi 3 or Pi 4) architecture..

cd libcoral
make docker-shell
make CPU=armv7a  examples