MUSIC Shield error compiling

Just bought the Seeeduino Music Shield and I’m excited to use it with my Arduino UNO but I ran into a few snags

I keep on getting an error compiling, following the instructions here

I’m following Demo 1: Use SD library

But even after following all the instructions replacing the portpins.h and such

I still get a slew of error messages trying to compile the musicPlayAll project

musicPlayAll.cpp.o: In function `loop': C:\Users\Matt\AppData\Local\Temp\build6438636664957099983.tmp/musicPlayAll.cpp:63: undefined reference to `Play()' musicPlayAll.cpp.o: In function `setup': C:\Users\Matt\AppData\Local\Temp\build6438636664957099983.tmp/musicPlayAll.cpp:33: undefined reference to `InitSPI()' C:\Users\Matt\AppData\Local\Temp\build6438636664957099983.tmp/musicPlayAll.cpp:35: undefined reference to `InitIOForVs10xx()' C:\Users\Matt\AppData\Local\Temp\build6438636664957099983.tmp/musicPlayAll.cpp:37: undefined reference to `InitIOForKeys()' C:\Users\Matt\AppData\Local\Temp\build6438636664957099983.tmp/musicPlayAll.cpp:39: undefined reference to `InitIOForLEDs()' C:\Users\Matt\AppData\Local\Temp\build6438636664957099983.tmp/musicPlayAll.cpp:41: undefined reference to `InitFileSystem()' C:\Users\Matt\AppData\Local\Temp\build6438636664957099983.tmp/musicPlayAll.cpp:45: undefined reference to `Mp3Reset()'

Any ideas?

Thanks in advanced!

First , you should confirm that Fat16 file and Music v1 2 file are both in your Arduino Libraries.
Then, if it isn’t solved,you can use this MusicPlayer_v1.7 file(attachment)instead of Music v1.2,and you need to delete Music v1.2.

Best Regards
Jacket (30.3 KB)

What is the version of your arduino IDE? Please confirm that it is arduino-1.0 .
Have not idea what is the matter of your operations , easy way to use it that you can try to re-download the arduino-1.0 files , and just follow the steps(ignore other steps)

For Arduino 1.0:
Demo 1: Use SD library
This demo will use the SD library coming with Arduino 1.0.
Make sure there are songs in the micro sd card.
Download File:Music v1 for music shield.
Uncompress the package and put it in Arduino-1.0 program: …\arduino-1.0\libraries
Select the corresponding Arduino board, like Arduino UNO or Duemilanove or others.
[Ignore this if under Linux] Download a new portpins.h file and replace the default portpins.h file of Arduino-1.0 program: …\arduino-1.0\hardware\tools\avr\avr\include\avr
Run the arduino program compile and upload the sketch of music_v1_2 -> musicPlayAll into Arduino board.


Followed your instructions below

And it now compiles. But now I have a whole new problem.
I have a wav file on my microsd which is formatted with the fat32 filesystem. But in the serial monitor it reports

Card found, starting… Failed.


Any ideas?