xTaskCreateUniversal’ was not declared in this scope?
Windows 10), Board: “ESP32 Dev Module, Disabled, Default, 240MHz (WiFi/BT), QIO, 80MHz, 4MB (32Mb), 921600, None”
C:\Users\Gregg\Documents\Arduino\libraries\AsyncTCP-master\src\AsyncTCP.cpp: In function ‘bool _start_async_task()’:
C:\Users\Gregg\Documents\Arduino\libraries\AsyncTCP-master\src\AsyncTCP.cpp:221:141: error: ‘xTaskCreateUniversal’ was not declared in this scope
xTaskCreateUniversal(_async_service_task, “async_tcp”, 8192 * 2, NULL, 3, &_async_service_task_handle, CONFIG_ASYNC_TCP_RUNNING_CORE);
^
Multiple libraries were found for “Adafruit_ILI9341.h”
Used: C:\Users\Gregg\Documents\Arduino\libraries\Adafruit_ILI9341
Multiple libraries were found for “ESPAsyncWebServer.h”
Used: C:\Users\Gregg\Documents\Arduino\libraries\ESPAsyncWebServer-master
Multiple libraries were found for “NTPClient.h”
Used: C:\Users\Gregg\Documents\Arduino\libraries\NTPClient
Multiple libraries were found for “WiFi.h”
Used: C:\Users\Gregg\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.1\libraries\WiFi
Not used: C:\Program
Multiple libraries were found for “Wire.h”
Used: C:\Users\Gregg\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.1\libraries\Wire
Multiple libraries were found for “Adafruit_BME280.h”
Used: C:\Users\Gregg\Documents\Arduino\libraries\Adafruit_BME280_Library
Multiple libraries were found for “DHT.h”
Used: C:\Users\Gregg\Documents\Arduino\libraries\DHT_sensor_library
Multiple libraries were found for “Adafruit_GFX.h”
Used: C:\Users\Gregg\Documents\Arduino\libraries\Adafruit_GFX_Library
Multiple libraries were found for “FS.h”
Used: C:\Users\Gregg\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.1\libraries\FS
Multiple libraries were found for “AsyncTCP.h”
Used: C:\Users\Gregg\Documents\Arduino\libraries\AsyncTCP-master
Multiple libraries were found for “Adafruit_Sensor.h”
Used: C:\Users\Gregg\Documents\Arduino\libraries\Adafruit_Unified_Sensor
Multiple libraries were found for “SPI.h”
Used: C:\Users\Gregg\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.1\libraries\SPI
exit status 1
Error compiling for board ESP32 Dev Module.
This report would have more information with
“Show verbose output during compilation”
option enabled in File -> Preferences.
will try this found this after my post…
https://rntlab.com/question/compile-error-when-trying-to-use-the-asynctcp-library/