error: macro "max" requires 2 arguments, but only 1 given = (_M_b.max() - _M_b.min() < std::numeric_limits<_Eresult_type>::max()

If you're getting complaints about min() and max() having wrong number of arguments, make sure you've updated to the latest Adafruit SAMD Boards package in the boards manager. Also make sure you have the latest libraries while you're at it

"uses VFP register arguments and libtensorflowlite.a does not" error

If you get mysterious compilation errors about VFP registers or SerialUSB missing, check you have not installed the pre-compiled version of the TensorFlow library

ld.exe: error: C:\Users\ladyada\AppData\Local\Temp\arduino_build_570572/magic_wand_arcada.ino.elf uses VFP register arguments, C:\Users\ladyada\Dropbox\ArduinoSketches\libraries\Arduino_TensorFlowLite\src\cortex-m4\libtensorflowlite.a(error_reporter.cpp.o) does not
ld.exe: failed to merge target specific data of file C:\Users\ladyada\Dropbox\ArduinoSketches\libraries\Arduino_TensorFlowLite\src\cortex-m4\libtensorflowlite.a(error_reporter.cpp.o)
ld.exe: error: C:\Users\ladyada\AppData\Local\Temp\arduino_build_570572/magic_wand_arcada.ino.elf uses VFP register arguments, C:\Users\ladyada\Dropbox\ArduinoSketches\libraries\Arduino_TensorFlowLite\src\cortex-m4\libtensorflowlite.a(micro_error_reporter.cpp.o) does not       
ld.exe: failed to merge target specific data of file C:\Users\ladyada\Dropbox\ArduinoSketches\libraries\Arduino_TensorFlowLite\src\cortex-m4\libtensorflowlite.a(micro_error_reporter.cpp.o)

In the library manager, select the latest not precompiled version!

This guide was first published on Jul 23, 2019. It was last updated on Jul 23, 2019.

This page (Troubleshooting) was last updated on May 17, 2021.

Text editor powered by tinymce.