yunho0130 / tensorflow-lite

O'Reilly <TinyML: 텐서플로우 라이트 Tensorflow Lite> 소스코드 저장소
https://www.tensorflow.org/lite/microcontrollers
Apache License 2.0
58 stars 49 forks source link

Makefile 실행 중 Error 발생 #83

Closed jaeho77 closed 3 years ago

jaeho77 commented 3 years ago

TinyML: Tensorflow lite for microcontroller 이슈

이곳은 텐서플로우 라이트 한글화 프로젝트의 Issue 공간입니다. 텐서플로우 자체에 이슈가 있다면 아래의 Github 링크나 Stack Overflow를 참조하시기 바랍니다.

image

Tensorflow Github

Stack Overflow

joongoes commented 3 years ago

이슈내용: 페이지 119을 진행하다가 Error 발생함 재현환경: OSX, Makefile Version : 3.82 에러로그: (base) ➜ tensorflow git:(master) % make -f tensorflow/lite/micro/tools/make/Makefile test_hello_world_test tensorflow/lite/micro/tools/make/Makefile:401: warning: overriding recipe for target 'tensorflow/lite/micro/tools/make/downloads/person_model_int8' tensorflow/lite/micro/tools/make/Makefile:401: warning: ignoring old recipe for target 'tensorflow/lite/micro/tools/make/downloads/person_model_int8' g++ -std=c++11 -fno-rtti -fno-exceptions -fno-threadsafe-statics -fno-unwind-tables -ffunction-sections -fdata-sections -fmessage-length=0 -DTF_LITE_STATIC_MEMORY -O3 -Werror -Wsign-compare -Wdouble-promotion -Wshadow -Wunused-variable -Wmissing-field-initializers -Wunused-function -Wswitch -Wvla -Wall -Wextra -Wstrict-aliasing -Wno-unused-parameter -DTF_LITE_DISABLE_X86_NEON -DTF_LITE_DISABLE_X86_NEON -I. -Itensorflow/lite/micro/tools/make/downloads/ -Itensorflow/lite/micro/tools/make/downloads/gemmlowp -Itensorflow/lite/micro/tools/make/downloads/flatbuffers/include -Itensorflow/lite/micro/tools/make/downloads/ruy -Itensorflow/lite/micro/tools/make/downloads/kissfft -o tensorflow/lite/micro/tools/make/gen/osx_x86_64/bin/hello_world_test tensorflow/lite/micro/tools/make/gen/osx_x86_64/obj/tensorflow/lite/micro/examples/hello_world/hello_world_test.o tensorflow/lite/micro/tools/make/gen/osx_x86_64/obj/tensorflow/lite/micro/examples/hello_world/model.o tensorflow/lite/micro/tools/make/gen/osx_x86_64/lib/libtensorflow-microlite.a -Wl,--fatal-warnings -Wl,--gc-sections -lm -framework Foundation -framework AudioToolbox ld: unknown option: --fatal-warnings clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [tensorflow/lite/micro/examples//hello_world/Makefile.inc:34: tensorflow/lite/micro/tools/make/gen/osx_x86_64/bin/hello_world_test] Error 1

yunho0130 commented 3 years ago

issue #84 에서 진행중입니다.

jaeho77 commented 3 years ago

해당 이슈가 #84로 이동되었습니다. hello_world_test라고 실행해도 동일하게 발생됩니다.

책에 표기된 내용을 보고 이해하고 진행하였습니다. 잘 못 된 부분이 있다면 정확한 순서를 알려주시면 좋겠습니다.