Libary problem with esp32 web server

c:\Users\PC\Documents\Arduino\libraries\ESPAsyncWebServer\src\WebAuthentication.cpp: In function 'bool getMD5(uint8_t*, uint16_t, char*)': c:\Users\PC\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\PC\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\PC\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\PC\Documents\Arduino\libraries\ESPAsyncWebServer\src\AsyncEventSource.cpp: In member function 'void AsyncEventSourceClient::_queueMessage(AsyncEventSourceMessage*)': c:\Users\PC\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\PC\Documents\Arduino\libraries\ESPAsyncWebServer\src\AsyncWebSocket.cpp: In member function 'void AsyncWebSocketClient::_queueMessage(AsyncWebSocketMessage*)': c:\Users\PC\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 exit status 1 Compilation error: exit status 1 

is an error i am getting when trying to compile.
i am not sure how to handle debugging in the library it self.

i used that guide ESP32 - Controls Car via Web | ESP32 Tutorial

how to deal with it?

install esp32 platform version 2.
ESPAsyncWebServer library is not updated for version 3

1 Like

do you mean the ide?

no. the boards platform in Boards Manager

got it
there is esp32 by espeersif
and ardunio esp32 boards by aurdino

which one i pick ?
and version 2 of that?

2 Likes

got it
will try

I tried and it work , i hope that ESPAsyncWebServer library will be soon update for platform ESP32 version 3

Thanks Juraj.

yeah i forget to update
was taken by another piece of code
it works
thanks

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.