Skip to content

Platform IO build issue #501

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

Closed
fabiencomte opened this issue Jun 18, 2022 · 1 comment
Closed

Platform IO build issue #501

fabiencomte opened this issue Jun 18, 2022 · 1 comment

Comments

@fabiencomte
Copy link

Hello,
I get this problem.

In file included from .pio/libdeps/esp32-c3-devkitm-1/AutoConnect/src/AutoConnectAux.cpp:10:
.pio/libdeps/esp32-c3-devkitm-1/AutoConnect/src/AutoConnect.h:138:12: error: call of overloaded 'IPAddress(unsigned int)' is ambiguous
dns2(0U) {}
^
C:/Users/comte/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:50:5: note: candidate: 'IPAddress::IPAddress(uint32_t)'
IPAddress(uint32_t address);
^~~~~~~~~
C:/Users/comte/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:29:7: note: candidate: 'constexpr IPAddress::IPAddress(const IPAddress&)'
class IPAddress: public Printable
^~~~~~~~~
In file included from C:/Users/comte/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFi.h:28,
from .pio/libdeps/esp32-c3-devkitm-1/AutoConnect/src/AutoConnect.h:24,
from .pio/libdeps/esp32-c3-devkitm-1/AutoConnect/src/AutoConnectAux.cpp:10:
C:/Users/comte/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:51:5: note: candidate: 'IPAddress::IPAddress(const uint8_t*)'
IPAddress(const uint8_t address);
^~~~~~~~~
*** [.pio\build\esp32-c3-devkitm-1\lib52b\AutoConnect\AutoConnect.cpp.o] Error 1
C:/Users/comte/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:50:5: note: candidate: 'IPAddress::IPAddress(uint32_t)'
IPAddress(uint32_t address);
^~~~~~~~~
C:/Users/comte/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:29:7: note: candidate: 'constexpr IPAddress::IPAddress(const IPAddress&)'
class IPAddress: public Printable
^~~~~~~~~
In file included from .pio/libdeps/esp32-c3-devkitm-1/AutoConnect/src/AutoConnectAux.cpp:10:
.pio/libdeps/esp32-c3-devkitm-1/AutoConnect/src/AutoConnect.h:138:12: error: call of overloaded 'IPAddress(unsigned int)' is ambiguous
dns2(0U) {}
^
In file included from C:/Users/comte/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFi.h:28,
from .pio/libdeps/esp32-c3-devkitm-1/AutoConnect/src/AutoConnect.h:24,
from .pio/libdeps/esp32-c3-devkitm-1/AutoConnect/src/AutoConnectAux.cpp:10:
C:/Users/comte/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:51:5: note: candidate: 'IPAddress::IPAddress(const uint8_t
)'
IPAddress(const uint8_t *address);

@fabiencomte
Copy link
Author

fabiencomte commented Jun 18, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant