-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
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
Impossible Compil for on vsc and PlatFormIO #23
Comments
Checking at the code it seems you are using some different version of the libraries. I see that the most relevant differences are:
In your log seems you are using an older version: PLATFORM: Espressif 8266 (4.0.1) > WeMos D1 R2 and mini Same for the packages
vs
Also the error that breaks the compilation is this one:
It seems that Update.h class has not getErrorString() function, can be for the issue above of the different version. I will send later a commit with 0.0.13 trying to force to use the latest version of the libs |
Do you have a version of the code that can be used in arduinoIDE, I am more comfortable and I would like to help evolve? |
@cromes85 did you try now using the main branch? |
Pas encore
Le sam. 30 mars 2024, 22:16, Matteo Crippa ***@***.***> a
écrit :
… @cromes85 <https://github.com/cromes85> did you try now using the main
branch?
—
Reply to this email directly, view it on GitHub
<#23 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AENQRJRRM6BFFWA56WRT443Y24MSHAVCNFSM6AAAAABE2PX326VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRYGQ3TANRSHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@cromes85 still same error? |
Describe the bug
Impossible de compiler
To Reproduce
Steps to reproduce the behavior:
Processing esp8266 (platform: espressif8266; board: d1_mini; framework: arduino)
Verbose mode can be enabled via
-v, --verbose
optionCONFIGURATION: https://docs.platformio.org/page/boards/espressif8266/d1_mini.html
PLATFORM: Espressif 8266 (4.0.1) > WeMos D1 R2 and mini
HARDWARE: ESP8266 160MHz, 80KB RAM, 4MB Flash
PACKAGES:
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 40 compatible libraries
Scanning dependencies...
Dependency Graph
|-- TridentTD_ESP_TrueRandom @ 1.0.0+sha.0ff7623
|-- cJSON @ 0.0.0+20240317212805.sha.87d8f09
|-- ESP Async WebServer @ 1.2.3+sha.f71e3d4
|-- Preferences @ 2.1.0
|-- DNSServer @ 1.1.1
|-- ESP8266mDNS @ 1.2
|-- ESP8266WiFi @ 1.0
|-- ESP8266HTTPClient @ 1.2
Building in debug mode
Compiling .pio\build\esp8266\src\network\accesspoint.cpp.o
Archiving .pio\build\esp8266\lib13a\libESPAsyncTCP.a
Archiving .pio\build\esp8266\lib0f8\libHash.a
Compiling .pio\build\esp8266\lib26f\ESP8266WiFi\ESP8266WiFiGeneric.cpp.o
Compiling .pio\build\esp8266\lib26f\ESP8266WiFi\ESP8266WiFiGratuitous.cpp.o
Compiling .pio\build\esp8266\lib26f\ESP8266WiFi\ESP8266WiFiMulti.cpp.o
Compiling .pio\build\esp8266\lib26f\ESP8266WiFi\ESP8266WiFiSTA-WPS.cpp.o
Compiling .pio\build\esp8266\lib26f\ESP8266WiFi\ESP8266WiFiSTA.cpp.o
Compiling .pio\build\esp8266\lib26f\ESP8266WiFi\ESP8266WiFiScan.cpp.o
Compiling .pio\build\esp8266\lib26f\ESP8266WiFi\WiFiClient.cpp.o
Compiling .pio\build\esp8266\lib26f\ESP8266WiFi\WiFiClientSecureBearSSL.cpp.o
Compiling .pio\build\esp8266\lib26f\ESP8266WiFi\WiFiServer.cpp.o
Compiling .pio\build\esp8266\lib26f\ESP8266WiFi\WiFiServerSecureBearSSL.cpp.o
Compiling .pio\build\esp8266\lib26f\ESP8266WiFi\WiFiUdp.cpp.o
Compiling .pio\build\esp8266\lib26f\ESP8266WiFi\enable_wifi_at_boot_time.cpp.o
Compiling .pio\build\esp8266\liba12\ESP Async WebServer\AsyncEventSource.cpp.o
Compiling .pio\build\esp8266\liba12\ESP Async WebServer\AsyncWebSocket.cpp.o
Compiling .pio\build\esp8266\liba12\ESP Async WebServer\SPIFFSEditor.cpp.o
Compiling .pio\build\esp8266\liba12\ESP Async WebServer\WebAuthentication.cpp.o
Compiling .pio\build\esp8266\liba12\ESP Async WebServer\WebHandlers.cpp.o
Compiling .pio\build\esp8266\liba12\ESP Async WebServer\WebRequest.cpp.o
Compiling .pio\build\esp8266\liba12\ESP Async WebServer\WebResponses.cpp.o
Compiling .pio\build\esp8266\liba12\ESP Async WebServer\WebServer.cpp.o
Compiling .pio\build\esp8266\lib560\LittleFS\LittleFS.cpp.o
Compiling .pio\build\esp8266\lib560\LittleFS\lfs.c.o
src\network\accesspoint.cpp: In function 'void accesspoint_print_error()':
src\network\accesspoint.cpp:62:32: error: 'class UpdaterClass' has no member named 'getErrorString'
62 | std::string error = Update.getErrorString().c_str();
| ^~~~~~~~~~~~~~
In file included from .pio\libdeps\esp8266\ESP Async WebServer\src\SPIFFSEditor.cpp:1:
.pio\libdeps\esp8266\ESP Async WebServer\src\SPIFFSEditor.h:16:101: warning: 'SPIFFS' is deprecated: SPIFFS has been deprecated. Please consider moving to LittleFS or
other filesystems. [-Wdeprecated-declarations] 16 | SPIFFSEditor(const String& username=String(), const String& password=String(), const fs::FS& fs=SPIFFS);
| ^~~~~~
In file included from .pio\libdeps\esp8266\ESP Async WebServer\src/ESPAsyncWebServer.h:27,
from .pio\libdeps\esp8266\ESP Async WebServer\src\SPIFFSEditor.h:3,
from .pio\libdeps\esp8266\ESP Async WebServer\src\SPIFFSEditor.cpp:1:
C:\Users\Home-Pc1.platformio\packages\framework-arduinoespressif8266\cores\esp8266/FS.h:275:15: note: declared here
275 | extern fs::FS SPIFFS attribute((deprecated("SPIFFS has been deprecated. Please consider moving to LittleFS or other filesystems.")));
| ^~~~~~
Compiling .pio\build\esp8266\lib560\LittleFS\lfs_util.c.o
Compiling .pio\build\esp8266\lib09c\Preferences\Preferences.cpp.o
*** [.pio\build\esp8266\src\network\accesspoint.cpp.o] Error 1
============================================================= [FAILED] Took 6.73 seconds =============================================================
The text was updated successfully, but these errors were encountered: