Show Posts
Pages: [1]
1  Using Arduino / Storage / Re: Official SdFat example with compile errors ? on: December 21, 2012, 07:33:02 am
Thanks for your patience.
I didn't remenber that the lower half of examples listed in the IDE menue does not come from the "examples" subdirectory but from within the libraries themselves. I followed your advice, installed the new library and ... everything is just fine.
Thanks again.
HP
2  Using Arduino / Storage / Official SdFat example with compile errors ? on: December 20, 2012, 12:12:22 pm
Hi there,
today I tried to migrate from arduino-0023 to arduino-1.0.3, wondering about some compile errors that did (and do) not occur before. Surprise: Even the official example accompanying arduino-1.0.3 yields the following compile errors:

-------
In file included from SdFatLs.pde:7:
C:\Dokumente und Einstellungen\Joe Turner\Desktop\arduino-1.0.3\libraries\SdFat/SdFat.h:286: error: conflicting return type specified for 'virtual void SdFile::write(uint8_t)'
C:\Dokumente und Einstellungen\Joe Turner\Desktop\arduino-1.0.3\hardware\arduino\cores\arduino/Print.h:48: error:   overriding 'virtual size_t Print::write(uint8_t)'
In file included from SdFatLs.pde:8:
C:\Dokumente und Einstellungen\Joe Turner\Desktop\arduino-1.0.3\libraries\SdFat/SdFatUtil.h: In function 'void SerialPrint_P(const prog_char*)':
C:\Dokumente und Einstellungen\Joe Turner\Desktop\arduino-1.0.3\libraries\SdFat/SdFatUtil.h:58: error: 'Serial' was not declared in this scope
C:\Dokumente und Einstellungen\Joe Turner\Desktop\arduino-1.0.3\libraries\SdFat/SdFatUtil.h: In function 'void SerialPrintln_P(const prog_char*)':
C:\Dokumente und Einstellungen\Joe Turner\Desktop\arduino-1.0.3\libraries\SdFat/SdFatUtil.h:68: error: 'Serial' was not declared in this scope

-------

What can I do?

Thanks,
HP

Pages: [1]