Hello!
I’m trying to compile firmware, but there is an error while compiling html side.
MacOS/Windows
Node.JS last version
Visual Studio last version
PlatformioIDE last version
Already tried to compile original source without changes. Same problem exists…
Please help to solve
Error:
Executing task: platformio run --environment d1_mini
Processing d1_mini (board: d1_mini; platform: espressif8266@4.2.0; framework: arduino)
Verbose mode can be enabled via -v, --verbose
option
*** use existing my_config.h ***
CONFIGURATION: Redirecting...
PLATFORM: Espressif 8266 (4.2.0) > WeMos D1 R2 and mini
HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
PACKAGES:
- framework-arduinoespressif8266 @ 3.30102.0 (3.1.2)
- tool-esptool @ 1.413.0 (4.13)
- tool-esptoolpy @ 1.40501.0 (4.5.1)
- toolchain-xtensa @ 2.100300.220621 (10.3.0)
Converting wled00.ino
LDF: Library Dependency Finder → Library Dependency Finder (LDF) — PlatformIO latest documentation
LDF Modes: Finder ~ chain, Compatibility ~ strict
Found 43 compatible libraries
Scanning dependencies…
Dependency Graph
|-- ESPAsyncTCP @ 1.2.2
|-- ESPAsyncUDP @ 0.0.0-alpha+sha.697c75a025
|-- FastLED @ 3.6.0
|-- IRremoteESP8266 @ 2.8.2
|-- NeoPixelBus @ 2.7.5
|-- ESPAsyncWebServerAircoookie @ 2.0.7+sha.b9349dc
|-- Wire @ 1.0
|-- SD @ 2.0.0
|-- SPI @ 1.0
|-- EEPROM @ 1.0
|-- ArduinoOTA @ 1.0
|-- DNSServer @ 1.1.1
|-- ESP8266WiFi @ 1.0
|-- ESP8266mDNS @ 1.2
|-- LittleFS @ 0.1.0
|-- ESP8266WebServer @ 1.0
Building in release mode
Compiling .pio/build/d1_mini/src/wled00.ino.cpp.o
Compiling .pio/build/d1_mini/src/wled_server.cpp.o
wled00/wled_server.cpp: In lambda function:
wled00/wled_server.cpp:122:83: error: ‘PAGE_liveviewws2D’ was not declared in this scope
122 | AsyncWebServerResponse *response = request->beginResponse_P(200, “text/html”, PAGE_liveviewws2D, PAGE_liveviewws2D_length);
| ^~~~~~~~~~~~~~~~~
wled00/wled_server.cpp:122:102: error: ‘PAGE_liveviewws2D_length’ was not declared in this scope
122 | AsyncWebServerResponse *response = request->beginResponse_P(200, “text/html”, PAGE_liveviewws2D, PAGE_liveviewws2D_length);
| ^~~~~~~~~~~~~~~~~~~~~~~~
wled00/wled_server.cpp: In lambda function:
wled00/wled_server.cpp:131:83: error: ‘PAGE_liveview’ was not declared in this scope
131 | AsyncWebServerResponse *response = request->beginResponse_P(200, “text/html”, PAGE_liveview, PAGE_liveview_length);
| ^~~~~~~~~~~~~
wled00/wled_server.cpp:131:98: error: ‘PAGE_liveview_length’ was not declared in this scope
131 | AsyncWebServerResponse *response = request->beginResponse_P(200, “text/html”, PAGE_liveview, PAGE_liveview_length);
| ^~~~~~~~~~~~~~~~~~~~
wled00/wled_server.cpp: In lambda function:
wled00/wled_server.cpp:405:83: error: ‘PAGE_404’ was not declared in this scope
405 | AsyncWebServerResponse *response = request->beginResponse_P(404, “text/html”, PAGE_404, PAGE_404_length);
| ^~~~~~~~
wled00/wled_server.cpp:405:93: error: ‘PAGE_404_length’ was not declared in this scope
405 | AsyncWebServerResponse response = request->beginResponse_P(404, “text/html”, PAGE_404, PAGE_404_length);
| ^~~~~~~~~~~~~~~
wled00/wled_server.cpp: In function 'void serveSettings(AsyncWebServerRequest, bool)':
wled00/wled_server.cpp:616:82: error: ‘PAGE_settings_wifi’ was not declared in this scope; did you mean ‘PAGE_settingsCss’?
616 | case SUBPAGE_WIFI : response = request->beginResponse_P(200, “text/html”, PAGE_settings_wifi, PAGE_settings_wifi_length); break;
| ^~~~~~~~~~~~~~~~~~
| PAGE_settingsCss
wled00/wled_server.cpp:616:102: error: ‘PAGE_settings_wifi_length’ was not declared in this scope; did you mean ‘PAGE_settingsCss_length’?
616 | case SUBPAGE_WIFI : response = request->beginResponse_P(200, “text/html”, PAGE_settings_wifi, PAGE_settings_wifi_length); break;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| PAGE_settingsCss_length
wled00/wled_server.cpp:617:82: error: ‘PAGE_settings_leds’ was not declared in this scope; did you mean ‘PAGE_settingsCss’?
617 | case SUBPAGE_LEDS : response = request->beginResponse_P(200, “text/html”, PAGE_settings_leds, PAGE_settings_leds_length); break;
| ^~~~~~~~~~~~~~~~~~
| PAGE_settingsCss
wled00/wled_server.cpp:617:102: error: ‘PAGE_settings_leds_length’ was not declared in this scope; did you mean ‘PAGE_settingsCss_length’?
617 | case SUBPAGE_LEDS : response = request->beginResponse_P(200, “text/html”, PAGE_settings_leds, PAGE_settings_leds_length); break;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| PAGE_settingsCss_length
wled00/wled_server.cpp:618:82: error: ‘PAGE_settings_ui’ was not declared in this scope; did you mean ‘PAGE_settingsCss’?
618 | case SUBPAGE_UI : response = request->beginResponse_P(200, “text/html”, PAGE_settings_ui, PAGE_settings_ui_length); break;
| ^~~~~~~~~~~~~~~~
| PAGE_settingsCss
wled00/wled_server.cpp:618:102: error: ‘PAGE_settings_ui_length’ was not declared in this scope; did you mean ‘PAGE_settingsCss_length’?
618 | case SUBPAGE_UI : response = request->beginResponse_P(200, “text/html”, PAGE_settings_ui, PAGE_settings_ui_length); break;
| ^~~~~~~~~~~~~~~~~~~~~~~
| PAGE_settingsCss_length
wled00/wled_server.cpp:619:82: error: ‘PAGE_settings_sync’ was not declared in this scope; did you mean ‘PAGE_settingsCss’?
619 | case SUBPAGE_SYNC : response = request->beginResponse_P(200, “text/html”, PAGE_settings_sync, PAGE_settings_sync_length); break;
| ^~~~~~~~~~~~~~~~~~
| PAGE_settingsCss
wled00/wled_server.cpp:619:102: error: ‘PAGE_settings_sync_length’ was not declared in this scope; did you mean ‘PAGE_settingsCss_length’?
619 | case SUBPAGE_SYNC : response = request->beginResponse_P(200, “text/html”, PAGE_settings_sync, PAGE_settings_sync_length); break;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| PAGE_settingsCss_length
wled00/wled_server.cpp:620:82: error: ‘PAGE_settings_time’ was not declared in this scope; did you mean ‘PAGE_settingsCss’?
620 | case SUBPAGE_TIME : response = request->beginResponse_P(200, “text/html”, PAGE_settings_time, PAGE_settings_time_length); break;
| ^~~~~~~~~~~~~~~~~~
| PAGE_settingsCss
wled00/wled_server.cpp:620:102: error: ‘PAGE_settings_time_length’ was not declared in this scope; did you mean ‘PAGE_settingsCss_length’?
620 | case SUBPAGE_TIME : response = request->beginResponse_P(200, “text/html”, PAGE_settings_time, PAGE_settings_time_length); break;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| PAGE_settingsCss_length
wled00/wled_server.cpp:621:82: error: ‘PAGE_settings_sec’ was not declared in this scope; did you mean ‘PAGE_settingsCss’?
621 | case SUBPAGE_SEC : response = request->beginResponse_P(200, “text/html”, PAGE_settings_sec, PAGE_settings_sec_length); break;
| ^~~~~~~~~~~~~~~~~
| PAGE_settingsCss
wled00/wled_server.cpp:621:102: error: ‘PAGE_settings_sec_length’ was not declared in this scope; did you mean ‘PAGE_settingsCss_length’?
621 | case SUBPAGE_SEC : response = request->beginResponse_P(200, “text/html”, PAGE_settings_sec, PAGE_settings_sec_length); break;
| ^~~~~~~~~~~~~~~~~~~~~~~~
| PAGE_settingsCss_length
wled00/wled_server.cpp:625:82: error: ‘PAGE_settings_um’ was not declared in this scope; did you mean ‘PAGE_settingsCss’?
625 | case SUBPAGE_UM : response = request->beginResponse_P(200, “text/html”, PAGE_settings_um, PAGE_settings_um_length); break;
| ^~~~~~~~~~~~~~~~
| PAGE_settingsCss
wled00/wled_server.cpp:625:102: error: ‘PAGE_settings_um_length’ was not declared in this scope; did you mean ‘PAGE_settingsCss_length’?
625 | case SUBPAGE_UM : response = request->beginResponse_P(200, “text/html”, PAGE_settings_um, PAGE_settings_um_length); break;
| ^~~~~~~~~~~~~~~~~~~~~~~
| PAGE_settingsCss_length
wled00/wled_server.cpp:626:82: error: ‘PAGE_update’ was not declared in this scope; did you mean ‘PAGE_cpal’?
626 | case SUBPAGE_UPDATE : response = request->beginResponse_P(200, “text/html”, PAGE_update, PAGE_update_length); break;
| ^~~~~~~~~~~
| PAGE_cpal
wled00/wled_server.cpp:626:102: error: ‘PAGE_update_length’ was not declared in this scope
626 | case SUBPAGE_UPDATE : response = request->beginResponse_P(200, “text/html”, PAGE_update, PAGE_update_length); break;
| ^~~~~~~~~~~~~~~~~~
wled00/wled_server.cpp:628:82: error: ‘PAGE_settings_2D’ was not declared in this scope; did you mean ‘PAGE_settingsCss’?
628 | case SUBPAGE_2D : response = request->beginResponse_P(200, “text/html”, PAGE_settings_2D, PAGE_settings_2D_length); break;
| ^~~~~~~~~~~~~~~~
| PAGE_settingsCss
wled00/wled_server.cpp:628:102: error: ‘PAGE_settings_2D_length’ was not declared in this scope; did you mean ‘PAGE_settingsCss_length’?
628 | case SUBPAGE_2D : response = request->beginResponse_P(200, “text/html”, PAGE_settings_2D, PAGE_settings_2D_length); break;
| ^~~~~~~~~~~~~~~~~~~~~~~
| PAGE_settingsCss_length
wled00/wled_server.cpp:636:82: error: ‘PAGE_settings_pin’ was not declared in this scope; did you mean ‘PAGE_settingsCss’?
636 | case SUBPAGE_PINREQ : response = request->beginResponse_P(200, “text/html”, PAGE_settings_pin, PAGE_settings_pin_length); break;
| ^~~~~~~~~~~~~~~~~
| PAGE_settingsCss
wled00/wled_server.cpp:636:102: error: ‘PAGE_settings_pin_length’ was not declared in this scope; did you mean ‘PAGE_settingsCss_length’?
636 | case SUBPAGE_PINREQ : response = request->beginResponse_P(200, “text/html”, PAGE_settings_pin, PAGE_settings_pin_length); break;
| ^~~~~~~~~~~~~~~~~~~~~~~~
| PAGE_settingsCss_length
wled00/wled_server.cpp:639:82: error: ‘PAGE_welcome’ was not declared in this scope
639 | case SUBPAGE_WELCOME : response = request->beginResponse_P(200, “text/html”, PAGE_welcome, PAGE_welcome_length); break;
| ^~~~~~~~~~~~
wled00/wled_server.cpp:639:102: error: ‘PAGE_welcome_length’ was not declared in this scope
639 | case SUBPAGE_WELCOME : response = request->beginResponse_P(200, “text/html”, PAGE_welcome, PAGE_welcome_length); break;
| ^~~~~~~~~~~~~~~~~~~
wled00/wled_server.cpp:640:69: error: ‘PAGE_settings’ was not declared in this scope; did you mean ‘PAGE_settingsCss’?
640 | default: response = request->beginResponse_P(200, “text/html”, PAGE_settings, PAGE_settings_length); break;
| ^~~~~~~~~~~~~
| PAGE_settingsCss
wled00/wled_server.cpp:640:89: error: ‘PAGE_settings_length’ was not declared in this scope; did you mean ‘PAGE_settingsCss_length’?
640 | default: response = request->beginResponse_P(200, “text/html”, PAGE_settings, PAGE_settings_length); break;
| ^~~~~~~~~~~~~~~~~~~~
| PAGE_settingsCss_length
*** [.pio/build/d1_mini/src/wled_server.cpp.o] Error 1
============================================================ [FAILED] Took 2.67 seconds ============================================================
Environment Status Duration
d1_mini FAILED 00:00:02.669
======================================================= 1 failed, 0 succeeded in 00:00:02.669 =======================================================
- The terminal process “platformio ‘run’, ‘–environment’, ‘d1_mini’” terminated with exit code: 1.
- Terminal will be reused by tasks, press any key to close it.