Skip to content

Networking:430:47: error: no matching function for call to 'UdpContext::listen(const ip_addr_t&, int)' #5738

Closed
@dony71

Description

@dony71

compile latest espeasy mega release then result this
compile with v.2.5.0 and arduino ide 1.8.8
anything i'm missing?

F:\arduino-1.8.8P250\ESPEasy\Networking.ino: In function 'bool SSDP_begin()':

Networking:430:47: error: no matching function for call to 'UdpContext::listen(const ip_addr_t&, int)'

if (!_server->listen(*IP_ADDR_ANY, SSDP_PORT)) {

                                          ^

F:\arduino-1.8.8P250\ESPEasy\Networking.ino:430:47: note: candidate is:

In file included from sketch\ESPEasy-Globals.h:515:0,

            from F:\arduino-1.8.8P250\ESPEasy\ESPEasy.ino:90:

F:\arduino->1.8.8P250\portable\packages\esp8266\hardware\esp8266\2.5.0\libraries\ESP8266WiFi\src/include/UdpC>ontext.h:98:10: note: bool UdpContext::listen(const ip_addr_t*, uint16_t)

bool listen(CONST ip_addr_t* addr, uint16_t port)

     ^

F:\arduino->1.8.8P250\portable\packages\esp8266\hardware\esp8266\2.5.0\libraries\ESP8266WiFi\src/include/UdpC>ontext.h:98:10: note: no known conversion for argument 1 from 'const ip_addr_t {aka const ip4_addr}' >to 'const ip_addr_t* {aka const ip4_addr*}'

Networking:437:50: error: no matching function for call to 'UdpContext::connect(ip_addr_t&, int)'

if (!_server->connect(multicast_addr, SSDP_PORT)) {

                                             ^

F:\arduino-1.8.8P250\ESPEasy\Networking.ino:437:50: note: candidate is:

In file included from sketch\ESPEasy-Globals.h:515:0,

            from F:\arduino-1.8.8P250\ESPEasy\ESPEasy.ino:90:

F:\arduino->1.8.8P250\portable\packages\esp8266\hardware\esp8266\2.5.0\libraries\ESP8266WiFi\src/include/UdpC>ontext.h:91:10: note: bool UdpContext::connect(const ip_addr_t*, uint16_t)

bool connect(const ip_addr_t* addr, uint16_t port)

     ^

F:\arduino->1.8.8P250\portable\packages\esp8266\hardware\esp8266\2.5.0\libraries\ESP8266WiFi\src/include/UdpC>ontext.h:91:10: note: no known conversion for argument 1 from 'ip_addr_t {aka ip4_addr}' to 'const >ip_addr_t* {aka const ip4_addr*}'

Multiple libraries were found for "Servo.h"
Used: F:\arduino-1.8.8P250\portable\packages\esp8266\hardware\esp8266\2.5.0\libraries\Servo
Not used: F:\arduino-1.8.8P250\libraries\Servo
exit status 1
no matching function for call to 'UdpContext::listen(const ip_addr_t&, int)'

Metadata

Metadata

Assignees

Labels

type: bugwaiting for feedbackWaiting on additional info. If it's not received, the issue may be closed.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions