Home Forums Sparkfun MP3 Shield Library Support Forum compile error: variable ‘bitrate_table’ must be const Reply To: compile error: variable ‘bitrate_table’ must be const

#2138
Anonymous
Inactive

warnings & errors:

/home/michiel/sketchbook/libraries/SFEMP3Shield/SFEMP3Shield.cpp: In member function ‘uint8_t SFEMP3Shield::vs_init()’:
/home/michiel/sketchbook/libraries/SFEMP3Shield/SFEMP3Shield.cpp:236:34: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
/home/michiel/sketchbook/libraries/SFEMP3Shield/SFEMP3Shield.cpp: In member function ‘uint8_t SFEMP3Shield::playTrack(uint8_t)’:
/home/michiel/sketchbook/libraries/SFEMP3Shield/SFEMP3Shield.cpp:775:11: warning: unused variable ‘trackNumber’ [-Wunused-variable]

SFEMP3Shield/SFEMP3Shield.cpp.o: In function `_GLOBAL__sub_I__ZN12SFEMP3Shield5trackE’:
/usr/share/arduino/hardware/arduino/cores/arduino/Print.h:43: undefined reference to `sd’
collect2: error: ld returned 1 exit status