I realize it has todo something with the "ESPAsycTCP" Library? The one that is included via PIO Home is called "AsycTCP" Following is the terminal output of the failing upload
Processing esp32 (platform: espressif32; board: esp32doit-devkit-v1; framework: arduino)
Library Manager: Installing me-no-dev/ESPAsyncWebServer @ 1.2.3
Unpacking [####################################] 100%
Library Manager: ESP Async WebServer@1.2.3 has been installed!
Library Manager: Resolving dependencies...
Verbose mode can be enabled via -v, --verbose option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32doit-devkit-v1.html
PLATFORM: Espressif 32 (6.9.0) > DOIT ESP32 DEVKIT V1
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:
- framework-arduinoespressif32 @ 3.20017.241212+sha.dcc1105b
- tool-esptoolpy @ 1.40501.0 (4.5.1)
- tool-mkfatfs @ 2.0.1
- tool-mklittlefs @ 1.203.210628 (2.3)
- tool-mkspiffs @ 2.230.0 (2.30)
- toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain+, Compatibility ~ soft
Library Manager: Installing me-no-dev/ESPAsyncWebServer @ 1.2.3
Unpacking 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Library Manager: ESP Async WebServer@1.2.3 has been installed!
Library Manager: Resolving dependencies...
Library Manager: Installing Hash
Found 57 compatible libraries
Scanning dependencies...
Dependency Graph
|-- Wire @ 2.0.0
|-- PubSubClient @ 2.8.0
|-- Adafruit BusIO @ 1.17.0
|-- Adafruit GFX Library @ 1.11.11
|-- Adafruit ILI9341 @ 1.6.1
|-- Adafruit ST7735 and ST7789 Library @ 1.10.4
|-- AC101 @ 0.0.1
|-- Ch376msc @ 1.4.5
|-- AsyncTCP @ 1.1.1
|-- WiFi @ 2.0.0
|-- ESP Async WebServer @ 1.2.3
|-- FS @ 2.0.0
|-- ESPmDNS @ 2.0.0
|-- SPI @ 2.0.0
|-- SPIFFS @ 2.0.0
|-- codecs
|-- LCD1602
Building in release mode
Archiving .pio/build/esp32/lib58d/libAsyncTCP.a
Indexing .pio/build/esp32/lib58d/libAsyncTCP.a
Archiving .pio/build/esp32/lib813/libWiFi.a
Indexing .pio/build/esp32/lib813/libWiFi.a
Compiling .pio/build/esp32/libfa8/ESPAsyncTCP/AsyncPrinter.cpp.o
Compiling .pio/build/esp32/libfa8/ESPAsyncTCP/ESPAsyncTCP.cpp.o
Compiling .pio/build/esp32/libfa8/ESPAsyncTCP/ESPAsyncTCPbuffer.cpp.o
Compiling .pio/build/esp32/libfa8/ESPAsyncTCP/SyncClient.cpp.o
Archiving .pio/build/esp32/libd98/libFS.a
Indexing .pio/build/esp32/libd98/libFS.a
In file included from /home/omletta/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/lwip/lwip/src/include/lwip/opt.h:51,
from /home/omletta/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/lwip/lwip/src/include/lwip/init.h:40,
from .pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.h:31,
from .pio/libdeps/esp32/ESPAsyncTCP/src/AsyncPrinter.h:26,
from .pio/libdeps/esp32/ESPAsyncTCP/src/AsyncPrinter.cpp:22:
/home/omletta/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/lwip/port/esp32/include/lwipopts.h:439: warning: "TCP_MSS" redefined
#define TCP_MSS CONFIG_LWIP_TCP_MSS
In file included from .pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.h:25,
from .pio/libdeps/esp32/ESPAsyncTCP/src/AsyncPrinter.h:26,
from .pio/libdeps/esp32/ESPAsyncTCP/src/AsyncPrinter.cpp:22:
.pio/libdeps/esp32/ESPAsyncTCP/src/async_config.h:13: note: this is the location of the previous definition
#define TCP_MSS (1460)
.pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCPbuffer.cpp:27:10: fatal error: debug.h: No such file or directory
#include <debug.h>
^~~~~~~~~
compilation terminated.
In file included from /home/omletta/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/lwip/lwip/src/include/lwip/opt.h:51,
from /home/omletta/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/lwip/lwip/src/include/lwip/init.h:40,
from .pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.h:31,
from .pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp:76:
/home/omletta/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/lwip/port/esp32/include/lwipopts.h:439: warning: "TCP_MSS" redefined
#define TCP_MSS CONFIG_LWIP_TCP_MSS
In file included from .pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.h:25,
from .pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp:76:
.pio/libdeps/esp32/ESPAsyncTCP/src/async_config.h:13: note: this is the location of the previous definition
#define TCP_MSS (1460)
In file included from /home/omletta/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/lwip/lwip/src/include/lwip/opt.h:51,
from /home/omletta/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/lwip/lwip/src/include/lwip/init.h:40,
from .pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.h:31,
from .pio/libdeps/esp32/ESPAsyncTCP/src/SyncClient.cpp:23:
/home/omletta/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/lwip/port/esp32/include/lwipopts.h:439: warning: "TCP_MSS" redefined
#define TCP_MSS CONFIG_LWIP_TCP_MSS
In file included from .pio/libdeps/esp32/ESPAsyncTCP/src/SyncClient.h:32,
from .pio/libdeps/esp32/ESPAsyncTCP/src/SyncClient.cpp:22:
.pio/libdeps/esp32/ESPAsyncTCP/src/async_config.h:13: note: this is the location of the previous definition
#define TCP_MSS (1460)
.pio/libdeps/esp32/ESPAsyncTCP/src/SyncClient.cpp:25:10: fatal error: interrupts.h: No such file or directory
#include <interrupts.h>
^~~~~~~~~~~~~~
compilation terminated.
Compiling .pio/build/esp32/libdb7/ESP Async WebServer/AsyncEventSource.cpp.o
*** [.pio/build/esp32/libfa8/ESPAsyncTCP/ESPAsyncTCPbuffer.cpp.o] Error 1
*** [.pio/build/esp32/libfa8/ESPAsyncTCP/SyncClient.cpp.o] Error 1
.pio/libdeps/esp32/ESPAsyncTCP/src/AsyncPrinter.cpp: In constructor 'AsyncPrinter::AsyncPrinter(AsyncClient*, size_t)':
.pio/libdeps/esp32/ESPAsyncTCP/src/AsyncPrinter.cpp:48:5: error: 'panic' was not declared in this scope
panic(); //What should we do?
^~~~~
.pio/libdeps/esp32/ESPAsyncTCP/src/AsyncPrinter.cpp: In member function 'int AsyncPrinter::connect(IPAddress, uint16_t)':
.pio/libdeps/esp32/ESPAsyncTCP/src/AsyncPrinter.cpp:71:5: error: 'panic' was not declared in this scope
panic();
^~~~~
.pio/libdeps/esp32/ESPAsyncTCP/src/AsyncPrinter.cpp: In member function 'int AsyncPrinter::connect(const char*, uint16_t)':
.pio/libdeps/esp32/ESPAsyncTCP/src/AsyncPrinter.cpp:88:5: error: 'panic' was not declared in this scope
panic();
^~~~~
.pio/libdeps/esp32/ESPAsyncTCP/src/AsyncPrinter.cpp: In member function 'void AsyncPrinter::_onConnect(AsyncClient*)':
.pio/libdeps/esp32/ESPAsyncTCP/src/AsyncPrinter.cpp:109:5: error: 'panic' was not declared in this scope
panic();
^~~~~
.pio/libdeps/esp32/ESPAsyncTCP/src/AsyncPrinter.cpp: In member function 'AsyncPrinter& AsyncPrinter::operator=(const AsyncPrinter&)':
.pio/libdeps/esp32/ESPAsyncTCP/src/AsyncPrinter.cpp:130:5: error: 'panic' was not declared in this scope
panic();
^~~~~
.pio/libdeps/esp32/ESPAsyncTCP/src/AsyncPrinter.cpp: In member function 'size_t AsyncPrinter::_sendBuffer()':
.pio/libdeps/esp32/ESPAsyncTCP/src/AsyncPrinter.cpp:182:5: error: 'panic' was not declared in this scope
panic(); // Connection should be aborted instead
^~~~~
.pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp: In member function 'bool AsyncClient::connect(IPAddress, uint16_t)':
.pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp:267:33: error: invalid user-defined conversion from 'IPAddress' to 'const ip_addr_t*' {aka 'const ip_addr*'} [-fpermissive]
size_t err = tcp_connect(pcb, addr, port,(tcp_connected_fn)&_s_connected);
^~~~
In file included from /home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/Arduino.h:192,
from .pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp:74:
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:59:5: note: candidate is: 'IPAddress::operator uint32_t() const'
operator uint32_t() const
^~~~~~~~
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:59:5: note: no known conversion from 'uint32_t' {aka 'unsigned int'} to 'const ip_addr_t*' {aka 'const ip_addr*'}
In file included from .pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp:79:
/home/omletta/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/lwip/lwip/src/include/lwip/tcp.h:461:18: note: initializing argument 2 of 'err_t tcp_connect(tcp_pcb*, const ip_addr_t*, u16_t, tcp_connected_fn)'
err_t tcp_connect (struct tcp_pcb pcb, const ip_addr_t ipaddr,
^~~~~~~~~~~
.pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp: In member function 'bool AsyncClient::connect(const char, uint16_t)':
.pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp:277:39: error: invalid user-defined conversion from 'IPAddress' to 'ip_addr_t' {aka 'ip_addr*'} [-fpermissive]
err_t err = dns_gethostbyname(host, addr, (dns_found_callback)&_s_dns_found, this);
^~~~
In file included from /home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/Arduino.h:192,
from .pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp:74:
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:59:5: note: candidate is: 'IPAddress::operator uint32_t() const'
operator uint32_t() const
^~~~~~~~
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:59:5: note: no known conversion from 'uint32_t' {aka 'unsigned int'} to 'ip_addr_t*' {aka 'ip_addr*'}
In file included from .pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp:81:
/home/omletta/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/lwip/lwip/src/include/lwip/dns.h:109:18: note: initializing argument 2 of 'err_t dns_gethostbyname(const char*, ip_addr_t*, dns_found_callback, void*)'
err_t dns_gethostbyname(const char hostname, ip_addr_t addr,
^~~~~~~~~~~~~~~~~
.pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp: In member function 'bool AsyncClient::operator==(const AsyncClient&)':
.pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp:331:75: error: no matching function for call to 'IPAddress::IPAddress(ip_addr_t&)'
return (_pcb != NULL && other._pcb != NULL && (IPAddress(_pcb->remote_ip) == IPAddress(other._pcb->remote_ip)) && (_pcb->remote_port == other._pcb->remote_port));
^
In file included from /home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/Arduino.h:192,
from .pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp:74:
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:51:5: note: candidate: 'IPAddress::IPAddress(const uint8_t)'
IPAddress(const uint8_t address);
^~~~~~~~~
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:51:5: note: no known conversion for argument 1 from 'ip_addr_t' {aka 'ip_addr'} to 'const uint8_t' {aka 'const unsigned char'}
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:50:5: note: candidate: 'IPAddress::IPAddress(uint32_t)'
IPAddress(uint32_t address);
^~~~~~~~~
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:50:5: note: no known conversion for argument 1 from 'ip_addr_t' {aka 'ip_addr'} to 'uint32_t' {aka 'unsigned int'}
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:49:5: note: candidate: 'IPAddress::IPAddress(uint8_t, uint8_t, uint8_t, uint8_t)'
IPAddress(uint8_t first_octet, uint8_t second_octet, uint8_t third_octet, uint8_t fourth_octet);
^~~~~~~~~
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:49:5: note: candidate expects 4 arguments, 1 provided
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:48:5: note: candidate: 'IPAddress::IPAddress()'
IPAddress();
^~~~~~~~~
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:48:5: note: candidate expects 0 arguments, 1 provided
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:29:7: note: candidate: 'constexpr IPAddress::IPAddress(const IPAddress&)'
class IPAddress: public Printable
^~~~~~~~~
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:29:7: note: no known conversion for argument 1 from 'ip_addr_t' {aka 'ip_addr'} to 'const IPAddress&'
.pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp:331:112: error: no matching function for call to 'IPAddress::IPAddress(ip_addr_t&)'
return (_pcb != NULL && other._pcb != NULL && (IPAddress(_pcb->remote_ip) == IPAddress(other._pcb->remote_ip)) && (_pcb->remote_port == other._pcb->remote_port));
^
In file included from /home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/Arduino.h:192,
from .pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp:74:
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:51:5: note: candidate: 'IPAddress::IPAddress(const uint8_t*)'
IPAddress(const uint8_t address);
^~~~~~~~~
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:51:5: note: no known conversion for argument 1 from 'ip_addr_t' {aka 'ip_addr'} to 'const uint8_t' {aka 'const unsigned char*'}
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:50:5: note: candidate: 'IPAddress::IPAddress(uint32_t)'
IPAddress(uint32_t address);
^~~~~~~~~
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:50:5: note: no known conversion for argument 1 from 'ip_addr_t' {aka 'ip_addr'} to 'uint32_t' {aka 'unsigned int'}
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:49:5: note: candidate: 'IPAddress::IPAddress(uint8_t, uint8_t, uint8_t, uint8_t)'
IPAddress(uint8_t first_octet, uint8_t second_octet, uint8_t third_octet, uint8_t fourth_octet);
^~~~~~~~~
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:49:5: note: candidate expects 4 arguments, 1 provided
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:48:5: note: candidate: 'IPAddress::IPAddress()'
IPAddress();
^~~~~~~~~
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:48:5: note: candidate expects 0 arguments, 1 provided
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:29:7: note: candidate: 'constexpr IPAddress::IPAddress(const IPAddress&)'
class IPAddress: public Printable
^~~~~~~~~
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:29:7: note: no known conversion for argument 1 from 'ip_addr_t' {aka 'ip_addr'} to 'const IPAddress&'
.pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp: In member function 'void AsyncClient::_dns_found(const ip_addr*)':
.pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp:710:13: error: invalid conversion from 'const ip_addr*' to 'uint32_t' {aka 'unsigned int'} [-fpermissive]
connect(ipaddr, _connect_port);
^~~~~~
In file included from /home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/Arduino.h:192,
from .pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp:74:
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:50:24: note: initializing argument 1 of 'IPAddress::IPAddress(uint32_t)'
IPAddress(uint32_t address);
~~~~~~~~~^~~~~~~
.pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp: In member function 'IPAddress AsyncClient::remoteIP()':
.pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp:861:23: error: call of overloaded 'IPAddress(int)' is ambiguous
return IPAddress(0);
^
In file included from /home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/Arduino.h:192,
from .pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp:74:
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:51:5: note: candidate: 'IPAddress::IPAddress(const uint8_t*)'
IPAddress(const uint8_t address);
^~~~~~~~~
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:50:5: note: candidate: 'IPAddress::IPAddress(uint32_t)'
IPAddress(uint32_t address);
^~~~~~~~~
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:29:7: note: candidate: 'constexpr IPAddress::IPAddress(const IPAddress&)'
class IPAddress: public Printable
^~~~~~~~~
.pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp:862:16: error: could not convert '((AsyncClient)this)->AsyncClient::_pcb->tcp_pcb::remote_ip' from 'ip_addr_t' {aka 'ip_addr'} to 'IPAddress'
return _pcb->remote_ip;
~~~~~~^~~~~~~~~
.pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp: In member function 'IPAddress AsyncClient::localIP()':
.pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp:871:23: error: call of overloaded 'IPAddress(int)' is ambiguous
return IPAddress(0);
^
In file included from /home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/Arduino.h:192,
from .pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp:74:
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:51:5: note: candidate: 'IPAddress::IPAddress(const uint8_t*)'
IPAddress(const uint8_t address);
^~~~~~~~~
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:50:5: note: candidate: 'IPAddress::IPAddress(uint32_t)'
IPAddress(uint32_t address);
^~~~~~~~~
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:29:7: note: candidate: 'constexpr IPAddress::IPAddress(const IPAddress&)'
class IPAddress: public Printable
^~~~~~~~~
.pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp:872:16: error: could not convert '((AsyncClient)this)->AsyncClient::_pcb->tcp_pcb::local_ip' from 'ip_addr_t' {aka 'ip_addr'} to 'IPAddress'
return _pcb->local_ip;
~~~~~~^~~~~~~~
In file included from /home/omletta/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/lwip/lwip/src/include/lwip/ip.h:44,
from /home/omletta/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/lwip/lwip/src/include/lwip/tcp.h:48,
from .pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp:79:
.pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp: In constructor 'AsyncServer::AsyncServer(uint16_t)':
/home/omletta/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/lwip/lwip/src/include/lwip/ip_addr.h:434:25: error: invalid conversion from 'const ip_addr_t*' {aka 'const ip_addr*'} to 'uint32_t' {aka 'unsigned int'} [-fpermissive]
#define IP_ANY_TYPE (&ip_addr_any_type)
~^~~~~~~~~~~~~~~~~~
.pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp:1081:11: note: in expansion of macro 'IP_ANY_TYPE'
, _addr(IP_ANY_TYPE)
^~~~~~~~~~~
In file included from /home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/Arduino.h:192,
from .pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp:74:
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:50:24: note: initializing argument 1 of 'IPAddress::IPAddress(uint32_t)'
IPAddress(uint32_t address);
~~~~~~~~~^~~~~~~
.pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp: In member function 'void AsyncServer::begin()':
.pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp:1128:23: error: invalid user-defined conversion from 'IPAddress' to 'const ip_addr_t*' {aka 'const ip_addr*'} [-fpermissive]
err = tcp_bind(pcb, local_addr, _port);
^~~~~~~~~~
In file included from /home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/Arduino.h:192,
from .pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp:74:
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:59:5: note: candidate is: 'IPAddress::operator uint32_t() const'
operator uint32_t() const
^~~~~~~~
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:59:5: note: no known conversion from 'uint32_t' {aka 'unsigned int'} to 'const ip_addr_t*' {aka 'const ip_addr*'}
In file included from .pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp:79:
/home/omletta/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/lwip/lwip/src/include/lwip/tcp.h:458:18: note: initializing argument 2 of 'err_t tcp_bind(tcp_pcb*, const ip_addr_t*, u16_t)'
err_t tcp_bind (struct tcp_pcb *pcb, const ip_addr_t *ipaddr,
^~~~~~~~
*** [.pio/build/esp32/libfa8/ESPAsyncTCP/AsyncPrinter.cpp.o] Error 1
*** [.pio/build/esp32/libfa8/ESPAsyncTCP/ESPAsyncTCP.cpp.o] Error 1
========================================================================= [FAILED] Took 5.39 seconds =========================================================================
- The terminal process "platformio 'run', '--target', 'upload', '--upload-port', '/dev/ttyUSB0'" terminated with exit code: 1.
- Terminal will be reused by tasks, press any key to close it.
I realize it has todo something with the "ESPAsycTCP" Library? The one that is included via PIO Home is called "AsycTCP" Following is the terminal output of the failing upload
Processing esp32 (platform: espressif32; board: esp32doit-devkit-v1; framework: arduino)
Library Manager: Installing me-no-dev/ESPAsyncWebServer @ 1.2.3
Unpacking [####################################] 100%
Library Manager: ESP Async WebServer@1.2.3 has been installed!
Library Manager: Resolving dependencies...
Verbose mode can be enabled via
-v, --verboseoptionCONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32doit-devkit-v1.html
PLATFORM: Espressif 32 (6.9.0) > DOIT ESP32 DEVKIT V1
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain+, Compatibility ~ soft
Library Manager: Installing me-no-dev/ESPAsyncWebServer @ 1.2.3
Unpacking 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Library Manager: ESP Async WebServer@1.2.3 has been installed!
Library Manager: Resolving dependencies...
Library Manager: Installing Hash
Found 57 compatible libraries
Scanning dependencies...
Dependency Graph
|-- Wire @ 2.0.0
|-- PubSubClient @ 2.8.0
|-- Adafruit BusIO @ 1.17.0
|-- Adafruit GFX Library @ 1.11.11
|-- Adafruit ILI9341 @ 1.6.1
|-- Adafruit ST7735 and ST7789 Library @ 1.10.4
|-- AC101 @ 0.0.1
|-- Ch376msc @ 1.4.5
|-- AsyncTCP @ 1.1.1
|-- WiFi @ 2.0.0
|-- ESP Async WebServer @ 1.2.3
|-- FS @ 2.0.0
|-- ESPmDNS @ 2.0.0
|-- SPI @ 2.0.0
|-- SPIFFS @ 2.0.0
|-- codecs
|-- LCD1602
Building in release mode
Archiving .pio/build/esp32/lib58d/libAsyncTCP.a
Indexing .pio/build/esp32/lib58d/libAsyncTCP.a
Archiving .pio/build/esp32/lib813/libWiFi.a
Indexing .pio/build/esp32/lib813/libWiFi.a
Compiling .pio/build/esp32/libfa8/ESPAsyncTCP/AsyncPrinter.cpp.o
Compiling .pio/build/esp32/libfa8/ESPAsyncTCP/ESPAsyncTCP.cpp.o
Compiling .pio/build/esp32/libfa8/ESPAsyncTCP/ESPAsyncTCPbuffer.cpp.o
Compiling .pio/build/esp32/libfa8/ESPAsyncTCP/SyncClient.cpp.o
Archiving .pio/build/esp32/libd98/libFS.a
Indexing .pio/build/esp32/libd98/libFS.a
In file included from /home/omletta/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/lwip/lwip/src/include/lwip/opt.h:51,
from /home/omletta/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/lwip/lwip/src/include/lwip/init.h:40,
from .pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.h:31,
from .pio/libdeps/esp32/ESPAsyncTCP/src/AsyncPrinter.h:26,
from .pio/libdeps/esp32/ESPAsyncTCP/src/AsyncPrinter.cpp:22:
/home/omletta/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/lwip/port/esp32/include/lwipopts.h:439: warning: "TCP_MSS" redefined
#define TCP_MSS CONFIG_LWIP_TCP_MSS
In file included from .pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.h:25,
from .pio/libdeps/esp32/ESPAsyncTCP/src/AsyncPrinter.h:26,
from .pio/libdeps/esp32/ESPAsyncTCP/src/AsyncPrinter.cpp:22:
.pio/libdeps/esp32/ESPAsyncTCP/src/async_config.h:13: note: this is the location of the previous definition
#define TCP_MSS (1460)
.pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCPbuffer.cpp:27:10: fatal error: debug.h: No such file or directory
#include <debug.h>
^~~~~~~~~
compilation terminated.
In file included from /home/omletta/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/lwip/lwip/src/include/lwip/opt.h:51,
from /home/omletta/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/lwip/lwip/src/include/lwip/init.h:40,
from .pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.h:31,
from .pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp:76:
/home/omletta/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/lwip/port/esp32/include/lwipopts.h:439: warning: "TCP_MSS" redefined
#define TCP_MSS CONFIG_LWIP_TCP_MSS
In file included from .pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.h:25,
from .pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp:76:
.pio/libdeps/esp32/ESPAsyncTCP/src/async_config.h:13: note: this is the location of the previous definition
#define TCP_MSS (1460)
In file included from /home/omletta/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/lwip/lwip/src/include/lwip/opt.h:51,
from /home/omletta/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/lwip/lwip/src/include/lwip/init.h:40,
from .pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.h:31,
from .pio/libdeps/esp32/ESPAsyncTCP/src/SyncClient.cpp:23:
/home/omletta/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/lwip/port/esp32/include/lwipopts.h:439: warning: "TCP_MSS" redefined
#define TCP_MSS CONFIG_LWIP_TCP_MSS
In file included from .pio/libdeps/esp32/ESPAsyncTCP/src/SyncClient.h:32,
from .pio/libdeps/esp32/ESPAsyncTCP/src/SyncClient.cpp:22:
.pio/libdeps/esp32/ESPAsyncTCP/src/async_config.h:13: note: this is the location of the previous definition
#define TCP_MSS (1460)
.pio/libdeps/esp32/ESPAsyncTCP/src/SyncClient.cpp:25:10: fatal error: interrupts.h: No such file or directory
#include <interrupts.h>
^~~~~~~~~~~~~~
compilation terminated.
Compiling .pio/build/esp32/libdb7/ESP Async WebServer/AsyncEventSource.cpp.o
*** [.pio/build/esp32/libfa8/ESPAsyncTCP/ESPAsyncTCPbuffer.cpp.o] Error 1
*** [.pio/build/esp32/libfa8/ESPAsyncTCP/SyncClient.cpp.o] Error 1
.pio/libdeps/esp32/ESPAsyncTCP/src/AsyncPrinter.cpp: In constructor 'AsyncPrinter::AsyncPrinter(AsyncClient*, size_t)':
.pio/libdeps/esp32/ESPAsyncTCP/src/AsyncPrinter.cpp:48:5: error: 'panic' was not declared in this scope
panic(); //What should we do?
^~~~~
.pio/libdeps/esp32/ESPAsyncTCP/src/AsyncPrinter.cpp: In member function 'int AsyncPrinter::connect(IPAddress, uint16_t)':
.pio/libdeps/esp32/ESPAsyncTCP/src/AsyncPrinter.cpp:71:5: error: 'panic' was not declared in this scope
panic();
^~~~~
.pio/libdeps/esp32/ESPAsyncTCP/src/AsyncPrinter.cpp: In member function 'int AsyncPrinter::connect(const char*, uint16_t)':
.pio/libdeps/esp32/ESPAsyncTCP/src/AsyncPrinter.cpp:88:5: error: 'panic' was not declared in this scope
panic();
^~~~~
.pio/libdeps/esp32/ESPAsyncTCP/src/AsyncPrinter.cpp: In member function 'void AsyncPrinter::_onConnect(AsyncClient*)':
.pio/libdeps/esp32/ESPAsyncTCP/src/AsyncPrinter.cpp:109:5: error: 'panic' was not declared in this scope
panic();
^~~~~
.pio/libdeps/esp32/ESPAsyncTCP/src/AsyncPrinter.cpp: In member function 'AsyncPrinter& AsyncPrinter::operator=(const AsyncPrinter&)':
.pio/libdeps/esp32/ESPAsyncTCP/src/AsyncPrinter.cpp:130:5: error: 'panic' was not declared in this scope
panic();
^~~~~
.pio/libdeps/esp32/ESPAsyncTCP/src/AsyncPrinter.cpp: In member function 'size_t AsyncPrinter::_sendBuffer()':
.pio/libdeps/esp32/ESPAsyncTCP/src/AsyncPrinter.cpp:182:5: error: 'panic' was not declared in this scope
panic(); // Connection should be aborted instead
^~~~~
.pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp: In member function 'bool AsyncClient::connect(IPAddress, uint16_t)':
.pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp:267:33: error: invalid user-defined conversion from 'IPAddress' to 'const ip_addr_t*' {aka 'const ip_addr*'} [-fpermissive]
size_t err = tcp_connect(pcb, addr, port,(tcp_connected_fn)&_s_connected);
^~~~
In file included from /home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/Arduino.h:192,
from .pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp:74:
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:59:5: note: candidate is: 'IPAddress::operator uint32_t() const'
operator uint32_t() const
^~~~~~~~
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:59:5: note: no known conversion from 'uint32_t' {aka 'unsigned int'} to 'const ip_addr_t*' {aka 'const ip_addr*'}
In file included from .pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp:79:
/home/omletta/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/lwip/lwip/src/include/lwip/tcp.h:461:18: note: initializing argument 2 of 'err_t tcp_connect(tcp_pcb*, const ip_addr_t*, u16_t, tcp_connected_fn)'
err_t tcp_connect (struct tcp_pcb pcb, const ip_addr_t ipaddr,
^~~~~~~~~~~
.pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp: In member function 'bool AsyncClient::connect(const char, uint16_t)':
.pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp:277:39: error: invalid user-defined conversion from 'IPAddress' to 'ip_addr_t' {aka 'ip_addr*'} [-fpermissive]
err_t err = dns_gethostbyname(host, addr, (dns_found_callback)&_s_dns_found, this);
^~~~
In file included from /home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/Arduino.h:192,
from .pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp:74:
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:59:5: note: candidate is: 'IPAddress::operator uint32_t() const'
operator uint32_t() const
^~~~~~~~
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:59:5: note: no known conversion from 'uint32_t' {aka 'unsigned int'} to 'ip_addr_t*' {aka 'ip_addr*'}
In file included from .pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp:81:
/home/omletta/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/lwip/lwip/src/include/lwip/dns.h:109:18: note: initializing argument 2 of 'err_t dns_gethostbyname(const char*, ip_addr_t*, dns_found_callback, void*)'
err_t dns_gethostbyname(const char hostname, ip_addr_t addr,
^~~~~~~~~~~~~~~~~
.pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp: In member function 'bool AsyncClient::operator==(const AsyncClient&)':
.pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp:331:75: error: no matching function for call to 'IPAddress::IPAddress(ip_addr_t&)'
return (_pcb != NULL && other._pcb != NULL && (IPAddress(_pcb->remote_ip) == IPAddress(other._pcb->remote_ip)) && (_pcb->remote_port == other._pcb->remote_port));
^
In file included from /home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/Arduino.h:192,
from .pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp:74:
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:51:5: note: candidate: 'IPAddress::IPAddress(const uint8_t)'
IPAddress(const uint8_t address);
^~~~~~~~~
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:51:5: note: no known conversion for argument 1 from 'ip_addr_t' {aka 'ip_addr'} to 'const uint8_t' {aka 'const unsigned char'}
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:50:5: note: candidate: 'IPAddress::IPAddress(uint32_t)'
IPAddress(uint32_t address);
^~~~~~~~~
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:50:5: note: no known conversion for argument 1 from 'ip_addr_t' {aka 'ip_addr'} to 'uint32_t' {aka 'unsigned int'}
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:49:5: note: candidate: 'IPAddress::IPAddress(uint8_t, uint8_t, uint8_t, uint8_t)'
IPAddress(uint8_t first_octet, uint8_t second_octet, uint8_t third_octet, uint8_t fourth_octet);
^~~~~~~~~
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:49:5: note: candidate expects 4 arguments, 1 provided
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:48:5: note: candidate: 'IPAddress::IPAddress()'
IPAddress();
^~~~~~~~~
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:48:5: note: candidate expects 0 arguments, 1 provided
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:29:7: note: candidate: 'constexpr IPAddress::IPAddress(const IPAddress&)'
class IPAddress: public Printable
^~~~~~~~~
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:29:7: note: no known conversion for argument 1 from 'ip_addr_t' {aka 'ip_addr'} to 'const IPAddress&'
.pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp:331:112: error: no matching function for call to 'IPAddress::IPAddress(ip_addr_t&)'
return (_pcb != NULL && other._pcb != NULL && (IPAddress(_pcb->remote_ip) == IPAddress(other._pcb->remote_ip)) && (_pcb->remote_port == other._pcb->remote_port));
^
In file included from /home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/Arduino.h:192,
from .pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp:74:
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:51:5: note: candidate: 'IPAddress::IPAddress(const uint8_t*)'
IPAddress(const uint8_t address);
^~~~~~~~~
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:51:5: note: no known conversion for argument 1 from 'ip_addr_t' {aka 'ip_addr'} to 'const uint8_t' {aka 'const unsigned char*'}
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:50:5: note: candidate: 'IPAddress::IPAddress(uint32_t)'
IPAddress(uint32_t address);
^~~~~~~~~
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:50:5: note: no known conversion for argument 1 from 'ip_addr_t' {aka 'ip_addr'} to 'uint32_t' {aka 'unsigned int'}
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:49:5: note: candidate: 'IPAddress::IPAddress(uint8_t, uint8_t, uint8_t, uint8_t)'
IPAddress(uint8_t first_octet, uint8_t second_octet, uint8_t third_octet, uint8_t fourth_octet);
^~~~~~~~~
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:49:5: note: candidate expects 4 arguments, 1 provided
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:48:5: note: candidate: 'IPAddress::IPAddress()'
IPAddress();
^~~~~~~~~
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:48:5: note: candidate expects 0 arguments, 1 provided
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:29:7: note: candidate: 'constexpr IPAddress::IPAddress(const IPAddress&)'
class IPAddress: public Printable
^~~~~~~~~
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:29:7: note: no known conversion for argument 1 from 'ip_addr_t' {aka 'ip_addr'} to 'const IPAddress&'
.pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp: In member function 'void AsyncClient::_dns_found(const ip_addr*)':
.pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp:710:13: error: invalid conversion from 'const ip_addr*' to 'uint32_t' {aka 'unsigned int'} [-fpermissive]
connect(ipaddr, _connect_port);
^~~~~~
In file included from /home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/Arduino.h:192,
from .pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp:74:
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:50:24: note: initializing argument 1 of 'IPAddress::IPAddress(uint32_t)'
IPAddress(uint32_t address);
~~~~~~~~~^~~~~~~
.pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp: In member function 'IPAddress AsyncClient::remoteIP()':
.pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp:861:23: error: call of overloaded 'IPAddress(int)' is ambiguous
return IPAddress(0);
^
In file included from /home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/Arduino.h:192,
from .pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp:74:
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:51:5: note: candidate: 'IPAddress::IPAddress(const uint8_t*)'
IPAddress(const uint8_t address);
^~~~~~~~~
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:50:5: note: candidate: 'IPAddress::IPAddress(uint32_t)'
IPAddress(uint32_t address);
^~~~~~~~~
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:29:7: note: candidate: 'constexpr IPAddress::IPAddress(const IPAddress&)'
class IPAddress: public Printable
^~~~~~~~~
.pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp:862:16: error: could not convert '((AsyncClient)this)->AsyncClient::_pcb->tcp_pcb::remote_ip' from 'ip_addr_t' {aka 'ip_addr'} to 'IPAddress'
return _pcb->remote_ip;
~~~~~~^~~~~~~~~
.pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp: In member function 'IPAddress AsyncClient::localIP()':
.pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp:871:23: error: call of overloaded 'IPAddress(int)' is ambiguous
return IPAddress(0);
^
In file included from /home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/Arduino.h:192,
from .pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp:74:
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:51:5: note: candidate: 'IPAddress::IPAddress(const uint8_t*)'
IPAddress(const uint8_t address);
^~~~~~~~~
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:50:5: note: candidate: 'IPAddress::IPAddress(uint32_t)'
IPAddress(uint32_t address);
^~~~~~~~~
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:29:7: note: candidate: 'constexpr IPAddress::IPAddress(const IPAddress&)'
class IPAddress: public Printable
^~~~~~~~~
.pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp:872:16: error: could not convert '((AsyncClient)this)->AsyncClient::_pcb->tcp_pcb::local_ip' from 'ip_addr_t' {aka 'ip_addr'} to 'IPAddress'
return _pcb->local_ip;
~~~~~~^~~~~~~~
In file included from /home/omletta/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/lwip/lwip/src/include/lwip/ip.h:44,
from /home/omletta/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/lwip/lwip/src/include/lwip/tcp.h:48,
from .pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp:79:
.pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp: In constructor 'AsyncServer::AsyncServer(uint16_t)':
/home/omletta/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/lwip/lwip/src/include/lwip/ip_addr.h:434:25: error: invalid conversion from 'const ip_addr_t*' {aka 'const ip_addr*'} to 'uint32_t' {aka 'unsigned int'} [-fpermissive]
#define IP_ANY_TYPE (&ip_addr_any_type)
~^~~~~~~~~~~~~~~~~~
.pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp:1081:11: note: in expansion of macro 'IP_ANY_TYPE'
, _addr(IP_ANY_TYPE)
^~~~~~~~~~~
In file included from /home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/Arduino.h:192,
from .pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp:74:
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:50:24: note: initializing argument 1 of 'IPAddress::IPAddress(uint32_t)'
IPAddress(uint32_t address);
~~~~~~~~~^~~~~~~
.pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp: In member function 'void AsyncServer::begin()':
.pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp:1128:23: error: invalid user-defined conversion from 'IPAddress' to 'const ip_addr_t*' {aka 'const ip_addr*'} [-fpermissive]
err = tcp_bind(pcb, local_addr, _port);
^~~~~~~~~~
In file included from /home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/Arduino.h:192,
from .pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp:74:
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:59:5: note: candidate is: 'IPAddress::operator uint32_t() const'
operator uint32_t() const
^~~~~~~~
/home/omletta/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:59:5: note: no known conversion from 'uint32_t' {aka 'unsigned int'} to 'const ip_addr_t*' {aka 'const ip_addr*'}
In file included from .pio/libdeps/esp32/ESPAsyncTCP/src/ESPAsyncTCP.cpp:79:
/home/omletta/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/lwip/lwip/src/include/lwip/tcp.h:458:18: note: initializing argument 2 of 'err_t tcp_bind(tcp_pcb*, const ip_addr_t*, u16_t)'
err_t tcp_bind (struct tcp_pcb *pcb, const ip_addr_t *ipaddr,
^~~~~~~~
*** [.pio/build/esp32/libfa8/ESPAsyncTCP/AsyncPrinter.cpp.o] Error 1
*** [.pio/build/esp32/libfa8/ESPAsyncTCP/ESPAsyncTCP.cpp.o] Error 1
========================================================================= [FAILED] Took 5.39 seconds =========================================================================