Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RESOLVED] can't build with ESP Async WebServer #20

Closed
flodus opened this issue Dec 29, 2021 · 1 comment
Closed

[RESOLVED] can't build with ESP Async WebServer #20

flodus opened this issue Dec 29, 2021 · 1 comment

Comments

@flodus
Copy link

flodus commented Dec 29, 2021

Hello,

Thanks for your work !
When I try to build bin file with the default configuration I've got an error with the ESP Async WebServer library :

`
In file included from /data/opentherm/.piolibdeps/opentherm/ESP Async WebServer/src/AsyncEventSource.h:29:0,
from /data/opentherm/.piolibdeps/opentherm/ESP Async WebServer/src/AsyncEventSource.cpp:21:
/data/opentherm/.piolibdeps/opentherm/ESP Async WebServer/src/ESPAsyncWebServer.h:35:25: fatal error: ESP8266WiFi.h: No such file or directory



#include <ESP8266WiFi.h>
`

But if, in opentherm.yaml, I change "ESP Async WebServer" by "esphome/ESPAsyncWebServer-esphome @ 2.1.0" it seems to work for building bin file.
I don't know if you are aware of this error, or if it is only me who is confronted with this error.

Thanks again for your work !
Version of homeassistant : Home Assistant 2021.12.6
Version of esphome : v2021.12.1

@flodus flodus changed the title can't build with ESP Async WebServer [RESOLVED] can't build with ESP Async WebServer Jan 4, 2022
@flodus flodus closed this as completed Jan 4, 2022
@HelpITru
Copy link

HelpITru commented Jan 5, 2022

Hello,

Thanks for your work ! When I try to build bin file with the default configuration I've got an error with the ESP Async WebServer library :

` In file included from /data/opentherm/.piolibdeps/opentherm/ESP Async WebServer/src/AsyncEventSource.h:29:0, from /data/opentherm/.piolibdeps/opentherm/ESP Async WebServer/src/AsyncEventSource.cpp:21: /data/opentherm/.piolibdeps/opentherm/ESP Async WebServer/src/ESPAsyncWebServer.h:35:25: fatal error: ESP8266WiFi.h: No such file or directory

* Looking for ESP8266WiFi.h dependency? Check our library registry!

* CLI  > platformio lib search "header:ESP8266WiFi.h"

* Web  > https://platformio.org/lib/search?query=header:ESP8266WiFi.h

#include <ESP8266WiFi.h> `

But if, in opentherm.yaml, I change "ESP Async WebServer" by "esphome/ESPAsyncWebServer-esphome @ 2.1.0" it seems to work for building bin file. I don't know if you are aware of this error, or if it is only me who is confronted with this error.

Thanks again for your work ! Version of homeassistant : Home Assistant 2021.12.6 Version of esphome : v2021.12.1

Thanks ! It work for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants