You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[x ] I have read the documentation at readthedocs and the issue is not addressed there.
[x ] I have tested that the issue is present in current master branch (aka latest git).
[x ] I have searched the issue tracker for a similar issue.
[x ] If there is a stack dump, I have decoded it.
[x ] I have filled out all fields below.
Platform
Hardware: [ESP-12]
Core Version: [V2.5, 11/2/2019]
Development Env: [Arduino IDE]
Operating System: [UbuntuS]
Settings in IDE
Module: [Wemos D1 mini r2]
Flash Mode: [dio]
Flash Size: [4MB]
lwip Variant: [v1.4|Higher Bandwidth]
Reset Method: [nodemcu]
Flash Frequency: [40Mhz]
CPU Frequency: [80Mhz]
Upload Using: [SERIAL]
Upload Speed: [115200] (serial upload only)
Problem Description
Include of espconn.h results in an compiler error (worked in V2.4.2):
In file included from /tmp/arduino_modified_sketch_278302/WiFiClient.ino:2:0:
/home/mfg/.arduino15/packages/esp8266/hardware/esp8266/2.5.0/tools/sdk/include/espconn.h:451:54: error: 'ipv4_addr_t' has not been declared
typedef void (*dns_found_callback)(const char *name, ipv4_addr_t *ipaddr, void *callback_arg);
^
Edit: Removed first bit as is was my addition to IPAddress.h that got it working... after line 34 may be a good place to add #define ipv4_addr_t ip_addr_t as ipv4_addr is there also...
espconn is supported by lwIP-1.4
it is not officially supported by lwip2, but it is ported and untested. espconn_init() has to be called before using it with lwip2.
@pfeerick do you intend to make a PR with your proposed update ?
Basic Infos
Platform
Settings in IDE
Problem Description
Include of espconn.h results in an compiler error (worked in V2.4.2):
Following addition in espconn.h solves it:
MCVE Sketch
Debug Messages
The text was updated successfully, but these errors were encountered: