Open
Description
Using Arduino IDE 1.8.3 Hourly Build 2017/04/26 01:33
Steps to reproduce:
- Install the ArduinoSound library
- Compile any example sketch of that library for Arduino/Genuino Uno
The compilation fails but no library architecture mismatch warning is shown:
In file included from E:\Stuff\misc\electronics\arduino\libraries\ArduinoSound\src/ArduinoSound.h:28:0,
from E:\Stuff\misc\electronics\arduino\libraries\ArduinoSound\examples\AmplitudeSerialPlotter\AmplitudeSerialPlotter.ino:20:
E:\Stuff\misc\electronics\arduino\libraries\ArduinoSound\src/AmplitudeAnalyzer.h:25:22: fatal error: arm_math.h: No such file or directory
#include <arm_math.h>
^
compilation terminated.
exit status 1
Error compiling for board Arduino/Genuino Uno.
The expected library architecture mismatch warning:
WARNING: library ArduinoSound claims to run on (samd) architecture(s) and may be incompatible with your current board which runs on (avr) architecture(s).
would have provided the user who reported arduino-libraries/ArduinoSound#4 with an important clue to the cause of the error.
Another example of when this warning being displayed would have been helpful: http://forum.arduino.cc/index.php?topic=504220