i have downloaded the code for
Arduino Sketch for #1 ESP32 Server and it gave this error
c:\Users\davan\Documents\Arduino\libraries\ESPAsyncWebServer\src\WebAuthentication.cpp: In function ‘bool getMD5(uint8_t*, uint16_t, char*)’:
c:\Users\davan\Documents\Arduino\libraries\ESPAsyncWebServer\src\WebAuthentication.cpp:74:3: error: ‘mbedtls_md5_starts_ret’ was not declared in this scope; did you mean ‘mbedtls_md5_starts’?
74 | mbedtls_md5_starts_ret(&_ctx);
| ^~~~~~~~~~~~~~~~~~~~~~
| mbedtls_md5_starts
c:\Users\davan\Documents\Arduino\libraries\ESPAsyncWebServer\src\WebAuthentication.cpp:75:3: error: ‘mbedtls_md5_update_ret’ was not declared in this scope; did you mean ‘mbedtls_md5_update’?
75 | mbedtls_md5_update_ret(&_ctx, data, len);
| ^~~~~~~~~~~~~~~~~~~~~~
| mbedtls_md5_update
c:\Users\davan\Documents\Arduino\libraries\ESPAsyncWebServer\src\WebAuthentication.cpp:76:3: error: ‘mbedtls_md5_finish_ret’ was not declared in this scope; did you mean ‘mbedtls_md5_finish’?
76 | mbedtls_md5_finish_ret(&_ctx, _buf);
| ^~~~~~~~~~~~~~~~~~~~~~
| mbedtls_md5_finish
c:\Users\davan\Documents\Arduino\libraries\ESPAsyncWebServer\src\AsyncEventSource.cpp: In member function ‘void AsyncEventSourceClient::_queueMessage(AsyncEventSourceMessage*)’:
c:\Users\davan\Documents\Arduino\libraries\ESPAsyncWebServer\src\AsyncEventSource.cpp:189:7: error: ‘ets_printf’ was not declared in this scope; did you mean ‘vswprintf’?
189 | ets_printf(“ERROR: Too many messages queued\n”);
| ^~~~~~~~~~
| vswprintf
c:\Users\davan\Documents\Arduino\libraries\ESPAsyncWebServer\src\AsyncWebSocket.cpp: In member function ‘void AsyncWebSocketClient::_queueMessage(AsyncWebSocketMessage*)’:
c:\Users\davan\Documents\Arduino\libraries\ESPAsyncWebServer\src\AsyncWebSocket.cpp:549:7: error: ‘ets_printf’ was not declared in this scope; did you mean ‘vswprintf’?
549 | ets_printf(“ERROR: Too many messages queued\n”);
| ^~~~~~~~~~
| vswprintf
Multiple libraries were found for “ESPAsyncWebServer.h”
Used: C:\Users\davan\Documents\Arduino\libraries\ESPAsyncWebServer
Not used: C:\Users\davan\Documents\Arduino\libraries\ESP_Async_WebServer
Multiple libraries were found for “AsyncTCP.h”
Used: C:\Users\davan\Documents\Arduino\libraries\AsyncTCP
Not used: C:\Users\davan\Documents\Arduino\libraries\Async_TCP
exit status 1
Compilation error: exit status 1
Hi.
Please install the libraries as mentioned in the tutorial.
Make sure you have the Arduino IDE and the ESP32 boards installations updated to the latest version.
Regards,
Sara
hi Sara
thanks for your reply
i am using
arduino IDE 2.3.2 , ESPAsyncWebServer by lacamera and ESPAsyncTCP by dvarrel
the library me-no-dev/ESPAsyncWebServer suggested in your tutorial is not available on the arduino IDE
i Have shut the compuer down and restarted still with the same error. .is the nnew library not compatable ?
..regards David
Install the ESPAsyncWebSer library as mentioned in the tutorial via download the zip file.
but first, uninstall any libraries you may have installed with the same name.
The libraries available on the Library Manager are not the same as the one on the link.
Regards.