Khắc phục lỗi error compiling for board wemos d1r2 mini

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Pick a username Email Address Password

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

Arduino: 1.8.3 [Windows 10], Board:"WeMos D1 R2 & mini, 80 MHz, 4M [1M SPIFFS], v2 Prebuilt [MSS=536], Disabled, None, 115200"

WAARSCHUWING: Categorie 'LED' in bibliotheek CHT16K33 LED Matrix Library is niet geldig. Wordt gewijzigd naar 'Uncategorized' WAARSCHUWING: Categorie 'Input' in bibliotheek MechInputs is niet geldig. Wordt gewijzigd naar 'Uncategorized' WAARSCHUWING: Categorie 'Input' in bibliotheek SerialSensors is niet geldig. Wordt gewijzigd naar 'Uncategorized' D:\Tools\Arduino sketches\Schetsboek\ESPEasy_v2.0.0-dev12\Source\ESPEasy\ESPEasy.ino:286:27: fatal error: lwip/tcp_impl.h: No such file or directory

include "lwip/tcp_impl.h"

^

compilation terminated.

exit status 1 Fout bij het compileren van board WeMos D1 R2 & mini

This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.

[/code]

BertB Normal user Posts: 1049 Joined: 25 Apr 2015, 14:39

by BertB » 17 Jan 2018, 16:53

I first compiled with 2.3.0, with the above result. Then I migrated to 2.4.0, no real change Then I reinstalled 2.3.0. and it compiles again.

Is there a way to get a binary out of Atom? That way I can avoid using Arduino IDE.

TD-er Core team member Posts: 8275 Joined: 01 Sep 2017, 22:13 Location: the Netherlands Contact:

by TD-er » 17 Jan 2018, 20:24

Yep, install the 2.3.0 library of ESP8266 in PlatformIO and Arduino IDE. PlatformIO will then use the Arduino installed libs. Version 2.4.0 is not yet supported with ESPeasy. It may be with ESPeasy 2.1, but a lot has to be done for it. The 2.4 version uses more memory, which leaves less for ESPeasy.

Dus helaas pindakaas

BertB Normal user Posts: 1049 Joined: 25 Apr 2015, 14:39

by BertB » 20 Jan 2018, 11:35

Thank you TD-er, but I started with 2.3.0 and I got similar errors. Therefore, after numerous trying and changing the lib location, I decided to go for 2.4.0. Without result, so I went back to 2.3.0 Tadaa, it compiled

. This is what I call irratic behaviour.

I do almost all updates OTA from the ESPEasy module [the load firmware function] I possible to do the same with platformio? Or, it it possible to get the bin file of the compiled firmware?

Domosapiens Normal user Posts: 307 Joined: 06 Nov 2016, 13:45

by Domosapiens » 20 Jan 2018, 13:36

bin file is being created in the .pioenvs folder within the project folder

30+ ESP units for production and test. Ranging from control of heating equipment, flow sensing, floor temp sensing, energy calculation, floor thermostat, water usage, to an interactive "fun box" for my grandson. Mainly Wemos D1.

SOLVED: //arduino.stackexchange.com/questions/71114/error-compiling-for-board-lolinwemos-d1-r2-mini

Receiving the following error message when compiling for D1 mini. This code worked previously but I am using a fresh install of Arduino IDE. I have installed ESP8266 boards using the board manager and selected LOLIN[WEMOS] D1 R2 & mini from the boards list.

I also receive a Python warning just before this error, I am wondering if it might be related? There is a file named python3 in that location but it is an alias file, I don't know if this is right.

Here is the complete output:

Multiple libraries were found for "TimeLord.h" Used: /Users/j/Documents/Arduino/libraries/TimeLord-master Multiple libraries were found for "ESP8266WiFi.h" Used: /Users/j/Documents/Arduino/libraries/ESP8266WiFi Not used: /Users/james/Library/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/libraries/ESP8266WiFi Multiple libraries were found for "NTPClient.h" Used: /Users/j/Documents/Arduino/libraries/NTPClient-master Multiple libraries were found for "LiquidCrystal_I2C.h" Used: /Users/j/Documents/Arduino/libraries/LiquidCrystal_I2C Multiple libraries were found for "Wire.h" Used: /Users/j/Library/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/libraries/Wire Multiple libraries were found for "RCSwitch.h" Used: /Users/j/Documents/Arduino/libraries/rc-switch fork/exec /Users/j/Library/Arduino15/packages/esp8266/tools/python3/3.7.2-post1/python3: no such file or directory Error compiling for board LOLIN[WEMOS] D1 R2 & mini.

Also not sure what the multiple libraries issue is, there is only one copy of each library on my Mac. Any ideas?

Chủ Đề