toolchain-xtensa @ 2.40802.200502 (4.8.2)
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
[nanopb] Installing Protocol Buffers dependencies
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Requirement already satisfied: protobuf>=3.19.1 in c:\python\python311\lib\site-packages (4.23.4)
[nanopb] No generation needed.
Found 42 compatible libraries
Scanning dependencies...
Dependency Graph
|-- PubSubClient @ 2.8.0
|-- Nanopb @ 0.3.9+5.sha.accfbbb
|-- rc-switch @ 2.6.4
|-- esp_framework @ 1.0
|-- Wire @ 1.0
Building in release mode
Compiling .pio\build\relay-all\src\Dimming.cpp.o
Compiling .pio\build\relay-all\src\RadioReceive.cpp.o
Compiling .pio\build\relay-all\src\Relay.cpp.o
Compiling .pio\build\relay-all\src\RelayConfig.pb.c.o
Compiling .pio\build\relay-all\src\main.cpp.o
Generating LD script .pio\build\relay-all\ld\local.eagle.app.v6.common.ld
Compiling .pio\build\relay-all\lib01a\PubSubClient\PubSubClient.cpp.o
Compiling .pio\build\relay-all\lib1a1\Nanopb@src-7175274c3fb6789bcb487a531f5a6463\pb_common.c.o
Compiling .pio\build\relay-all\lib1a1\Nanopb@src-7175274c3fb6789bcb487a531f5a6463\pb_decode.c.o
Compiling .pio\build\relay-all\lib1a1\Nanopb@src-7175274c3fb6789bcb487a531f5a6463\pb_encode.c.o
Compiling .pio\build\relay-all\lib4d2\rc-switch\RCSwitch.cpp.o
Compiling .pio\build\relay-all\lib395\ESP8266WiFi\BearSSLHelpers.cpp.o
Compiling .pio\build\relay-all\lib395\ESP8266WiFi\CertStoreBearSSL.cpp.o
Compiling .pio\build\relay-all\lib395\ESP8266WiFi\ESP8266WiFi.cpp.o
Compiling .pio\build\relay-all\lib395\ESP8266WiFi\ESP8266WiFiAP.cpp.o
Compiling .pio\build\relay-all\lib395\ESP8266WiFi\ESP8266WiFiGeneric.cpp.o
Compiling .pio\build\relay-all\lib395\ESP8266WiFi\ESP8266WiFiMulti.cpp.o
Compiling .pio\build\relay-all\lib395\ESP8266WiFi\ESP8266WiFiSTA-WPS.cpp.o
Compiling .pio\build\relay-all\lib395\ESP8266WiFi\ESP8266WiFiSTA.cpp.o
Compiling .pio\build\relay-all\lib395\ESP8266WiFi\ESP8266WiFiScan.cpp.o
Compiling .pio\build\relay-all\lib395\ESP8266WiFi\WiFiClient.cpp.o
Compiling .pio\build\relay-all\lib395\ESP8266WiFi\WiFiClientSecureAxTLS.cpp.o
Compiling .pio\build\relay-all\lib395\ESP8266WiFi\WiFiClientSecureBearSSL.cpp.o
Compiling .pio\build\relay-all\lib395\ESP8266WiFi\WiFiServer.cpp.o
Compiling .pio\build\relay-all\lib395\ESP8266WiFi\WiFiServerSecureAxTLS.cpp.o
Compiling .pio\build\relay-all\lib395\ESP8266WiFi\WiFiServerSecureBearSSL.cpp.o
Compiling .pio\build\relay-all\lib395\ESP8266WiFi\WiFiUdp.cpp.o
Compiling .pio\build\relay-all\libe27\ESP8266WebServer\detail\mimetable.cpp.o
Archiving .pio\build\relay-all\lib1a1\[email protected]
In file included from include/Dimming.h:6:0,
from src\Dimming.cpp:3:
include/Relay.h:52:17: error: 'WebServer' has not been declared
void httpDo(WebServer *server);
^
include/Relay.h:53:22: error: 'WebServer' has not been declared
void httpSetting(WebServer *server);
^
include/Relay.h:54:17: error: 'WebServer' has not been declared
void httpHa(WebServer *server);
^
include/Relay.h:56:27: error: 'WebServer' has not been declared
void httpRadioReceive(WebServer *server);
^
include/Relay.h:98:18: error: 'WebServer' has not been declared
void httpAdd(WebServer server);
^
include/Relay.h:99:19: error: 'WebServer' has not been declared
void httpHtml(WebServer server);
^
include/Relay.h:100:26: error: 'WebServer' has not been declared
String httpGetStatus(WebServer server);
^
include/Relay.h:94:10: error: conflicting return type specified for 'virtual bool Relay::mqttCallback(char, char, char)'
bool mqttCallback(char topic, char payload, char cmnd);
^
In file included from include/Relay.h:5:0,
from include/Dimming.h:6,
from src\Dimming.cpp:3:
lib\esp_framework\include/Module.h:39:18: error: overriding 'virtual void Module::mqttCallback(char, char, char)'
virtual void mqttCallback(char *topic, char *payload, char *cmnd);
^
In file included from src\Dimming.cpp:3:0:
include/Dimming.h:52:28: error: 'WebServer' has not been declared
void httpSetBrightness(WebServer *server);
^
include/Dimming.h:53:19: error: 'WebServer' has not been declared
void httpHtml(WebServer *server);
^
include/Dimming.h:54:17: error: 'WebServer' has not been declared
void httpHa(WebServer *server, uint8_t ch);
^
include/Dimming.h:56:26: error: 'WebServer' has not been declared
String httpGetStatus(WebServer *server);
^
src\Dimming.cpp:17:8: error: 'DRAM_ATTR' does not name a type
static DRAM_ATTR ROTARY Rotary;
^
src\Dimming.cpp: In member function 'void Dimming::switchRelayPWM(uint8_t, bool, bool)':
src\Dimming.cpp:170:9: error: 'Log' has not been declared
Log::Info(PSTR("PWMRelay %d . . . %s"), ch + 1, isOn ? "ON" : "OFF");
^
src\Dimming.cpp:239:9: error: 'Log' has not been declared
Log::Info(PSTR("Relay %d . . . Color:%d %d %d Brightness:%d %d %d"), ch + 1, ct, icold, target_color[MAX_PWM_NUM * 2 - 1 - pwmch], brightness, iwarm, target_color[pwmch]);
^
src\Dimming.cpp:245:9: error: 'Log' has not been declared
Log::Info(PSTR("Relay %d %d. . . Brightness:%d %d"), ch + 1, pwmch, brightness, target_color[pwmch]);
^
src\Dimming.cpp: In function 'void update_rotary()':
src\Dimming.cpp:340:21: error: 'Rotary' was not declared in this scope
uint8_t state = Rotary.state & 3;
^
In file included from include/RadioReceive.h:7:0,
from src\RadioReceive.cpp:2:
include/Relay.h:52:17: error: 'WebServer' has not been declared
void httpDo(WebServer *server);
^
include/Relay.h:53:22: error: 'WebServer' has not been declared
void httpSetting(WebServer *server);
^
include/Relay.h:54:17: error: 'WebServer' has not been declared
void httpHa(WebServer *server);
^
src\Dimming.cpp: In member function 'void Dimming::RotaryInit()':
src\Dimming.cpp:379:9: error: 'Rotary' was not declared in this scope
Rotary.pinA = ROT_PIN[0];
^
include/Relay.h:56:27: error: 'WebServer' has not been declared
void httpRadioReceive(WebServer *server);
^
src\Dimming.cpp:386:9: error: 'Rotary' was not declared in this scope
Rotary.pinB = ROT_PIN[1];
^
include/Relay.h:98:18: error: 'WebServer' has not been declared
void httpAdd(WebServer server);
^
include/Relay.h:99:19: error: 'WebServer' has not been declared
void httpHtml(WebServer server);
^
include/Relay.h:100:26: error: 'WebServer' has not been declared
String httpGetStatus(WebServer server);
^
src\Dimming.cpp: In member function 'bool Dimming::RotaryButtonPressed()':
src\Dimming.cpp:395:9: error: 'Rotary' was not declared in this scope
if (Rotary.changed)
^
include/Relay.h:94:10: error: conflicting return type specified for 'virtual bool Relay::mqttCallback(char, char, char)'
bool mqttCallback(char topic, char payload, char cmnd);
^
src\Dimming.cpp: In member function 'void Dimming::RotaryHandler()':
src\Dimming.cpp:404:9: error: 'Rotary' was not declared in this scope
if (Rotary.interrupts_in_use < 2)
^
In file included from include/Relay.h:5:0,
from include/RadioReceive.h:7,
from src\RadioReceive.cpp:2:
lib\esp_framework\include/Module.h:39:18: error: overriding 'virtual void Module::mqttCallback(char, char, char)'
virtual void mqttCallback(char *topic, char *payload, char *cmnd);
^
src\Dimming.cpp:413:9: error: 'Rotary' was not declared in this scope
if (Rotary.position != 0)
^
src\Dimming.cpp:431:13: error: 'Log' has not been declared
Log::Info(PSTR("SetColorTemp: %d"), Rotary.position);
^
src\Dimming.cpp:447:13: error: 'Log' has not been declared
Log::Info(PSTR("SetBrightness: %d"), Rotary.position);
^
src\RadioReceive.cpp: In member function 'void RadioReceive::study(uint8_t)':
src\RadioReceive.cpp:46:5: error: 'Log' has not been declared
Log::Info(PSTR("Receive study . . . "));
^
src\RadioReceive.cpp: In member function 'void RadioReceive::del(uint8_t)':
src\RadioReceive.cpp:53:5: error: 'Log' has not been declared
Log::Info(PSTR("Receive del . . . "));
^
src\RadioReceive.cpp: In member function 'void RadioReceive::delAll()':
src\RadioReceive.cpp:63:5: error: 'Log' has not been declared
Log::Info(PSTR("Receive delAll . . . "));
^
src\RadioReceive.cpp: In member function 'void RadioReceive::loop()':
src\RadioReceive.cpp:70:9: error: 'Log' has not been declared
Log::Info(PSTR("Receive study timeout"));
^
src\RadioReceive.cpp:112:21: error: 'Log' has not been declared
Log::Info(PSTR("Received %d to channel %d"), value, ch + 1);
^
src\Dimming.cpp: In member function 'void Dimming::RotaryLoop()':
src\Dimming.cpp:460:35: error: 'Rotary' was not declared in this scope
if (((int32_t)(millis() - Rotary.debounce)) > 0)
^
src\Dimming.cpp: At global scope:
src\Dimming.cpp:469:33: error: variable or field 'httpSetBrightness' declared void
void Dimming::httpSetBrightness(WebServer *server)
^
src\Dimming.cpp:469:33: error: 'WebServer' was not declared in this scope
src\RadioReceive.cpp: In member function 'void RadioReceive::delStudy(uint8_t, long unsigned int)':
src\RadioReceive.cpp:156:5: error: 'Log' has not been declared
Log::Info(PSTR("Received %d del to channel %d"), value, (ch) + 1);
^
src\Dimming.cpp:469:44: error: 'server' was not declared in this scope
void Dimming::httpSetBrightness(WebServer *server)
^
src\RadioReceive.cpp: In member function 'void RadioReceive::saveStudy(uint8_t, long unsigned int)':
src\RadioReceive.cpp:162:5: error: 'Log' has not been declared
Log::Info(PSTR("study index %d %d"), ch, index);
^
src\RadioReceive.cpp:167:13: error: 'Log' has not been declared
Log::Info(PSTR("Received %d study to channel %d is has"), value, (ch) + 1);
^
src\RadioReceive.cpp:188:5: error: 'Log' has not been declared
Log::Info(PSTR("Received %d study to channel %d"), value, (ch) + 1);
^
In file included from src\Relay.cpp:1:0:
include/Relay.h:52:17: error: 'WebServer' has not been declared
void httpDo(WebServer *server);
^
include/Relay.h:53:22: error: 'WebServer' has not been declared
void httpSetting(WebServer *server);
^
include/Relay.h:54:17: error: 'WebServer' has not been declared
void httpHa(WebServer *server);
^
include/Relay.h:56:27: error: 'WebServer' has not been declared
void httpRadioReceive(WebServer *server);
^
include/Relay.h:98:18: error: 'WebServer' has not been declared
void httpAdd(WebServer server);
^
include/Relay.h:99:19: error: 'WebServer' has not been declared
void httpHtml(WebServer server);
^
include/Relay.h:100:26: error: 'WebServer' has not been declared
String httpGetStatus(WebServer server);
^
include/Relay.h:94:10: error: conflicting return type specified for 'virtual bool Relay::mqttCallback(char, char, char)'
bool mqttCallback(char topic, char payload, char cmnd);
^
In file included from include/Relay.h:5:0,
from src\Relay.cpp:1:
lib\esp_framework\include/Module.h:39:18: error: overriding 'virtual void Module::mqttCallback(char, char, char)'
virtual void mqttCallback(char *topic, char *payload, char *cmnd);
^
In file included from src\Relay.cpp:3:0:
include/Dimming.h:52:28: error: 'WebServer' has not been declared
void httpSetBrightness(WebServer *server);
^
include/Dimming.h:53:19: error: 'WebServer' has not been declared
void httpHtml(WebServer *server);
^
include/Dimming.h:54:17: error: 'WebServer' has not been declared
void httpHa(WebServer *server, uint8_t ch);
^
include/Dimming.h:56:26: error: 'WebServer' has not been declared
String httpGetStatus(WebServer *server);
^
src\Relay.cpp: In member function 'virtual void Relay::readConfig()':
src\Relay.cpp:226:12: error: 'FSReadConfig' is not a member of 'Config'
isOk = Config::FSReadConfig(RELAY_CONFIG, RELAY_CFG_VERSION, sizeof(RelayConfigMessage), RelayConfigMessage_fields, &config, configCrc);
^
src\Relay.cpp:226:130: error: 'configCrc' was not declared in this scope
isOk = Config::FSReadConfig(RELAY_CONFIG, RELAY_CFG_VERSION, sizeof(RelayConfigMessage), RelayConfigMessage_fields, &config, configCrc);