ESPAsyncWebServer.h: No such file or directory

wolfrose
Posts: 16
Joined: Mon Oct 26, 2020 2:58 pm

ESPAsyncWebServer.h: No such file or directory

Postby wolfrose » Mon Oct 26, 2020 3:59 pm

Hi,

I'm trying to compile an example in this website.

https://shawnhymel.com/1882/how-to-crea ... n-arduino/

But I get this error. I have downloaded both ESPAsyncWebServer.h and AsyncTCP.h and put them in ESP32 libraries folder but I get the same error ! What to do now ?

I read in this page:
https://github.com/me-no-dev/ESPAsyncWebServer

This:
For ESP8266 it requires ESPAsyncTCP To use this library you might need to have the latest git versions of ESP8266 Arduino Core

For ESP32 it requires AsyncTCP to work To use this library you might need to have the latest git versions of ESP32 Arduino Core
So I did what it tells and put:
ESPAsyncWebServer with ESPAsyncTCP in ESP8266 folder
AsyncTCP with ESPAsyncWebServer in ESP32 folder

But same error !

lbernstone
Posts: 828
Joined: Mon Jul 22, 2019 3:20 pm

Re: ESPAsyncWebServer.h: No such file or directory

Postby lbernstone » Mon Oct 26, 2020 5:23 pm

The Arduino library folder is <home>/Arduino/libraries. This is where libraries downloaded using the library manager end up.
Do not put anything in .arduino15/packages/esp32/**. This is the built-in board specific libraries and will be removed/updated with the board.

wolfrose
Posts: 16
Joined: Mon Oct 26, 2020 2:58 pm

Re: ESPAsyncWebServer.h: No such file or directory

Postby wolfrose » Wed Oct 28, 2020 4:19 pm

Yep, you're right. They must be in this path.

OK, now I've got another problem. I can't run the ESP32 to connect to my wifi as the same example with the esp8266. I've done the esp8266 webserver example without problems. The esp32 isn't responding.

Who is online

Users browsing this forum: Google [Bot] and 99 guests