|
试了好久,删除重装多次,参考了坛子里多个求助帖无果,只能发帖求助大神!!!
WIN7 64位 ; IDE 1.8.11 ;ESP8266 2.5.0(2.5.2/2.6.3)都试过;blinker 库(目前能下载的版本);ESP8266-01S板子;选的Generic ESP8266 Module
Arduino 示例的Blink能正常上传闪烁。Arduino其他示例也能上传。
Blinker示例的任何一个程序都出现“为开发板ESP8266编译时出现错误”。因发帖字数限制,错误报文随机从中间删减后发帖。
#define BLINKER_PRINT Serial
#define BLINKER_WIFI
#include <Blinker.h>
char auth[] = "028e51939526";
char ssid[] = "FAST_771D62";
char pswd[] = "asdfghjkl";
// 新建组件对象
BlinkerButton Button1("btn");
// 按下按键即会执行该函数
void button1_callback(const String & state) {
BLINKER_LOG("get button state: ", state);
digitalWrite(LED_BUILTIN, !digitalRead(LED_BUILTIN));
}
// 如果未绑定的组件被触发,则会执行其中内容
void dataRead(const String & data)
{
BLINKER_LOG("Blinker readString: ", data);
}
void setup() {
// 初始化串口
Serial.begin(115200);
#if defined(BLINKER_PRINT)
BLINKER_DEBUG.stream(BLINKER_PRINT);
#endif
// 初始化有LED的IO
pinMode(LED_BUILTIN, OUTPUT);
digitalWrite(LED_BUILTIN, HIGH);
// 初始化blinker
Blinker.begin(auth, ssid, pswd);
Blinker.attachData(dataRead);
Button1.attach(button1_callback);
}
void loop() {
Blinker.run();
}
Arduino:1.8.11 (Windows 7), 开发板:"Generic ESP8266 Module, 80 MHz, Flash, Disabled, All SSL ciphers (most compatible), ck, 26 MHz, 40MHz, DOUT (compatible), 512K (no SPIFFS), 2, nonos-sdk 2.2.1 (legacy), v2 Lower Memory, Disabled, None, Only Sketch, 115200"
下载 https://downloads.arduino.cc/packages/package_index.json 时出错
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\ESP01SBlinker.ino.cpp.o: in function `BlinkerApi::ntpConfig()':
C:\Users\Administrator\Documents\Arduino\libraries\src/Blinker/BlinkerApi.h:7911: undefined reference to `_cdState'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\ESP01SBlinker.ino.cpp.o.text._ZN10BlinkerApi15countdownConfigEv+0x10): undefined reference to `_cdRunState'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\ESP01SBlinker.ino.cpp.o.text._ZN10BlinkerApi15countdownConfigEv+0x34): undefined reference to `_cdTime1'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\ESP01SBlinker.ino.cpp.o.text._ZN10BlinkerApi15countdownConfigEv+0x44): undefined reference to `_cdStart'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\ESP01SBlinker.ino.cpp.o.text._ZN10BlinkerApi15countdownConfigEv+0x88): undefined reference to `_cdTime2'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\ESP01SBlinker.ino.cpp.o: in function `BlinkerApi::countdownConfig()':
C:\Users\Administrator\Documents\Arduino\libraries\src/Blinker/BlinkerApi.h:8348: undefined reference to `_lpState'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\ESP01SBlinker.ino.cpp.o:C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.2\cores\esp8266/WString.h:117: undefined reference to `_lpTimes'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\ESP01SBlinker.ino.cpp.o:C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.2\cores\esp8266/WString.h:157: undefined reference to `_lpRunState'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\ESP01SBlinker.ino.cpp.o:C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.2\cores\esp8266/WString.h:157: undefined reference to `_lpTrigged_times'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\ESP01SBlinker.ino.cpp.o:C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.2\cores\esp8266/WString.h:121: undefined reference to `_lpTime1'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\ESP01SBlinker.ino.cpp.o: in function `BlinkerApi::countdownConfig()':
C:\Users\Administrator\Documents\Arduino\libraries\src/Blinker/BlinkerApi.h:8357: undefined reference to `_lpTime2'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\ESP01SBlinker.ino.cpp.o: in function `ArduinoJson6111_00000::BasicJsonDocument<ArduinoJson6111_00000:efaultAllocator>::BasicJsonDocument(unsigned int, ArduinoJson6111_00000:efaultAllocator)':
c:\users\administrator\documents\arduino\libraries\src\modules\arduinojson\arduinojson\document/basicjsondocument.hpp:34: undefined reference to `BLINKER_DEBUG'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: c:\users\administrator\documents\arduino\libraries\src\modules\arduinojson\arduinojson\document/basicjsondocument.hpp:34: undefined reference to `BLINKER_LOG_TIME()'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: c:\users\administrator\documents\arduino\libraries\src\modules\arduinojson\arduinojson\document/basicjsondocument.hpp:34: undefined reference to `BLINKER_LOG_T()'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\ESP01SBlinker.ino.cpp.o: in function `void BLINKER_LOG_ALL<__FlashStringHelper const*, unsigned short>(__FlashStringHelper const*, unsigned short)':
C:\Users\Administrator\Documents\Arduino\libraries\src/Adapters/../Blinker/BlinkerDebug.h:103: undefined reference to `BLINKER_LOG_TIME()'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\ESP01SBlinker.ino.cpp.o: in function `BLINKER_LOG_T<const __FlashStringHelper*, short unsigned int>':
C:\Users\Administrator\Documents\Arduino\libraries\src/Adapters/../Blinker/BlinkerDebug.h:72: undefined reference to `BLINKER_LOG_T()'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\ESP01SBlinker.ino.cpp.o:C:\Users\Administrator\Documents\Arduino\libraries\src/Adapters/../Blinker/BlinkerDebug.h:47: undefined reference to `BLINKER_LOG_TIME()'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\ESP01SBlinker.ino.cpp.o: in function `void BLINKER_LOG<IPAddress>(IPAddress)':
C:\Users\Administrator\Documents\Arduino\libraries\src/Adapters/../Blinker/BlinkerDebug.h:84: undefined reference to `BLINKER_LOG_T()'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\ESP01SBlinker.ino.cpp.o:C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.2\libraries\EEPROM/EEPROM.h:58: undefined reference to `BLINKER_LOG_TIME()'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\ESP01SBlinker.ino.cpp.o: in function `void BLINKER_LOG_ALL<__FlashStringHelper const*, unsigned long>(__FlashStringHelper const*, unsigned long)':
C:\Users\Administrator\Documents\Arduino\libraries\src/Blinker/BlinkerAuto.h:903: undefined reference to `BLINKER_LOG_T()'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\ESP01SBlinker.ino.cpp.o: in function `BLINKER_LOG_T<long unsigned int>':
C:\Users\Administrator\Documents\Arduino\libraries\src/Adapters/../Blinker/BlinkerDebug.h:75: undefined reference to `BLINKER_LOG_TIME()'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\ESP01SBlinker.ino.cpp.o: in function `void BLINKER_LOG_ALL<__FlashStringHelper const*, long>(__FlashStringHelper const*, long)':
C:\Users\Administrator\Documents\Arduino\libraries\src/Adapters/../Blinker/BlinkerDebug.h:105: undefined reference to `BLINKER_LOG_T()'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\ESP01SBlinker.ino.cpp.o: in function `_Z13BLINKER_LOG_TIPK19__FlashStringHelperIEEvT_DpT0_':
C:\Users\Administrator\Documents\Arduino\libraries\src/Adapters/../Blinker/BlinkerDebug.h:72: undefined reference to `BLINKER_LOG_T()'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\ESP01SBlinker.ino.cpp.o: in function `void BLINKER_LOG_ALL<__FlashStringHelper const*>(__FlashStringHelper const*)':
C:\Users\Administrator\Documents\Arduino\libraries\src/Adapters/../Blinker/BlinkerDebug.h:78: undefined reference to `BLINKER_LOG_TIME()'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\ESP01SBlinker.ino.cpp.o: in function `void BLINKER_LOG<__FlashStringHelper const*>(__FlashStringHelper const*)':
C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.2\libraries\EEPROM/EEPROM.h:58: undefined reference to `BLINKER_LOG_TIME()'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\ESP01SBlinker.ino.cpp.o: in function `void BLINKER_ERR_LOG<__FlashStringHelper const*>(__FlashStringHelper const*)':
C:\Users\Administrator\Documents\Arduino\libraries\src/Adapters/../Blinker/BlinkerDebug.h:89: undefined reference to `BLINKER_LOG_TIME()'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\ESP01SBlinker.ino.cpp.o.text._Z15BLINKER_ERR_LOGIIPK19__FlashStringHelperPcS2_EEvDpT_[void BLINKER_ERR_LOG<__FlashStringHelper const*, char*, __FlashStringHelper const*>(__FlashStringHelper const*, char*, __FlashStringHelper const*)]+0x22): undefined reference to `BLINKER_LOG_TIME()'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\ESP01SBlinker.ino.cpp.o: in function `_Z13BLINKER_LOG_TIPK19__FlashStringHelperIhEEvT_DpT0_':
C:\Users\Administrator\Documents\Arduino\libraries\src/Adapters/../Blinker/BlinkerDebug.h:98: undefined reference to `BLINKER_LOG_T()'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\ESP01SBlinker.ino.cpp.o: in function `void BLINKER_LOG_ALL<__FlashStringHelper const*, unsigned char>(__FlashStringHelper const*, unsigned char)':
C:\Users\Administrator\Documents\Arduino\libraries\src/Adapters/../Blinker/BlinkerDebug.h:78: undefined reference to `BLINKER_LOG_TIME()'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\ESP01SBlinker.ino.cpp.o.text._Z15BLINKER_LOG_ALLIIPK19__FlashStringHelperhS2_jS2_hEEvDpT_[void BLINKER_LOG_ALL<__FlashStringHelper const*, unsigned char, __FlashStringHelper const*, unsigned int, __FlashStringHelper const*, unsigned char>(__FlashStringHelper const*, unsigned char, __FlashStringHelper const*, unsigned int, __FlashStringHelper const*, unsigned char)]+0x2a): undefined reference to `BLINKER_LOG_TIME()'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\ESP01SBlinker.ino.cpp.o: in function `void BLINKER_LOG_ALL<__FlashStringHelper const*, char*, __FlashStringHelper const*, unsigned char>(__FlashStringHelper const*, char*, __FlashStringHelper const*, unsigned char)':
C:\Users\Administrator\Documents\Arduino\libraries\src/Adapters/../Blinker/BlinkerDebug.h:47: undefined reference to `BLINKER_LOG_TIME()'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\ESP01SBlinker.ino.cpp.o: in function `void BLINKER_LOG_ALL<__FlashStringHelper const*, unsigned char, __FlashStringHelper const*, unsigned char>(__FlashStringHelper const*, unsigned char, __FlashStringHelper const*, unsigned char)':
C:\Users\Administrator\Documents\Arduino\libraries\src/Adapters/../Blinker/BlinkerDebug.h:103: undefined reference to `BLINKER_LOG_TIME()'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\ESP01SBlinker.ino.cpp.o: in function `void BLINKER_LOG_T<char*>(char*)':
C:\Users\Administrator\Documents\Arduino\libraries\src/Adapters/../Blinker/BlinkerDebug.h:72: undefined reference to `BLINKER_LOG_T()'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\ESP01SBlinker.ino.cpp.o: in function `void BLINKER_LOG_ALL<__FlashStringHelper const*, char*>(__FlashStringHelper const*, char*)':
C:\Users\Administrator\Documents\Arduino\libraries\src/Adapters/../Blinker/BlinkerDebug.h:103: undefined reference to `BLINKER_LOG_TIME()'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\ESP01SBlinker.ino.cpp.o: in function `BlinkerOTA::loadVersion()':
C:\Users\Administrator\Documents\Arduino\libraries\src/Blinker/../Functions/BlinkerOTA.h:550: undefined reference to `BLINKER_LOG_FreeHeap_ALL()'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\ESP01SBlinker.ino.cpp.o: in function `BlinkerProtocol::_print(char*, bool)':
C:\Users\Administrator\Documents\Arduino\libraries\src/Blinker/../Functions/BlinkerOTA.h:561: undefined reference to `BLINKER_LOG_FreeHeap_ALL()'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\ESP01SBlinker.ino.cpp.o: in function `BlinkerProtocol::checkAutoFormat()':
C:\Users\Administrator\Documents\Arduino\libraries\src/Blinker/BlinkerProtocol.h:284: undefined reference to `BLINKER_LOG_FreeHeap_ALL()'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\ESP01SBlinker.ino.cpp.o: in function `BlinkerProtocol::printNow()':
C:\Users\Administrator\Documents\Arduino\libraries\src/Blinker/BlinkerProtocol.h:304: undefined reference to `BLINKER_LOG_FreeHeap_ALL()'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\ESP01SBlinker.ino.cpp.o: in function `void BLINKER_LOG_ALL<char*>(char*)':
C:\Users\Administrator\Documents\Arduino\libraries\src/Adapters/../Blinker/BlinkerDebug.h:101: undefined reference to `BLINKER_LOG_TIME()'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\ESP01SBlinker.ino.cpp.o: in function `_Z13BLINKER_LOG_TI6StringIEEvT_DpT0_':
C:\Users\Administrator\Documents\Arduino\libraries\src/Adapters/../Blinker/BlinkerDebug.h:72: undefined reference to `BLINKER_LOG_T()'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\ESP01SBlinker.ino.cpp.o: in function `_Z13BLINKER_LOG_TIPK19__FlashStringHelperI6StringEEvT_DpT0_':
C:\Users\Administrator\Documents\Arduino\libraries\src/Adapters/../Blinker/BlinkerDebug.h:78: undefined reference to `BLINKER_LOG_TIME()'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\ESP01SBlinker.ino.cpp.o.text._ZN10BlinkerApi12timerSettingEv+0x2c): undefined reference to `taskCount'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\ESP01SBlinker.ino.cpp.o: in function `BLINKER_LOG_T<String, const __FlashStringHelper*, String>':
C:\Users\Administrator\Documents\Arduino\libraries\src/Adapters/../Blinker/BlinkerDebug.h:74: undefined reference to `BLINKER_LOG_TIME()'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\ESP01SBlinker.ino.cpp.o: in function `_Z13BLINKER_LOG_TIPK19__FlashStringHelperIjEEvT_DpT0_':
C:\Users\Administrator\Documents\Arduino\libraries\src/Adapters/../Blinker/BlinkerDebug.h:72: undefined reference to `BLINKER_LOG_T()'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\ESP01SBlinker.ino.cpp.o: in function `void BLINKER_LOG_ALL<__FlashStringHelper const*, unsigned int>(__FlashStringHelper const*, unsigned int)':
C:\Users\Administrator\Documents\Arduino\libraries\src/Adapters/../Blinker/BlinkerDebug.h:78: undefined reference to `BLINKER_LOG_TIME()'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\ESP01SBlinker.ino.cpp.o.text._ZN11BlinkerMQTT9autoPrintEm+0x44): undefined reference to `Adafruit_MQTT::publish(char const*, char const*, unsigned char)'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\ESP01SBlinker.ino.cpp.o: in function `BlinkerMQTT::autoPrint(unsigned long)':
C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.2\cores\esp8266/WString.h:117: undefined reference to `BLINKER_LOG_TIME()'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\ESP01SBlinker.ino.cpp.o: in function `BlinkerMQTT::autoPrint(unsigned long)':
C:\Users\Administrator\Documents\Arduino\libraries\src/Adapters/BlinkerMQTT.h:1329: undefined reference to `Adafruit_MQTT::publish(char const*, char const*, unsigned char)'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\Administrator\Documents\Arduino\libraries\src/Adapters/BlinkerMQTT.h:1349: undefined reference to `WebSocketsServer::remoteIP(unsigned char)'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\Administrator\Documents\Arduino\libraries\src/Adapters/BlinkerMQTT.h:1356: undefined reference to `WebSocketsServer::sendTXT(unsigned char, char const*, unsigned int)'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\Administrator\Documents\Arduino\libraries\src/Adapters/BlinkerMQTT.h:1340: undefined reference to `WebSocketsServer::remoteIP(unsigned char)'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\Administrator\Documents\Arduino\libraries\src/Adapters/BlinkerMQTT.h:1340: undefined reference to `BLINKER_LOG_TIME()'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\ESP01SBlinker.ino.cpp.o: in function `webSocketEvent_MQTT(unsigned char, WStype_t, unsigned char*, unsigned int)':
C:\Users\Administrator\Documents\Arduino\libraries\src/Adapters/BlinkerMQTT.h:255: undefined reference to `WebSocketsServer::sendTXT(unsigned char, char const*, unsigned int)'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\ESP01SBlinker.ino.cpp.o: in function `BLINKER_LOG_T<const __FlashStringHelper*, unsigned char, const __FlashStringHelper*, IPAddress, const __FlashStringHelper*, char*>':
C:\Users\Administrator\Documents\Arduino\libraries\src/Adapters/../Blinker/BlinkerDebug.h:72: undefined reference to `BLINKER_LOG_TIME()'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\ESP01SBlinker.ino.cpp.o: in function `BlinkerOTA::update()':
C:\Users\Administrator\Documents\Arduino\libraries\src/Blinker/../Functions/BlinkerOTA.h:177: undefined reference to `BLINKER_LOG_TIME()'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\Administrator\Documents\Arduino\libraries\src/Blinker/../Functions/BlinkerOTA.h:193: undefined reference to `BLINKER_LOG_TIME()'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\Administrator\Documents\Arduino\libraries\src/Blinker/../Functions/BlinkerOTA.h:224: undefined reference to `BLINKER_LOG_TIME()'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\Administrator\Documents\Arduino\libraries\src/Blinker/../Functions/BlinkerOTA.h:229: undefined reference to `BlinkerUpdaterClass::begin(unsigned int, int, int, unsigned char)'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\Administrator\Documents\Arduino\libraries\src/Blinker/../Functions/BlinkerOTA.h:229: undefined reference to `BlinkerUpdaterClass::writeStream(Stream&)'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\Administrator\Documents\Arduino\libraries\src/Blinker/../Functions/BlinkerOTA.h:231: undefined reference to `BLINKER_LOG_TIME()'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\Administrator\Documents\Arduino\libraries\src/Blinker/../Functions/BlinkerOTA.h:237: undefined reference to `BLINKER_LOG_TIME()'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\ESP01SBlinker.ino.cpp.o: in function `BlinkerOTA::update()':
C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.2\cores\esp8266/WString.h:272: undefined reference to `BlinkerUpdaterClass::end(bool)'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.2\cores\esp8266/WString.h:272: undefined reference to `BLINKER_LOG_TIME()'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\ESP01SBlinker.ino.cpp.o: in function `BlinkerApi::checkOverlapping(unsigned char, unsigned short, unsigned char)':
C:\Users\Administrator\Documents\Arduino\libraries\src/Blinker/BlinkerApi.h:4255: undefined reference to `BLINKER_LOG_TIME()'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\Administrator\Documents\Arduino\libraries\src/Blinker/BlinkerApi.h:4278: undefined reference to `_cdTrigged'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\Administrator\Documents\Arduino\libraries\src/Blinker/BlinkerApi.h:4278: undefined reference to `_lpTrigged'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\Administrator\Documents\Arduino\libraries\src/Blinker/BlinkerApi.h:4278: undefined reference to `_tmTrigged'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\Administrator\Documents\Arduino\libraries\src/Blinker/BlinkerApi.h:8088: undefined reference to `triggedTask'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\ESP01SBlinker.ino.cpp.o: in function `BlinkerApi::checkTimer()':
C:\Users\Administrator\Documents\Arduino\libraries\src/Blinker/BlinkerApi.h:9228: undefined reference to `BLINKER_LOG_TIME()'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\Administrator\Documents\Arduino\libraries\src/Blinker/BlinkerApi.h:9286: undefined reference to `BLINKER_LOG_TIME()'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\Administrator\Documents\Arduino\libraries\src/Blinker/BlinkerApi.h:9323: undefined reference to `BLINKER_LOG_TIME()'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\ESP01SBlinker.ino.cpp.o: in function `BlinkerApi::run()':
C:\Users\Administrator\Documents\Arduino\libraries\src/Blinker/BlinkerApi.h:3149: undefined reference to `STRING_contains_string(String const&, String const&)'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\Administrator\Documents\Arduino\libraries\src/Blinker/BlinkerApi.h:3163: undefined reference to `STRING_contains_string(String const&, String const&)'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\Administrator\Documents\Arduino\libraries\src/Blinker/BlinkerApi.h:3949: undefined reference to `WebSocketsServer::~WebSocketsServer()'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\Administrator\Documents\Arduino\libraries\src/Blinker/BlinkerApi.h:3963: undefined reference to `WebSocketsServer::~WebSocketsServer()'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\ESP01SBlinker.ino.cpp.o:C:\Users\Administrator\Documents\Arduino\libraries\src/Blinker/BlinkerApi.h:3973: undefined reference to `WebSocketsServer::WebSocketsServer(unsigned short, String, String)'
c:/users/administrator/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\ESP01SBlinker.ino.cpp.o: in function `BlinkerApi::run()':
C:\Users\Administrator\Documents\Arduino\libraries\src/Blinker/BlinkerApi.h:3980: undefined reference to `WebSocketsServer::WebSocketsServer(unsigned short, String, String)'
collect2.exe: error: ld returned 1 exit status
exit status 1
为开发板 Generic ESP8266 Module 编译时出错。
找到无效库在 C:\Users\Administrator\Documents\Arduino\libraries\examples: no headers files (.h) found in C:\Users\Administrator\Documents\Arduino\libraries\examples
找到无效库在 C:\Users\Administrator\Documents\Arduino\libraries\test: no headers files (.h) found in C:\Users\Administrator\Documents\Arduino\libraries\test
找到无效库在 C:\Users\Administrator\Documents\Arduino\libraries\examples: no headers files (.h) found in C:\Users\Administrator\Documents\Arduino\libraries\examples
找到无效库在 C:\Users\Administrator\Documents\Arduino\libraries\test: no headers files (.h) found in C:\Users\Administrator\Documents\Arduino\libraries\test
在文件 -> 首选项开启
“编译过程中显示详细输出”选项
这份报告会包含更多信息。
|
|