• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

ERROR CODE

Q&A Forum › Category: ESP32 › ERROR CODE
0 Vote Up Vote Down
Mark Weir asked 1 year ago

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

5 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 1 year ago

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

0 Vote Up Vote Down
Mark Weir answered 1 year ago

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

0 Vote Up Vote Down
Sara Santos Staff answered 1 year ago

Hi.
You need to include the libraries exactly as we show in the tutorials.
Regards,
Sara

0 Vote Up Vote Down
Mark Weir answered 1 year ago

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

0 Vote Up Vote Down
Sara Santos Staff answered 1 year ago

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

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.