I still have 1.0, but back in Nov, the demo sketch for the Logger shield worked great. Now:
In file included from /Users/Fred/Documents/Arduino/libraries/SD/SD.h:20,
from lighttemplogger.cpp:1:
/Users/Fred/Documents/Arduino/libraries/SD/utility/SdFat.h:286: error: conflicting return type specified for 'virtual void SdFile::write(uint8_t)'
/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino/Print.h:48: error: overriding 'virtual size_t Print::write(uint8_t)'
In file included from lighttemplogger.cpp:1:
/Users/Fred/Documents/Arduino/libraries/SD/SD.h:35: error: conflicting return type specified for 'virtual void File::write(uint8_t)'
/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino/Print.h:48: error: overriding 'virtual size_t Print::write(uint8_t)'
/Users/Fred/Documents/Arduino/libraries/SD/SD.h:37: error: conflicting return type specified for 'virtual void File::write(const uint8_t*, size_t)'
/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino/Print.h:50: error: overriding 'virtual size_t Print::write(const uint8_t*, size_t)'
I had to change wprogram.h to Arduino.h to get the error list down this low. Anybody figured this out yet? And anyone told the IDE team to stop making changes that BREAK EVERYTHING you already had working.
SD Library broken after IDE update
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_bill
- Posts: 88087
- Joined: Sat Feb 07, 2009 10:11 am
Re: SD Library broken after IDE update
The SD library was updated in early December for 1.0 compatibility. You can download a fresh copy here: https://github.com/adafruit/SD
Please be positive and constructive with your questions and comments.