Hi Guys, I am working through the WEBSERVERS Course. In particular 2_3_Outputs_Websockets.
I can not compile the code in Platform IO
I get:
pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/AsyncWebSocket.h:34:10: fatal error: AsyncWebSynchronization.h: No such file or directory
Can you assist please
Hi.
Weird… I never got that error before. I’m not sure exactly what it is about…
How does your platformio.ini file looks like?
Do you have all the required files to run the project?
Regards,
Sara
Hi Sara,
Thanks for your reply. I have discovered that there are several ESP Async WebServer libraries. When I include ESP Async WebServer in platform IO it chooses which library to include. I need to check further to make sure it selects the correct library for your code.
Thanks for your help. I will let you know what I find out.
Regards
Mark
Hi.
You need to include the libraries exactly as we show in the tutorials.
Regards,
Sara
Hi Sara
Could you please give me the full details of the library I must use? If the just put ESP Async WebServer Platform IO will select which one to use. I need the extension info please.
Regards Mark
Hi.
Another alternative is to include it like this in your platformio.ini file
lib_deps = https://github.com/me-no-dev/ESPAsyncWebServer.git
This is link to the Github library page: https://github.com/me-no-dev/ESPAsyncWebServer
I hope this helps.
Regards,
Sara