• 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

VSCode / Libraries will not load

Q&A Forum › Category: ESP8266 › VSCode / Libraries will not load
0 Vote Up Vote Down
froehlich asked 4 years ago
4 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

Hi.
Can you please provide more details?
Regards,
Sara

0 Vote Up Vote Down
froehlich answered 4 years ago

I actually put some details in the question associated with ESP32 WebSerial:Web serial monitor. It was too late to bail out here, hence no details. Here is the section of article I  followed:
You also need to install the ESPAsyncWebServer and the AsyncTCP libraries. Click the following links to download the libraries’ files.

  • ESPAsyncWebServer
  • AsyncTCP

*** -> If you’re using VS Code with the PlatformIO extension, copy the following to the platformio.ini file to include the libraries.

lib_deps = ESP Async WebServer
  ayushsharma82/WebSerial @ ^1.1.0

After, when building the code I got message it could not find the following libraries.

#include <WiFi.h>
#include <AsyncTCP.h>
#include <ESPAsyncWebServer.h>
#include <WebSerial.h>

The error is:
{
"resource": "/c:/Users/froeh/Documents/PlatformIO/Projects/Blink_LED/src/main.cpp",
"owner": "C/C++",
"code": "1696",
"severity": 8,
"message": "#include errors detected. Please update your includePath. Squiggles are disabled for this translation unit (C:\\Users\\froeh\\Documents\\PlatformIO\\Projects\\Blink_LED\\src\\main.cpp).",
"source": "C/C++",
"startLineNumber": 9,
"startColumn": 1,
"endLineNumber": 9,
"endColumn": 18
}


0 Vote Up Vote Down
froehlich answered 4 years ago

Confused as to as how to update paths. I don.t recallpaths when I used your article on using VS and I followed and executed the example given. The the article on WEB serial and I got this far.
I have purchased 3 of your courses and found them to be excellent. I may have used this form only once in past because frankly there was no need to. Keep up the good work!
 

0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

Hi again.
Do you get the error after compiling or do you get a red underline?
I also got a red underline with the same message, but the code compiles fine.
Did you try uploading the code?
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.