Board: Wemos LOLIN32
Sketch: Example "simple_server.ino"
Compilation errors I got:
c:\Users\Serge\Documents\Arduino\libraries\ESPAsyncWebServer\src\WebAuthentication.cpp: In function 'bool getMD5(uint8_t*, uint16_t, char*)':
c:\Users\Serge\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\Serge\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\Serge\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\Serge\Documents\Arduino\libraries\ESPAsyncWebServer\src\AsyncEventSource.cpp: In member function 'void AsyncEventSourceClient::_queueMessage(AsyncEventSourceMessage*)':
c:\Users\Serge\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\Serge\Documents\Arduino\libraries\ESPAsyncWebServer\src\AsyncWebSocket.cpp: In member function 'void AsyncWebSocketClient::_queueMessage(AsyncWebSocketMessage*)':
c:\Users\Serge\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
If someone of you can help to find where I'm wrong it will be great!
Hello sonfcy,
Your response seems to indicate misuse of the forum on my part.
I followed the link you provided me, I noticed three important things, the etiquette (I think I didn't fail...) the right category (Using Arduino
Programming Questions seems to be for me the right one, but...) and to provide as much information as possible to identify the problem while remaining concise (I seem to have done it...).
Sorry, I need you to shed some light on how to use the Arduino forum better.
Very cordially
Good evening gfvalvo,
As you suggested, I "downgraded" my environment to version 2.0.13 of the Arduino ESP32 package.
In fact, now, I no longer have any addressable ESP32 boards except "Arduino ESP32 Board (only one board... nanoblabla).
What 's happening?
Good morning sonofcy,
Tanks for your reply.
I checked in the preferences panel of my IDE, and the one is declared is the one your recommand me to use ...
I understand you want to be shure I'm using the good ESP32 package.
I tried to compile the "simple_server" example with differents version of the espressif esp32 package.
I failed with version 3.0.4 to 3.0.0, and get success with version 2.0.17. Imagine, a downgrade for 5 versions ...
Now I have to checked if I can compile my own sketch error free. I'm suspicious about ElegantOTA", I think I've to downgrade to the right version of AsyncElegantOTA.
I will let you now ...
For your information, I use both ESP8266 and ESP32 boards (of different kind). I can compile skteches running with ESP8266 without any issue, with the latest version of AsyncWebServer and ElegantOTA. ESP8266 package is the one of ESP8266 community version 3.1.2
If it could help ...
The latest version of ESPAsyncWebServer arduino library is 1.2.4 and with latest fix it works well also with ESP32 Arduino framework v3.x.x. No needs to downgrade.