luis-sanchez-utep / musicshield

Automatically exported from code.google.com/p/musicshield
0 stars 0 forks source link

Arduino0022 error compiling the demo (Play() not declared) #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hee guys,

Trying to run the basic example-code on my Arduino 238. I'm using the Arduino 
0022 software. During compiling I get the following error message in the log:

music.cpp: In function 'void loop()':
music:45: error: 'Play' was not declared in this scope

I don't have a clue how to fix this, any suggestions?

Original issue reported on code.google.com by gijswob...@gmail.com on 17 Mar 2011 at 12:42

GoogleCodeExporter commented 8 years ago
same problem, WProgram.h has to be also replaced in multiple files by arduino.h

Original comment by enrique....@gmail.com on 25 Mar 2012 at 7:26

GoogleCodeExporter commented 8 years ago
after few hours of persisten trying on Mac, I gave up and tried it in linux, 
there the only problem was the reference on the sketch "MusicShieldNewSDLib" in 
several files to Fat16 file ("Fat16Util.h") which should be replaced with 
Fat16util.h. 

"musicPlayAll" compiled fine following instructions, although I found 2 text 
files with gibberish name (perhaps originally in chineese?) in the sketch 
directory.

Original comment by enrique....@gmail.com on 27 Mar 2012 at 7:29