-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ESP32-C3 ESP_AsyncFSBrowser example compile error in Arduino 1.8.16 + esp32-arduino 2.0.1 #1101
Comments
[STALE_SET] This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. |
@me-no-dev A similar issue has been posted in the ESP32 core repo. There you mention a response on the library side. Do you have a plan to fix it ? |
[STALE_CLR] This issue has been removed from the stale queue. Please ensure activity to keep it openin the future. |
return IPAddress((uint32_t)0); has worked for me. I have been using this fix for my VSC PlatformIO + Arduino Framework projects using ESP32-C3. |
Same problem |
Ditto |
|
安装库依赖
|
编译烧写成功,运行出错,无限循环 |
using arduino-esp32 v2.0.6 and problem still exists for esp32-c3 and same fix applied and works. |
Same issue, with same solution: "return IPAddress((uint32_t)0);" |
[STALE_SET] This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. |
ping to keep this open |
[STALE_CLR] This issue has been removed from the stale queue. Please ensure activity to keep it openin the future. |
I mean, hello? It has been almost 2 years. |
@L1cardo well, I just looked at the top level of this repo and it's not been touched in 2 years so the developer isn't updating it. I was going to do a pull request which just patches that one line but it'll likely not get merged. Not sure of what the solution is at this point other than everyone patching themselves. |
Just had this issue on my new C3, does anyone know if the fix breaks support for the other boards? |
/home/hari/Arduino/libraries/ESPAsyncWebServer/src/AsyncWebSocket.cpp: In member function 'IPAddress AsyncWebSocketClient::remoteIP()':
/home/hari/Arduino/libraries/ESPAsyncWebServer/src/AsyncWebSocket.cpp:832:28: error: call of overloaded 'IPAddress(unsigned int)' is ambiguous
return IPAddress(0U);
^
In file included from /home/hari/.arduino15/packages/esp32/hardware/esp32/2.0.1/cores/esp32/Arduino.h:163,
from /home/hari/Arduino/libraries/ESPAsyncWebServer/src/AsyncWebSocket.cpp:21:
/home/hari/.arduino15/packages/esp32/hardware/esp32/2.0.1/cores/esp32/IPAddress.h:51:5: note: candidate: 'IPAddress::IPAddress(const uint8_t*)'
IPAddress(const uint8_t *address);
^~~~~~~~~
/home/hari/.arduino15/packages/esp32/hardware/esp32/2.0.1/cores/esp32/IPAddress.h:50:5: note: candidate: 'IPAddress::IPAddress(uint32_t)'
IPAddress(uint32_t address);
NOTE : FIXED BY replacing IPAddress(0U) with IPAddress((uint32_t)0)
The text was updated successfully, but these errors were encountered: