From eced31ac01e9c2636150decef7d3c335d0feb304 Mon Sep 17 00:00:00 2001 From: manoj7410 Date: Mon, 2 Aug 2021 17:18:03 +0530 Subject: [PATCH] Fixing aarch64 lib Path in the Makefile Recommending the correct version of the aarch64 libs --- cpp/examples/classification/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpp/examples/classification/Makefile b/cpp/examples/classification/Makefile index 14119c3..ee12d65 100644 --- a/cpp/examples/classification/Makefile +++ b/cpp/examples/classification/Makefile @@ -8,7 +8,7 @@ # 3. Download external dependencies for TensorFlow Lite: # $ tensorflow/tensorflow/lite/tools/make/download_dependencies.sh # 4. Cross-compile TensorFlow Lite for aarch64: -# $ tensorflow/tensorflow/lite/tools/make/build_generic_aarch64_lib.sh +# $ tensorflow/tensorflow/lite/tools/make/build_aarch64_lib.sh # 5. Cross-compile classify.cc example for aarch64: # $ TENSORFLOW_DIR= make # 6. Copy the following files to Coral Dev board: @@ -38,7 +38,7 @@ classify: classify.cc -I$(MAKEFILE_DIR)/edgetpu_runtime/libedgetpu/ \ -I$(TENSORFLOW_DIR) \ -I$(TENSORFLOW_DIR)/tensorflow/lite/tools/make/downloads/flatbuffers/include \ - -L$(TENSORFLOW_DIR)/tensorflow/lite/tools/make/gen/generic-aarch64_armv8-a/lib \ + -L$(TENSORFLOW_DIR)/tensorflow/lite/tools/make/gen/linux_aarch64/lib \ -L$(MAKEFILE_DIR)/edgetpu_runtime/libedgetpu/direct/aarch64/ \ -ltensorflow-lite -l:libedgetpu.so.1.0 -lpthread -lm -ldl