Hi,
I've followed the instructions here: https://www.geeetech.com/wiki/index.php ... th_SD_card
But when I upload I get this error message:
/Users/andrew/Documents/Arduino/libraries/SFEMP3Shield/SFEMP3Shield.cpp:9:9: error: 'prog_uint16_t' does not name a type
PROGMEM prog_uint16_t bitrate_table[14][6] = { {0,0,0,0,0,0},
Can you help me fix this? I can't even get started with this board..
Thanks,
Andrew
Full console text is below:
Arduino: 1.8.5 (Mac OS X), Board: "Arduino/Genuino Uno"
/Applications/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/andrew/Library/Arduino15/packages -hardware /Users/andrew/Documents/Arduino/hardware -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/andrew/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/andrew/Documents/Arduino/libraries -fqbn=arduino:avr:uno -vid-pid=0X2341_0X0043 -ide-version=10805 -build-path /var/folders/_6/04sl95rd3q1gz438ftt3m3qh0000gn/T/arduino_build_424634 -warnings=none -build-cache /var/folders/_6/04sl95rd3q1gz438ftt3m3qh0000gn/T/arduino_cache_353796 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=/Applications/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.avrdude.path=/Applications/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.avr-gcc.path=/Applications/Arduino.app/Contents/Java/hardware/tools/avr -verbose /Users/andrew/Desktop/MP3Shield Library Demo-1/Examples/MP3Shield_Library_Demo/MP3Shield_Library_Demo.ino
/Applications/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/andrew/Library/Arduino15/packages -hardware /Users/andrew/Documents/Arduino/hardware -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/andrew/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/andrew/Documents/Arduino/libraries -fqbn=arduino:avr:uno -vid-pid=0X2341_0X0043 -ide-version=10805 -build-path /var/folders/_6/04sl95rd3q1gz438ftt3m3qh0000gn/T/arduino_build_424634 -warnings=none -build-cache /var/folders/_6/04sl95rd3q1gz438ftt3m3qh0000gn/T/arduino_cache_353796 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=/Applications/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.avrdude.path=/Applications/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.avr-gcc.path=/Applications/Arduino.app/Contents/Java/hardware/tools/avr -verbose /Users/andrew/Desktop/MP3Shield Library Demo-1/Examples/MP3Shield_Library_Demo/MP3Shield_Library_Demo.ino
Using board 'uno' from platform in folder: /Applications/Arduino.app/Contents/Java/hardware/arduino/avr
Using core 'arduino' from platform in folder: /Applications/Arduino.app/Contents/Java/hardware/arduino/avr
Detecting libraries used...
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/standard" "/var/folders/_6/04sl95rd3q1gz438ftt3m3qh0000gn/T/arduino_build_424634/sketch/MP3Shield_Library_Demo.ino.cpp" -o "/dev/null"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/standard" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src" "/var/folders/_6/04sl95rd3q1gz438ftt3m3qh0000gn/T/arduino_build_424634/sketch/MP3Shield_Library_Demo.ino.cpp" -o "/dev/null"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/standard" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src" "-I/Users/andrew/Documents/Arduino/libraries/SdFat" "/var/folders/_6/04sl95rd3q1gz438ftt3m3qh0000gn/T/arduino_build_424634/sketch/MP3Shield_Library_Demo.ino.cpp" -o "/dev/null"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/standard" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src" "-I/Users/andrew/Documents/Arduino/libraries/SdFat" "-I/Users/andrew/Documents/Arduino/libraries/SFEMP3Shield" "/var/folders/_6/04sl95rd3q1gz438ftt3m3qh0000gn/T/arduino_build_424634/sketch/MP3Shield_Library_Demo.ino.cpp" -o "/dev/null"
Using cached library dependencies for file: /Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src/SPI.cpp
Using cached library dependencies for file: /Users/andrew/Documents/Arduino/libraries/SdFat/MinimumSerial.cpp
Using cached library dependencies for file: /Users/andrew/Documents/Arduino/libraries/SdFat/Sd2Card.cpp
Using cached library dependencies for file: /Users/andrew/Documents/Arduino/libraries/SdFat/SdBaseFile.cpp
Using cached library dependencies for file: /Users/andrew/Documents/Arduino/libraries/SdFat/SdFat.cpp
Using cached library dependencies for file: /Users/andrew/Documents/Arduino/libraries/SdFat/SdFatUtil.cpp
Using cached library dependencies for file: /Users/andrew/Documents/Arduino/libraries/SdFat/SdFile.cpp
Using cached library dependencies for file: /Users/andrew/Documents/Arduino/libraries/SdFat/SdStream.cpp
Using cached library dependencies for file: /Users/andrew/Documents/Arduino/libraries/SdFat/SdVolume.cpp
Using cached library dependencies for file: /Users/andrew/Documents/Arduino/libraries/SdFat/istream.cpp
Using cached library dependencies for file: /Users/andrew/Documents/Arduino/libraries/SdFat/ostream.cpp
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/standard" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src" "-I/Users/andrew/Documents/Arduino/libraries/SdFat" "-I/Users/andrew/Documents/Arduino/libraries/SFEMP3Shield" "/Users/andrew/Documents/Arduino/libraries/SFEMP3Shield/SFEMP3Shield.cpp" -o "/dev/null"
Generating function prototypes...
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/standard" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src" "-I/Users/andrew/Documents/Arduino/libraries/SdFat" "-I/Users/andrew/Documents/Arduino/libraries/SFEMP3Shield" "/var/folders/_6/04sl95rd3q1gz438ftt3m3qh0000gn/T/arduino_build_424634/sketch/MP3Shield_Library_Demo.ino.cpp" -o "/var/folders/_6/04sl95rd3q1gz438ftt3m3qh0000gn/T/arduino_build_424634/preproc/ctags_target_for_gcc_minus_e.cpp"
"/Applications/Arduino.app/Contents/Java/tools-builder/ctags/5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "/var/folders/_6/04sl95rd3q1gz438ftt3m3qh0000gn/T/arduino_build_424634/preproc/ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/standard" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src" "-I/Users/andrew/Documents/Arduino/libraries/SdFat" "-I/Users/andrew/Documents/Arduino/libraries/SFEMP3Shield" "/var/folders/_6/04sl95rd3q1gz438ftt3m3qh0000gn/T/arduino_build_424634/sketch/MP3Shield_Library_Demo.ino.cpp" -o "/var/folders/_6/04sl95rd3q1gz438ftt3m3qh0000gn/T/arduino_build_424634/sketch/MP3Shield_Library_Demo.ino.cpp.o"
Compiling libraries...
Compiling library "SPI"
Using previously compiled file: /var/folders/_6/04sl95rd3q1gz438ftt3m3qh0000gn/T/arduino_build_424634/libraries/SPI/SPI.cpp.o
Compiling library "SdFat"
Using previously compiled file: /var/folders/_6/04sl95rd3q1gz438ftt3m3qh0000gn/T/arduino_build_424634/libraries/SdFat/MinimumSerial.cpp.o
Using previously compiled file: /var/folders/_6/04sl95rd3q1gz438ftt3m3qh0000gn/T/arduino_build_424634/libraries/SdFat/Sd2Card.cpp.o
Using previously compiled file: /var/folders/_6/04sl95rd3q1gz438ftt3m3qh0000gn/T/arduino_build_424634/libraries/SdFat/SdBaseFile.cpp.o
Using previously compiled file: /var/folders/_6/04sl95rd3q1gz438ftt3m3qh0000gn/T/arduino_build_424634/libraries/SdFat/SdFat.cpp.o
Using previously compiled file: /var/folders/_6/04sl95rd3q1gz438ftt3m3qh0000gn/T/arduino_build_424634/libraries/SdFat/SdFatUtil.cpp.o
Using previously compiled file: /var/folders/_6/04sl95rd3q1gz438ftt3m3qh0000gn/T/arduino_build_424634/libraries/SdFat/SdFile.cpp.o
Using previously compiled file: /var/folders/_6/04sl95rd3q1gz438ftt3m3qh0000gn/T/arduino_build_424634/libraries/SdFat/SdStream.cpp.o
Using previously compiled file: /var/folders/_6/04sl95rd3q1gz438ftt3m3qh0000gn/T/arduino_build_424634/libraries/SdFat/SdVolume.cpp.o
Using previously compiled file: /var/folders/_6/04sl95rd3q1gz438ftt3m3qh0000gn/T/arduino_build_424634/libraries/SdFat/istream.cpp.o
Using previously compiled file: /var/folders/_6/04sl95rd3q1gz438ftt3m3qh0000gn/T/arduino_build_424634/libraries/SdFat/ostream.cpp.o
Compiling library "SFEMP3Shield"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/standard" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src" "-I/Users/andrew/Documents/Arduino/libraries/SdFat" "-I/Users/andrew/Documents/Arduino/libraries/SFEMP3Shield" "/Users/andrew/Documents/Arduino/libraries/SFEMP3Shield/SFEMP3Shield.cpp" -o "/var/folders/_6/04sl95rd3q1gz438ftt3m3qh0000gn/T/arduino_build_424634/libraries/SFEMP3Shield/SFEMP3Shield.cpp.o"
/Users/andrew/Documents/Arduino/libraries/SFEMP3Shield/SFEMP3Shield.cpp:9:9: error: 'prog_uint16_t' does not name a type
PROGMEM prog_uint16_t bitrate_table[14][6] = { {0,0,0,0,0,0},
^
Using library SPI at version 1.0 in folder: /Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI
Using library SdFat in folder: /Users/andrew/Documents/Arduino/libraries/SdFat (legacy)
Using library SFEMP3Shield in folder: /Users/andrew/Documents/Arduino/libraries/SFEMP3Shield (legacy)
exit status 1
Error compiling for board Arduino/Genuino Uno.
Can'r get started with VS1053 MP3 Breakout Board
-
- Posts: 0
- Joined: Tue Apr 03, 2018 5:04 am
Jump to
- Update Announcement/Product Release
- Firmware
- 3D Printer
- ↳ Thunder
- ↳ Mizar Pro
- ↳ Mizar S
- ↳ Mizar
- ↳ Geeetech I3/DIY Printer Series
- ↳ FAQ-Geeetech I3/DIY Printer series
- ↳ Geeetech I3 Pro B
- ↳ Geeetech I3 Pro W
- ↳ Geeetech I3 Pro X
- ↳ Geeetech I3 Aluminum
- ↳ Geeetech I3 Aluminum Pro
- ↳ Geeetech I3 Duplicator 5
- ↳ Geeetech I3 Pro C
- ↳ Geeetech I3 M201
- ↳ Geeetech A10 Series
- ↳ A10T
- ↳ Geeetech A20 Series
- ↳ Geeetech A20
- ↳ Geeetech A20M
- ↳ A20T
- ↳ Geeetech A30 Series
- ↳ A30M
- ↳ A30 PRO
- ↳ Geeetech E180 Mini
- ↳ Geeetech MeCreator2
- ↳ GiantArm D200
- ↳ Geeetech Delta Series
- ↳ Geeetech DP200 Series
- 3D Printing Software
- ↳ Configuration Profiles Sharing
- ↳ Software
- ↳ Wifi Box
- ↳ Bug report
- ↳ Download
- Hardware
- ↳ 3D Printer Hardware
- ↳ Stepper Motor
- ↳ Control Board
- ↳ Extruder
- ↳ Hot bed
- ↳ LCD Panel
- ↳ Power Supply Unit
- ↳ Assembly
- ↳ Others
- ↳ Video about cleaning and replacing nozzles
- Print Quality
- Resoures Sharing
- Feedback&Suggestion
- Project Talent Show
- Other Discussion
- ↳ Leveling Guide
- ↳ Open Hardware
- ↳ Mods And Hacks
- ↳ Products FAQ
- ↳ Tips & Tricks
- ↳ Discuss & Help
- ↳ Windows
- ↳ MAC