Tensorflow C++ Cross Compile Issue

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Tensorflow C++ Cross Compile Issue

704 Views
weilly_li
Contributor IV

Dear All, 

      我目前遇到 Tensorflow Lite C++ 無法編譯成功的問題,還請達人幫忙解答!! 感恩

      參考文件 :i.MX Machine Learning User's Guide 文件中章節 3.6 的部分。

      運行平台 :  i.MX8MP , BSP 5.10.35.2.0.0

      運行步驟 :

          >> source /opt/fsl-imx-xwayland/5.10-hardknott/environment-setup-cortexa53-crypto-poky-linux

          >>  cd tensorflow/lite/examples/label_image

          >>  g++  label_image.cc bitmap_helpers.cc ../../tools/evaluation/utils.cc \

                  -I=/usr/include/tensorflow/lite/tools/make/downloads/flatbuffers/include \

                  -I=/usr/include/tensorflow/lite/tools/make/downloads/absl  -O1\

                  -DTFLITE_WITHOUT_XNNPACK -ltensorflow-lite -lstdc++ -lpthread -lm -ldl -lrt

weilly_li_0-1631280484141.png

       

       此外,加入 "tensorflow-lite-staticdev" 無法編譯出 SDK

weilly_li_1-1631280529227.png

 

Weilly

0 Kudos
0 Replies