Page 1 of 1

ESPAsyncWebServer.h: No such file or directory

Posted: Mon Oct 26, 2020 3:59 pm
by wolfrose
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 !

Re: ESPAsyncWebServer.h: No such file or directory

Posted: Mon Oct 26, 2020 5:23 pm
by lbernstone
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.

Re: ESPAsyncWebServer.h: No such file or directory

Posted: Wed Oct 28, 2020 4:19 pm
by wolfrose
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.