title: Building TF micro hello world: make: *** [tensorflow/lite/micro/examples/hello_world/Makefile.inc:34: test_hello_world_test] Error 1
body: <p>I am following the TinyML book by Pete Warden and Daniel Situnayake on how to deploy neural networks to microcontrollers with TFLite for microcontrollers. They closely follow the instructions at the end of <a href="https://github.com/tensorflow/tensorflow/tree/master/tensorflow/lite/micro/examples/hello_world" rel="nofollow noreferrer">this git repo</a>.</p>
  <p>To try and check for errors, they propose testing the code on the development machine(i.e my PC), but when running &quot;make&quot; I get some errors and it does not build.</p>
  <p>When running
  <code>$ git clone --depth 1 https://github.com/tensorflow/tensorflow.git</code> and then <code>$ make -f tensorflow/lite/micro/tools/make/Makefile test_hello_world_test </code>
  I get the following output:</p>
  <pre><code>$ make -f tensorflow/lite/micro/tools/make/Makefile test_hello_world_test
  tensorflow/lite/micro/tools/make/Makefile:305: warning: overriding recipe for target 'tensorflow/lite/micro/tools/make/downloads/ruy'
  tensorflow/lite/micro/tools/make/Makefile:305: warning: ignoring old recipe for target 'tensorflow/lite/micro/tools/make/downloads/ruy'
  tensorflow/lite/micro/tools/make/Makefile:305: warning: overriding recipe for target 'tensorflow/lite/micro/tools/make/downloads/person_model_grayscale'
  tensorflow/lite/micro/tools/make/Makefile:305: warning: ignoring old recipe for target 'tensorflow/lite/micro/tools/make/downloads/person_model_grayscale'
  tensorflow/lite/micro/tools/make/Makefile:305: warning: overriding recipe for target 'tensorflow/lite/micro/tools/make/downloads/person_model_int8'
  tensorflow/lite/micro/tools/make/Makefile:305: warning: ignoring old recipe for target 'tensorflow/lite/micro/tools/make/downloads/person_model_int8'
  g++ -std=c++11 -DTF_LITE_STATIC_MEMORY -Werror -Wsign-compare -Wdouble-promotion -Wshadow -Wunused-variable -Wmissing-field-initializers -Wunused-function -DNDEBUG -O3 -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/windows_x86_64/bin/hello_world_test tensorflow/lite/micro/tools/make/gen/windows_x86_64/obj/tensorflow/lite/micro/examples/hello_world/hello_world_test.o tensorflow/lite/micro/tools/make/gen/windows_x86_64/obj/tensorflow/lite/micro/examples/hello_world/model.o  tensorflow/lite/micro/tools/make/gen/windows_x86_64/lib/libtensorflow-microlite.a  -lm
  tensorflow/lite/micro/testing/test_linux_binary.sh tensorflow/lite/micro/tools/make/gen/windows_x86_64/bin/hello_world_test '~~~ALL TESTS PASSED~~~'
  make: *** [tensorflow/lite/micro/examples/hello_world/Makefile.inc:34: test_hello_world_test] Error 1
  
  </code></pre>
  <p>Although it says &quot;All tests passed&quot; it did not build due to the errors; when changing the source file to introduce some errors(to check evcerything works) it still prints that message.</p>
  <p>I've tried looking for similar issues but nothing worked. Here is some info about my PC:</p>
  <ul>
  <li>Windows 10 Home 64 bits</li>
  <li>GNU Make 4.3</li>
  <li>gcc.exe (Rev5, Built by MSYS2 project) 5.3.0</li>
  <li>Conda is installed</li>
  <li>Console: Git Bash (MINGW64)</li>
  <li>Both <code>$make</code> and <code>$gcc</code> are in PATH</li>
  </ul>
  <p>Please let me know if you need more information and thank you.</p>