RidgeRun / meta-ridgerun

RidgeRun yocto layer containing RidgeRun commonly used packages
MIT License
7 stars 7 forks source link

Prebuilt-tenserflow version issue #36

Open Harishrelysys opened 4 years ago

Harishrelysys commented 4 years ago

Hi all, We have a ARM 64 bit board on Renesas RZG2M processor for compiling r2inference we already have tensorflow(version-2.0) how to make use of this tensorflow instead of prebuilt-tensorflow in yocto.

michaelgruner commented 4 years ago

R2Inference will look for the C API (instead of the C++ one). Do you have that one installed as well?

On Apr 10, 2020, at 01:53, Harishrelysys notifications@github.com wrote:

 Hi all, We have a ARM 64 bit board on Renesas RZG2M processor for compiling r2inference we already have tensorflow(version-2.0) how to make use of this tensorflow instead of prebuilt-tensorflow in yocto.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

Harishrelysys commented 4 years ago

Hi michaelgruner, We have C api then how to compile this r2inference in yocto...

Harishrelysys commented 4 years ago

Hi michaelgruner, We have already working tenserflow 2.0 yocto recipe so what we did is in r2inference recipe we gave DEPENDS = "tensorflow" but while configuring r2inference we are getting below error in yocto

error:

checking whether ln -s works... yes | checking for aarch64-poky-linux-pkg-config... no | checking for pkg-config... /home/build-pc/Harish_Workspace/Project/Renesas/RZG2M/user_work/build/tmp/work/aarch64-poky-linux/r2inference/1.0-r0/recipe-sysroot-native/usr/bin/pkg-config | configure: WARNING: using cross tools not prefixed with host triplet | checking pkg-config is at least version 0.9.0... yes | configure: Testing support disabled! | configure: Documentation support disabled! | checking whether to build with code coverage support... no | configure: checking feature: ncsdk | configure: This feature is disabled: NCSDK Installation | configure: checking feature: tensorflow *** | checking for TF_Version in -ltensorflow... yes | checking tensorflow/c/c_api.h usability... no | checking tensorflow/c/c_api.h presence... no | checking for tensorflow/c/c_api.h... no | configure: error: Couldn't find tensorflow | NOTE: The following config.log files may provide further information. | NOTE: /home/build-pc/Harish_Workspace/Project/Renesas/RZG2M/user_work/build/tmp/work/aarch64-poky-linux/r2inference/1.0-r0/build/config.log | ERROR: configure failed | WARNING: exit code 1 from a shell command. | ERROR: Function failed: do_configure (log file is located at /home/build-pc/Harish_Workspace/Project/Renesas/RZG2M/user_work/build/tmp/work/aarch64-poky-linux/r2inference/1.0-r0/temp/log.do_configure.12074) ERROR: Task (/home/build-pc/Harish_Workspace/Project/Renesas/RZG2M/user_work/build/../meta-ridgerun/recipes-multimedia/r2inference/r2inference_1.0.bb:do_configure) failed with exit code '1' NOTE: Tasks Summary: Attempted 1101 tasks of which 1095 didn't need to be rerun and 1 failed.

Summary: 1 task failed: /home/build-pc/Harish_Workspace/Project/Renesas/RZG2M/user_work/build/../meta-ridgerun/recipes-multimedia/r2inference/r2inference_1.0.bb:do_configure Summary: There was 1 WARNING message shown. Summary: There were 2 ERROR messages shown, returning a non-zero exit code.