Having trouble getting the program work. The AsyncTCP.h file is not recognized by the compiler wherever I put it(Arduino libraries/Sketchbook libraries…) Then I also get these messages from compiler:
/Applications/arduino-1.8.5/Sketch/libraries/AsyncTCP/AsyncTCP.cpp:259:32: error: field 'call' has incomplete type 'tcpip_api_call_data' struct tcpip_api_call_data call;
About 20 different errors. Is the file wrong version or corrupted or…? Loaded it through the link on the project page.
Any ideas+ Thank You,
Hello Janne, 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.1
- Sketch > Include Library > Manage libraries: AsyncTCP library version 1.0.3
Using the latest libraries will fix that error. More information here: https://github.com/espressif/arduino-esp32/issues/1887
Thanks for your patience!