Hoping for some help here with the Arduino IDE recognizing my files. I get this:
daphc.cpp:4:20: error: WaveHC.h: No such file or directory
daphc.cpp:5:22: error: WaveUtil.h: No such file or directory
daphc:5: error: variable or field 'play' declared void
daphc:5: error: 'FatReader' was not declared in this scope
daphc:5: error: 'dir' was not declared in this scope
daphc:6: error: 'SdReader' does not name a type
daphc:7: error: 'FatVolume' does not name a type
daphc:8: error: 'FatReader' does not name a type
daphc:9: error: 'WaveHC' does not name a type
daphc:12: error: 'dir_t' does not name a type
daphc:21: error: variable or field 'play' declared void
daphc:21: error: 'FatReader' was not declared in this scope
daphc:21: error: 'dir' was not declared in this scope
daphc.cpp: In function 'void setup()':
daphc:27: error: 'putstring_nl' was not declared in this scope
daphc:29: error: 'putstring' was not declared in this scope
daphc:30: error: 'FreeRam' was not declared in this scope
daphc:33: error: 'card' was not declared in this scope
daphc:34: error: 'PSTR' was not declared in this scope
daphc:38: error: 'card' was not declared in this scope
daphc:43: error: 'vol' was not declared in this scope
daphc:47: error: 'PSTR' was not declared in this scope
daphc:54: error: 'vol' was not declared in this scope
daphc:57: error: 'root' was not declared in this scope
daphc:58: error: 'PSTR' was not declared in this scope
daphc:65: error: 'root' was not declared in this scope
daphc:65: error: 'LS_R' was not declared in this scope
daphc:65: error: 'LS_FLAG_FRAGMENTED' was not declared in this scope
daphc.cpp: In function 'void loop()':
daphc:70: error: 'root' was not declared in this scope
daphc:71: error: 'play' was not declared in this scope
daphc.cpp: In function 'void error_P(const char*)':
daphc:79: error: 'PgmPrint' was not declared in this scope
daphc:80: error: 'SerialPrint_P' was not declared in this scope
daphc.cpp: In function 'void sdErrorCheck()':
daphc:88: error: 'card' was not declared in this scope
daphc:89: error: 'PgmPrint' was not declared in this scope
daphc:90: error: 'card' was not declared in this scope
daphc.cpp: At global scope:
daphc:98: error: variable or field 'play' declared void
daphc:98: error: 'FatReader' was not declared in this scope
daphc:98: error: 'dir' was not declared in this scope
Despite having the Ard prefs set correctly to sublibrary, with the WaveHC uncompressed in there, have restarted the A.IDE many times, open up the daphc sketch and still get this message above. Should this sketch be able to run solo, without being connected to an arduino? Either way, I have verified communication with the Blink example and all's well. Still new but have pored over many tutes etc on here to get this going, no luck
- Screen Shot 2011-10-17 at 2.28.04 AM.png (100.43 KiB) Viewed 1936 times