• 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

Compile error when trying to use the AsyncTCP library

Q&A Forum › Category: ESP32 › Compile error when trying to use the AsyncTCP library
0 Vote Up Vote Down
ericson75 asked 6 years ago

hello good afternoon, could anyone help me ?

I have the following error when trying to use the AsyncTCP library in a project with esp32;

.piolibdeps \ AsyncTCP \ src \ AsyncTCP.cpp: 201: 141: error: 'xTaskCreateUniversal' was not declared in this scope.

NOTE: I am using platformio id

Thank you.

Question Tags: Asynchronous Temperature and Humidity Web Server with Auto Update
3 Answers
0 Vote Up Vote Down
Rui Santos Staff answered 6 years ago

Hello, It looks like you’re using an outdated library and that’s why is not compiling. Can you ensure that you update all the libraries and the ESP32 board add-on?

  • Tools > Board > Boards Manager: ESP32 board add-on: core version 1.0.2
  • Sketch > Include Library > Manage libraries: AsyncTCP library version 1.0.3

I can guarantee that using the latest libraries will fix that error. More information here: https://github.com/espressif/arduino-esp32/issues/1887
Let me know your results.

0 Vote Up Vote Down
ericson75 answered 6 years ago

gracias
Hice lo que me dijo y funcionó muy bien.
gracias de nuevo

0 Vote Up Vote Down
Rui Santos Staff answered 6 years ago

I’m glad what I said solved your problem! I’ll mark this thread as “resolved”. Regards,
Rui

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

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition 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.