Re: EthernetDHCP not declared in this scope

Home Forums Botanicalls Community EthernetDHCP not declared in this scope Re: EthernetDHCP not declared in this scope

#1816
macascos
Participant

I 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



New kits are here!

Categories

Pothos Plant Tweets

    Flickr Feed

    www.flickr.com
    More photos or video tagged with botanicalls on Flickr

    Meta