我已经安装了一个包https://github.com/tensorflow/tensorflow我正在尝试使用 make 构建一个目标,因此我运行以下命令:
make -f tensorflow/lite/micro/tools/make/Makefile test_hello_world_test
但它失败了,错误信息如下:
-m was unexpected at this time.
The syntax of the command is incorrect.
tensorflow/lite/micro/tools/make/Makefile:585: *** Something went wrong with the flatbuffers download: The top-level downloads directory: tensorflow/lite/micro/tools/make/downloads does not exist.. Stop.
以下是 Makefile 中第 585 行附近的一些行:
# Directly download the flatbuffers library.
DOWNLOAD_RESULT := $(shell $(MAKEFILE_DIR)/flatbuffers_download.sh ${MAKEFILE_DIR}/downloads)
ifneq ($(DOWNLOAD_RESULT), SUCCESS)
$(error Something went wrong with the flatbuffers download: $(DOWNLOAD_RESULT))
endif
你能解释一下哪里出了问题以及我该如何修复吗?谢谢。