Upload errors


#1

Hello, i’m trying simple program in mblock for my mBot. But i can’t upload it.

. But when i use for example move it can upload, but when i use audio player extension it just can’t upload and it is writting me some errors.
Here they are.
Command failed: avr-toolchain\bin\avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10605 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -I"C:\ProgramData\mBlock5\mblock\resources\robocomm\src\external\arduino\avr-library\variants\standard" -I"avr-library/cores/arduino" -I"arduino-libraries/makeblock/src" -I"arduino-libraries/makeblock/src/utility/avr" -I"avr-library/libraries/Wire/src/utility" -I"avr-library/libraries/Wire/src/" -I"avr-library/libraries/EEPROM/src/" -I"avr-library/libraries/SPI/src/" -I"avr-library/libraries/SoftwareSerial/src/" -I"arduino-libraries/arduino/WiFi/src/" -I"arduino-libraries/arduino/SD/src/" -I"arduino-libraries/arduino/Bridge/src/" -I"arduino-libraries/arduino/Temboo/src/" -I"arduino-libraries/arduino/Servo/src/" -I"arduino-libraries/arduino/Ethernet/src/" -I"arduino-libraries/arduino/TFT/src/" -I"arduino-libraries/arduino/SpacebrewYun/src/" -I"arduino-libraries/arduino/LiquidCrystal/src/" -I"arduino-libraries/arduino/GSM/src/" -I"arduino-libraries/arduino/Adafruit_Circuit_Playground/" -I"arduino-libraries/arduino/Adafruit_Circuit_Playground/utility/" -I"arduino-libraries/arduino/Esplora/src/" -I"arduino-libraries/arduino/Firmata/" -I"arduino-libraries/arduino/Firmata/utility/" -I"arduino-libraries/arduino/Keyboard/src/" -I"arduino-libraries/arduino/Mouse/src/" -I"arduino-libraries/arduino/Robot_Control/src/" -I"arduino-libraries/arduino/Robot_Motor/src/" -I"arduino-libraries/arduino/RobotIRremote/src/" -I"arduino-libraries/arduino/Stepper/src/" “C:\Users\Denis\mblock-avr\temp\build\code.cpp” -o “C:\Users\Denis\mblock-avr\temp\build\code.o” C:\Users\Denis\mblock-avr\temp\build\code.cpp: In function ‘void setup()’:
C:\Users\Denis\mblock-avr\temp\build\code.cpp:33:3: error: ‘meAudioPlayer’ was not declared in this scope
meAudioPlayer.playMusicFileName(String(“song”));
^~~~~~~~~~~~~
C:\Users\Denis\mblock-avr\temp\build\code.cpp:33:3: note: suggested alternative: ‘MeAudioPlayer’
meAudioPlayer.playMusicFileName(String(“song”));
^~~~~~~~~~~~~
MeAudioPlayer

Failed to compile file code.cpp

arduino build failed.

Please help me, i am newbie.


#2

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.