G6EJD / ESP32-e-Paper-Weather-Display

An ESP32 and 2.9", 4.2" or 7.5" ePaper Display reads Weather Underground data via their API and then displays the weather
Other
978 stars 207 forks source link

HttpClient not found #158

Closed w4mhi closed 3 years ago

w4mhi commented 3 years ago

Hi, I try to compile your sample for e-Paper 7.5 and I got this error: In file included from C:\Users\\AppData\Local\Temp\arduino_modified_sketch_518961\Waveshare_7_5.ino:93:

C:\Users\\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP32-e-Paper-Weather-Display\src/common.h:6:10: fatal error: HTTPClient.h: No such file or directory

6 | #include <HTTPClient.h>

  |          ^~~~~~~~~~~~~~

compilation terminated. The file is present here: C:\Users\\OneDrive\Documents\Arduino\libraries\HttpClient

Any advice on this? Thank you!

G6EJD commented 3 years ago

Httpclient is a default library for the ESP32 compiler, so do you have it installed, go to boards, manager and search for esp32 you should have 1.0.6 installed

w4mhi commented 3 years ago

My bad. I have ESP8266 and I didn't pay attention this is an ESP32 project. Thank you!