I purchased the Sparkfun MP3 Audio Shield and downloaded the necessary libraries but when I try to compile an example sketch I keep getting this error:
Arduino: 1.8.13 (Mac OS X), Board: “Arduino Nano 33 BLE”
/Users/username/Documents/Arduino/libraries/SFEMP3Shield/SFEMP3Shield.cpp:13:10: fatal error: avr/pgmspace.h: No such file or directory
#include <avr/pgmspace.h>
^~~~~~~~~~~~~~~~
compilation terminated.
exit status 1
Error compiling for board Arduino Nano 33 BLE.
I’ve looked online and from what I can tell the AVR libraries are supposed to be automatically installed in the Arduino IDE so there is no avr/pgmspace.h library that I need to download but then why am I getting this error. This is my first time working with the shield so perhaps there’s something I’m missing but I have tried everything from un-installing to re-installing the libraries, both manually and through the Arduino IDE but I still end up with this compilation error.
I’m also having a similar regarding the <vs1053.h> library. Again, to my knowledge I’ve installed everything I need to so I’m not sure what else to do.