esphome / ESPAsyncWebServer

Async Web Server for ESP8266 and ESP32
81 stars 62 forks source link

Compile error #37

Open Tsetseflysteve opened 3 months ago

Tsetseflysteve commented 3 months ago

C:\Users\steph\OneDrive\Arduino\libraries\ESPAsyncWebServer\src\WebAuthentication.cpp: In function 'bool getMD5(uint8_t, uint16_t, char)': C:\Users\steph\OneDrive\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\steph\OneDrive\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\steph\OneDrive\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\steph\OneDrive\Arduino\libraries\ESPAsyncWebServer\src\AsyncEventSource.cpp: In member function 'void AsyncEventSourceClient::_queueMessage(AsyncEventSourceMessage)': C:\Users\steph\OneDrive\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\steph\OneDrive\Arduino\libraries\ESPAsyncWebServer\src\AsyncWebSocket.cpp: In member function 'void AsyncWebSocketClient::_queueMessage(AsyncWebSocketMessage)': C:\Users\steph\OneDrive\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

Tsetseflysteve commented 3 months ago

Is there a work around for these new issues?