macascos
Forum Replies Created
-
AuthorPosts
-
macascosParticipant
Got it, I had to chose ATMEga328. Thanks!
macascosParticipantIt seems I had to have each library in its own folder within libraries, not within the ArduinoEthernet. Thanks!
However….
macascosParticipantI was following this,
Libraries go into the main Arduino document folder. Here’s some instructions from the Arduino site “To install third-party libraries, create a directory called libraries within your sketchbook directory. Then unzip the library there. For example, to install the Twitter library, its files should be in the/libraries/Twitter sub-folder of your sketchbook folder.”
and I have also tried putting the libraries where you told me.
I have libraries now in both places, but still cannot compile the code.
When I do import library Ethernet, I see no new line at the top like the other libraries. Do you think this might be the issue?
macascosParticipantThis seems right no?
macascosParticipantWould this be the path?
Documents/Arduino/BotanicallsTwitter2/libraries/ArduinoEthernet/EthernetDNS/EthernetDNS.h
macascosParticipantI already switched to Arduino 0018, still get same errors.
macascosParticipantI believe I installed all the libraries. They are all in a folder called libraries inside the Botanicalls folder. I imported them using Sketch/add library
I also added the DHCP files that end .h and cpp.
I erased my Arduino and installed it again.
I get all these errors
In file included from BotanicallsTwitter2.cpp:1:
/Users/marco/Documents/Arduino/libraries/Twitter/Twitter.h:18:17: error: SPI.h: No such file or directory
/Users/marco/Documents/Arduino/libraries/Twitter/Twitter.h:21:25: error: EthernetDNS.h: No such file or directory
BotanicallsTwitter2.cpp:33:138: error: EthernetDHCP.h: No such file or directory
In file included from BotanicallsTwitter2.cpp:1:
/Users/marco/Documents/Arduino/libraries/Twitter/Twitter.h:29: error: cannot declare field ‘Twitter::client’ to be of abstract type ‘Client’
/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino/Client.h:7: note: because the following virtual functions are pure within ‘Client’:
/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino/Client.h:12: note: virtual size_t Client::write(uint8_t)
/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino/Client.h:13: note: virtual size_t Client::write(const uint8_t*, size_t)
/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino/Client.h:14: note: virtual int Client::available()
/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino/Client.h:15: note: virtual int Client::read()
/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino/Client.h:17: note: virtual int Client::peek()
/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino/Client.h:18: note: virtual void Client::flush()
/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino/Client.h:10: note: virtual int Client::connect(IPAddress, uint16_t)
/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino/Client.h:11: note: virtual int Client::connect(const char*, uint16_t)
/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino/Client.h:16: note: virtual int Client::read(uint8_t*, size_t)
/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino/Client.h:19: note: virtual void Client::stop()
/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino/Client.h:20: note: virtual uint8_t Client::connected()
/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino/Client.h:21: note: virtual Client::operator bool()
BotanicallsTwitter2.cpp: In function ‘void setup()’:
BotanicallsTwitter2.pde:-1: error: ‘EthernetDHCP’ was not declared in this scope
BotanicallsTwitter2.cpp: In function ‘void loop()’:
BotanicallsTwitter2.pde:-1: error: ‘EthernetDHCP’ was not declared in this scope
-
AuthorPosts
New kits are here!
Categories
- Announcements (8)
- Press (5)
Pothos Plant Tweets
Flickr Feed
www.flickr.com
|
Meta
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License.