Skip to content

2.4.0 lwip compile error #4080

@s0170071

Description

@s0170071

Basic Infos

I read in the 2.4.0 release notes that lwip 2 is now the state of the art lwip. so I gave it a try and compiled. Originally I compiled the ESPEasy project, but it failed when including the "lwip/tcp_impl.h" See sketch below.

Hardware

Hardware: Wemos D1 mini
Core Version: 2.4.0

Description

Problem description
I use the Arduino IDE 1.8.5 as portable install.
Boards manager URL is

https://github.com/esp8266/Arduino/releases/download/2.4.0/package_esp8266com_index.json

When I select the lwip version from the drop down menu, only 1.4 prebulit compiles.

Settings in IDE

Module: wemos d1 mini
Flash Size: 4MB
CPU Frequency: ?80Mhz?
Flash Mode: ?qio?
Flash Frequency: ?40Mhz?
Upload Using: ?OTA / SERIAL?
Reset Method: ?ck / nodemcu?

Sketch

#include "lwip/tcp_impl.h"
void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}

v2 prebuilt mss636 and mss 1460

C:\ArduinoPortable\sketchbooks\_includelwip_tcp_implH\_includelwip_tcp_implH.ino:1:27: fatal error: lwip/tcp_impl.h: No such file or directory

 #include "lwip/tcp_impl.h"

                           ^

compilation terminated.

exit status 1
Error compiling for board WeMos D1 R2 & mini.

1.4 prebuilt

(compiles ok)

lwip1.4 (open source)

Compiling sketch...
make -C "C:\ArduinoPortable\arduino-1.8.5 - 2.4.0\portable\packages\esp8266\hardware\esp8266\2.4.0/tools/sdk/lwip/src" install TOOLS_PATH="C:\ArduinoPortable\arduino-1.8.5 - 2.4.0\portable\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-"
exec: "make": executable file not found in %PATH%
Error compiling for board WeMos D1 R2 & mini.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions