• 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

1_1_Hello_World_WS doesn't recognise some includes

Q&A Forum › Category: ESP8266 › 1_1_Hello_World_WS doesn't recognise some includes
0 Vote Up Vote Down
Luix Gaztañaga asked 3 years ago

Hi,
I followed the instructions, but when I try to run the program, the underlined lines are not recognized and the program fails.

#include <Arduino.h>
#include <ESP8266WiFi.h>
#include <ESPAsyncTCP.h>
#include <ESPAsyncWebServer.h>

 
My platformio.ini is
 

[env:esp12e]
platform = espressif8266
board = esp12e
framework = arduino

monitor_speed = 115200
lib_deps = ESP Async WebServer

Should I install these packages in some way, since I find a bit odd that with only_deps line the packages are installed?

Question Tags: Hello_World
3 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi.
Try to install the libraries manually.
 Delete the libraries you already have from the plaformio.ini file.
 
Then, in VS Code click on the Libraries tab (in PIO Home), search for the libraries you want to include, and then add them to your project.
 
Try to compile the code again and check if the issue is solved.
 
Regards,
Sara

0 Vote Up Vote Down
Luix Gaztañaga answered 3 years ago

Hi Sara,
Installing manually OK. Thanks for your reply.
Regards
Luix

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

Great!
I’ll mark this issue as resolved. If you need further help, you just need to open a new question in our forum.
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.