Go Down

Topic: NEVERMIND - Adafruit Wave Shield Questions (Read 1 time) previous topic - next topic

Soapy29

Feb 14, 2012, 02:51 am Last Edit: Feb 14, 2012, 03:30 am by Soapy29 Reason: 1
I just built my Wave Shield and downloaded the library, and for some reason, the library doesn't work. I load up the PiSpeakHC sketch, and the output it gives me is this:

Code: [Select]
'SdReader' does not name a type

I don't know what that means. I have a FAT16 512 MB SD card with the number audio files on it.
Info on what I am using:
-Arduino Uno Rev3
-Adafruit Wave Shielf v1.1
-512 MB FAT 16 SD Card
-IDE Version 1.0

If you could help me, that would be great, since I haven't even run a sketch on this board.

Soapy29

Here is the output in more detail. I think I am going to try and move some of the files.

Code: [Select]
PiSpeakHC.cpp:5:20: error: WaveHC.h: No such file or directory
PiSpeakHC.cpp:6:22: error: WaveUtil.h: No such file or directory
PiSpeakHC.pde:-1: error: 'SdReader' does not name a type
PiSpeakHC.pde:-1: error: 'FatVolume' does not name a type
PiSpeakHC.pde:-1: error: 'FatReader' does not name a type
PiSpeakHC.pde:-1: error: 'FatReader' does not name a type
PiSpeakHC.pde:-1: error: 'WaveHC' does not name a type
PiSpeakHC.cpp: In function 'void setup()':
PiSpeakHC.pde:-1: error: 'PgmPrintln' was not declared in this scope
PiSpeakHC.pde:-1: error: 'card' was not declared in this scope
PiSpeakHC.pde:-1: error: 'vol' was not declared in this scope
PiSpeakHC.pde:-1: error: 'card' was not declared in this scope
PiSpeakHC.pde:-1: error: 'root' was not declared in this scope
PiSpeakHC.pde:-1: error: 'vol' was not declared in this scope
PiSpeakHC.pde:-1: error: 'root' was not declared in this scope
PiSpeakHC.cpp: In function 'void error_P(const char*)':
PiSpeakHC.pde:-1: error: 'PgmPrint' was not declared in this scope
PiSpeakHC.pde:-1: error: 'SerialPrint_P' was not declared in this scope
PiSpeakHC.cpp: In function 'void sdErrorCheck()':
PiSpeakHC.pde:-1: error: 'card' was not declared in this scope
PiSpeakHC.pde:-1: error: 'PgmPrint' was not declared in this scope
PiSpeakHC.pde:-1: error: 'card' was not declared in this scope
PiSpeakHC.cpp: In function 'void playcomplete(char*)':
PiSpeakHC.pde:-1: error: 'wave' was not declared in this scope
PiSpeakHC.cpp: In function 'void playfile(char*)':
PiSpeakHC.pde:-1: error: 'wave' was not declared in this scope
PiSpeakHC.pde:-1: error: 'file' was not declared in this scope
PiSpeakHC.pde:-1: error: 'root' was not declared in this scope
PiSpeakHC.pde:-1: error: 'PgmPrint' was not declared in this scope
PiSpeakHC.pde:-1: error: 'wave' was not declared in this scope
PiSpeakHC.pde:-1: error: 'file' was not declared in this scope
PiSpeakHC.pde:-1: error: 'PgmPrintln' was not declared in this scope
PiSpeakHC.pde:-1: error: 'wave' was not declared in this scope

Soapy29

Ah ha!! It works and sounds awesome!!

carriegooch

Hi Soapy

How did you do it in the end?  I have exactly the same problem.  I did get my wave shield working eventually with the 0022 IDE but with the 1.0 I just get the same errors as you.

kr
Carrie

Go Up