I’m running Ubuntu 11.04 (Natty), and I installed the Arduino IDE from Synaptic Package Manager, but it installed the alpha version.
I used it just fine with the libraries from the Seeedstudio WIKI page: http://www.seeedstudio.com/wiki/images/8/8c/SeeeduinoStalkerV2.1_Software.zip
and the library RTClib from Jeelabs: http://jeelabs.org/pub/snapshots/RTClib.zip
Then I went to upgrade. I uninstalled the Arduino IDE with synaptic then downloaded the new version 1.0 and placed it in the same location as before: /usr/share along with the Stalker and Jeelabs library but the examples won’t complie.
I changed the perissions with:
sudo chmod 777 DS3231
sudo chmod 777 RTClib
also tried:
sudo chmod ugo+rwx DS3231
sudo chmod ugo+rwx RTClib
I get these errors.
/usr/share/arduino-1.0/libraries/DS3231/DS3231.cpp:13:22: error: WProgram.h: No such file or directory
/usr/share/arduino-1.0/libraries/DS3231/DS3231.cpp: In member function ‘uint8_t DS3231::readRegister(uint8_t)’:
/usr/share/arduino-1.0/libraries/DS3231/DS3231.cpp:123: error: ‘class TwoWire’ has no member named ‘send’
/usr/share/arduino-1.0/libraries/DS3231/DS3231.cpp:127: error: ‘class TwoWire’ has no member named ‘receive’
/usr/share/arduino-1.0/libraries/DS3231/DS3231.cpp: In member function ‘void DS3231::writeRegister(uint8_t, uint8_t)’:
/usr/share/arduino-1.0/libraries/DS3231/DS3231.cpp:133: error: ‘class TwoWire’ has no member named ‘send’
/usr/share/arduino-1.0/libraries/DS3231/DS3231.cpp:134: error: ‘class TwoWire’ has no member named ‘send’
/usr/share/arduino-1.0/libraries/DS3231/DS3231.cpp: In member function ‘uint8_t DS3231::begin()’:
/usr/share/arduino-1.0/libraries/DS3231/DS3231.cpp:143: error: ‘delay’ was not declared in this scope
/usr/share/arduino-1.0/libraries/DS3231/DS3231.cpp: In member function ‘void DS3231::adjust(const DateTime&)’:
/usr/share/arduino-1.0/libraries/DS3231/DS3231.cpp:160: error: ‘class TwoWire’ has no member named ‘send’
/usr/share/arduino-1.0/libraries/DS3231/DS3231.cpp:162: error: ‘class TwoWire’ has no member named ‘send’
/usr/share/arduino-1.0/libraries/DS3231/DS3231.cpp:163: error: ‘class TwoWire’ has no member named ‘send’
/usr/share/arduino-1.0/libraries/DS3231/DS3231.cpp:164: error: ‘class TwoWire’ has no member named ‘send’
/usr/share/arduino-1.0/libraries/DS3231/DS3231.cpp:165: error: ‘class TwoWire’ has no member named ‘send’
/usr/share/arduino-1.0/libraries/DS3231/DS3231.cpp:166: error: ‘class TwoWire’ has no member named ‘send’
/usr/share/arduino-1.0/libraries/DS3231/DS3231.cpp:167: error: ‘class TwoWire’ has no member named ‘send’
/usr/share/arduino-1.0/libraries/DS3231/DS3231.cpp:168: error: ‘class TwoWire’ has no member named ‘send’
/usr/share/arduino-1.0/libraries/DS3231/DS3231.cpp: In static member function ‘static DateTime DS3231::now()’:
/usr/share/arduino-1.0/libraries/DS3231/DS3231.cpp:176: error: ‘class TwoWire’ has no member named ‘send’
/usr/share/arduino-1.0/libraries/DS3231/DS3231.cpp:180: error: ‘class TwoWire’ has no member named ‘receive’
/usr/share/arduino-1.0/libraries/DS3231/DS3231.cpp:181: error: ‘class TwoWire’ has no member named ‘receive’
/usr/share/arduino-1.0/libraries/DS3231/DS3231.cpp:183: error: ‘class TwoWire’ has no member named ‘receive’
/usr/share/arduino-1.0/libraries/DS3231/DS3231.cpp:186: error: ‘class TwoWire’ has no member named ‘receive’
/usr/share/arduino-1.0/libraries/DS3231/DS3231.cpp:187: error: ‘class TwoWire’ has no member named ‘receive’
/usr/share/arduino-1.0/libraries/DS3231/DS3231.cpp:188: error: ‘class TwoWire’ has no member named ‘receive’
/usr/share/arduino-1.0/libraries/DS3231/DS3231.cpp:189: error: ‘class TwoWire’ has no member named ‘receive’