jnsbyr / esp8266-intexsbh20

MQTT WiFi remote control for the Intex PureSpa SB-H20 and SJB-HS whirlpools
Other
63 stars 20 forks source link

arduino flash ESP error #32

Closed Matze5593 closed 1 year ago

Matze5593 commented 1 year ago

Hello, when I want to flash the ESP D1, I get the following error message:

C:\Users\XxX\Desktop\esp8266-intexsbh20-1.0.3.3\esp8266-intexsbh20\esp8266-intexsbh20.ino: In function 'void setup()': esp8266-intexsbh20:145:31: error: exception handling disabled, use -fexceptions to enable catch (std::runtime_error re) ^ esp8266-intexsbh20:147:22: error: 're' was not declared in this scope Serial.println(re.what()); ^ exit status 1 exception handling disabled, use -fexceptions to enable

louis49 commented 1 year ago

You need to activate exceptions handling in your Arduino IDE

Matze5593 commented 1 year ago

If I activate this, I get more errors

image

`Arduino: 1.8.19 (Windows 10), Board: "LOLIN(WEMOS) D1 R2 & mini, 160 MHz, Flash, Enabled, All SSL ciphers (most compatible), 4MB (FS:2MB OTA:~1019KB), v2 Lower Memory, Disabled, None, Sketch + WiFi Settings, 115200"

c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\AppData\Local\Temp\arduino_build_258814\sketch\esp8266-intexsbh20.ino.cpp.o:(.text._ZZ5setupENUlbE_4_FUNEb+0x4): undefined reference to PureSpaIO::setBubbleOn(bool)' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\AppData\Local\Temp\arduino_build_258814\sketch\esp8266-intexsbh20.ino.cpp.o: in functionoperator()': C:\Users\matze\Desktop\esp8266-intexsbh20-1.0.3.3\esp8266-intexsbh20/esp8266-intexsbh20.ino:105: undefined reference to PureSpaIO::setBubbleOn(bool)' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\AppData\Local\Temp\arduino_build_258814\sketch\esp8266-intexsbh20.ino.cpp.o:(.text._ZZ5setupENUlbE0_4_FUNEb+0x0): undefined reference toPureSpaIO::setFilterOn(bool)' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\AppData\Local\Temp\arduino_build_258814\sketch\esp8266-intexsbh20.ino.cpp.o: in function setup::{lambda(bool)#2}::_FUN(bool)': C:\Users\matze\Desktop\esp8266-intexsbh20-1.0.3.3\esp8266-intexsbh20/esp8266-intexsbh20.ino:106: undefined reference toPureSpaIO::setFilterOn(bool)' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\Desktop\esp8266-intexsbh20-1.0.3.3\esp8266-intexsbh20/esp8266-intexsbh20.ino:106: undefined reference to PureSpaIO::setHeaterOn(bool)' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\AppData\Local\Temp\arduino_build_258814\sketch\esp8266-intexsbh20.ino.cpp.o: in functionsetup::{lambda(bool)#3}::_FUN(bool)': C:\Users\matze\Desktop\esp8266-intexsbh20-1.0.3.3\esp8266-intexsbh20/esp8266-intexsbh20.ino:107: undefined reference to PureSpaIO::setHeaterOn(bool)' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\Desktop\esp8266-intexsbh20-1.0.3.3\esp8266-intexsbh20/esp8266-intexsbh20.ino:107: undefined reference toPureSpaIO::setPowerOn(bool)' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\AppData\Local\Temp\arduino_build_258814\sketch\esp8266-intexsbh20.ino.cpp.o: in function setup::{lambda(bool)#4}::_FUN(bool)': C:\Users\matze\Desktop\esp8266-intexsbh20-1.0.3.3\esp8266-intexsbh20/esp8266-intexsbh20.ino:108: undefined reference toPureSpaIO::setPowerOn(bool)' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\Desktop\esp8266-intexsbh20-1.0.3.3\esp8266-intexsbh20/esp8266-intexsbh20.ino:108: undefined reference to PureSpaIO::setDesiredWaterTempCelsius(int)' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\AppData\Local\Temp\arduino_build_258814\sketch\esp8266-intexsbh20.ino.cpp.o: in functionsetup::{lambda(int)#5}::_FUN(int)': C:\Users\matze\Desktop\esp8266-intexsbh20-1.0.3.3\esp8266-intexsbh20/esp8266-intexsbh20.ino:109: undefined reference to PureSpaIO::setDesiredWaterTempCelsius(int)' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\Desktop\esp8266-intexsbh20-1.0.3.3\esp8266-intexsbh20/esp8266-intexsbh20.ino:109: undefined reference toPureSpaIO::setDisinfectionOn(bool)' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\AppData\Local\Temp\arduino_build_258814\sketch\esp8266-intexsbh20.ino.cpp.o: in function setup::{lambda(bool)#6}::_FUN(bool)': C:\Users\matze\Desktop\esp8266-intexsbh20-1.0.3.3\esp8266-intexsbh20/esp8266-intexsbh20.ino:112: undefined reference toPureSpaIO::setDisinfectionOn(bool)' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\Desktop\esp8266-intexsbh20-1.0.3.3\esp8266-intexsbh20/esp8266-intexsbh20.ino:112: undefined reference to PureSpaIO::setJetOn(bool)' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\AppData\Local\Temp\arduino_build_258814\sketch\esp8266-intexsbh20.ino.cpp.o: in functionsetup::{lambda(bool)#7}::_FUN(bool)': C:\Users\matze\Desktop\esp8266-intexsbh20-1.0.3.3\esp8266-intexsbh20/esp8266-intexsbh20.ino:113: undefined reference to PureSpaIO::setJetOn(bool)' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\AppData\Local\Temp\arduino_build_258814\sketch\esp8266-intexsbh20.ino.cpp.o:(.text._ZZ5setupENUlbE6_4_FUNEb+0x10): undefined reference toConfigurationFile::get(char const)' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\AppData\Local\Temp\arduino_build_258814\sketch\esp8266-intexsbh20.ino.cpp.o:(.text._ZZ5setupENUlbE6_4_FUNEb+0x14): undefined reference to `OTAUpdate::start(char const, MQTTClient&)' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\AppData\Local\Temp\arduino_build_258814\sketch\esp8266-intexsbh20.ino.cpp.o: in function operator()': C:\Users\matze\Desktop\esp8266-intexsbh20-1.0.3.3\esp8266-intexsbh20/esp8266-intexsbh20.ino:119: undefined reference toConfigurationFile::get(char const)' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\Desktop\esp8266-intexsbh20-1.0.3.3\esp8266-intexsbh20/esp8266-intexsbh20.ino:119: undefined reference to `OTAUpdate::start(char const, MQTTClient&)' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\AppData\Local\Temp\arduino_build_258814\sketch\esp8266-intexsbh20.ino.cpp.o:(.text.setup+0xc4): undefined reference to PureSpaIO::getModelName() const' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\AppData\Local\Temp\arduino_build_258814\sketch\esp8266-intexsbh20.ino.cpp.o:(.text.setup+0xc8): undefined reference toConfigurationFile::load(char const)' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\AppData\Local\Temp\arduino_build_258814\sketch\esp8266-intexsbh20.ino.cpp.o:(.text.setup+0xcc): undefined reference to `ConfigurationFile::exists(char const) const' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\AppData\Local\Temp\arduino_build_258814\sketch\esp8266-intexsbh20.ino.cpp.o:(.text.setup+0xd4): undefined reference to MQTTPublisher::setRetainAll(bool)' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\AppData\Local\Temp\arduino_build_258814\sketch\esp8266-intexsbh20.ino.cpp.o:(.text.setup+0xd8): undefined reference toMQTTClient::addMetadata(char const, char const)' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\AppData\Local\Temp\arduino_build_258814\sketch\esp8266-intexsbh20.ino.cpp.o:(.text.setup+0xdc): undefined reference to MQTTClient::addSubscriber(char const*, void (*)(bool))' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\AppData\Local\Temp\arduino_build_258814\sketch\esp8266-intexsbh20.ino.cpp.o:(.text.setup+0xe0): undefined reference toMQTTClient::addSubscriber(char const, void ()(int))' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\AppData\Local\Temp\arduino_build_258814\sketch\esp8266-intexsbh20.ino.cpp.o:(.text.setup+0xe4): undefined reference to PureSpaIO::getModel() const' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\AppData\Local\Temp\arduino_build_258814\sketch\esp8266-intexsbh20.ino.cpp.o:(.text.setup+0xe8): undefined reference toMQTTClient::setup(char const, char const, char const, char const, char const, char const)' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\AppData\Local\Temp\arduino_build_258814\sketch\esp8266-intexsbh20.ino.cpp.o:(.text.setup+0xec): undefined reference to NTCThermometer::setup(unsigned int, float, float)' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\AppData\Local\Temp\arduino_build_258814\sketch\esp8266-intexsbh20.ino.cpp.o:(.text.setup+0x122): undefined reference toPureSpaIO::getModelName() const' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\AppData\Local\Temp\arduino_build_258814\sketch\esp8266-intexsbh20.ino.cpp.o:(.text.setup+0x186): undefined reference to ConfigurationFile::load(char const*)' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\AppData\Local\Temp\arduino_build_258814\sketch\esp8266-intexsbh20.ino.cpp.o:(.text.setup+0x1a7): undefined reference toConfigurationFile::get(char const)' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\AppData\Local\Temp\arduino_build_258814\sketch\esp8266-intexsbh20.ino.cpp.o:(.text.setup+0x1b4): undefined reference to `ConfigurationFile::get(char const)' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\AppData\Local\Temp\arduino_build_258814\sketch\esp8266-intexsbh20.ino.cpp.o: in function setup': C:\Users\matze\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\cores\esp8266/HardwareSerial.h:76: undefined reference toConfigurationFile::exists(char const) const' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\cores\esp8266/HardwareSerial.h:76: undefined reference to `ConfigurationFile::get(char const)' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\AppData\Local\Temp\arduino_build_258814\sketch\esp8266-intexsbh20.ino.cpp.o: in function setup': C:\Users\matze\Desktop\esp8266-intexsbh20-1.0.3.3\esp8266-intexsbh20/esp8266-intexsbh20.ino:84: undefined reference toMQTTPublisher::setRetainAll(bool)' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\Desktop\esp8266-intexsbh20-1.0.3.3\esp8266-intexsbh20/esp8266-intexsbh20.ino:84: undefined reference to PureSpaIO::getModelName() const' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\Desktop\esp8266-intexsbh20-1.0.3.3\esp8266-intexsbh20/esp8266-intexsbh20.ino:85: undefined reference toMQTTClient::addMetadata(char const, char const)' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\Desktop\esp8266-intexsbh20-1.0.3.3\esp8266-intexsbh20/esp8266-intexsbh20.ino:85: undefined reference to MQTTClient::addMetadata(char const*, char const*)' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\Desktop\esp8266-intexsbh20-1.0.3.3\esp8266-intexsbh20/esp8266-intexsbh20.ino:85: undefined reference toMQTTClient::addSubscriber(char const, void ()(bool))' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\Desktop\esp8266-intexsbh20-1.0.3.3\esp8266-intexsbh20/esp8266-intexsbh20.ino:86: undefined reference to MQTTClient::addSubscriber(char const*, void (*)(bool))' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\Desktop\esp8266-intexsbh20-1.0.3.3\esp8266-intexsbh20/esp8266-intexsbh20.ino:86: undefined reference toMQTTClient::addSubscriber(char const, void ()(bool))' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\Desktop\esp8266-intexsbh20-1.0.3.3\esp8266-intexsbh20/esp8266-intexsbh20.ino:90: undefined reference to MQTTClient::addSubscriber(char const*, void (*)(bool))' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\Desktop\esp8266-intexsbh20-1.0.3.3\esp8266-intexsbh20/esp8266-intexsbh20.ino:95: undefined reference toMQTTClient::addSubscriber(char const, void ()(int))' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\Desktop\esp8266-intexsbh20-1.0.3.3\esp8266-intexsbh20/esp8266-intexsbh20.ino:95: undefined reference to PureSpaIO::getModel() const' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\Desktop\esp8266-intexsbh20-1.0.3.3\esp8266-intexsbh20/esp8266-intexsbh20.ino:96: undefined reference toConfigurationFile::exists(char const) const' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\Desktop\esp8266-intexsbh20-1.0.3.3\esp8266-intexsbh20/esp8266-intexsbh20.ino:96: undefined reference to `MQTTClient::addSubscriber(char const, void ()(bool))' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\Desktop\esp8266-intexsbh20-1.0.3.3\esp8266-intexsbh20/esp8266-intexsbh20.ino:99: undefined reference to `MQTTClient::addSubscriber(char const, void ()(bool))' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\Desktop\esp8266-intexsbh20-1.0.3.3\esp8266-intexsbh20/esp8266-intexsbh20.ino:99: undefined reference to `ConfigurationFile::exists(char const) const' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\Desktop\esp8266-intexsbh20-1.0.3.3\esp8266-intexsbh20/esp8266-intexsbh20.ino:99: undefined reference to MQTTClient::addSubscriber(char const*, void (*)(bool))' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\Desktop\esp8266-intexsbh20-1.0.3.3\esp8266-intexsbh20/esp8266-intexsbh20.ino:102: undefined reference toConfigurationFile::get(char const)' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\Desktop\esp8266-intexsbh20-1.0.3.3\esp8266-intexsbh20/esp8266-intexsbh20.ino:107: undefined reference to `ConfigurationFile::exists(char const) const' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\Desktop\esp8266-intexsbh20-1.0.3.3\esp8266-intexsbh20/esp8266-intexsbh20.ino:108: undefined reference to ConfigurationFile::get(char const*)' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\Desktop\esp8266-intexsbh20-1.0.3.3\esp8266-intexsbh20/esp8266-intexsbh20.ino:110: undefined reference toConfigurationFile::get(char const)' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\Desktop\esp8266-intexsbh20-1.0.3.3\esp8266-intexsbh20/esp8266-intexsbh20.ino:117: undefined reference to `ConfigurationFile::get(char const)' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\Desktop\esp8266-intexsbh20-1.0.3.3\esp8266-intexsbh20/esp8266-intexsbh20.ino:123: undefined reference to PureSpaIO::getModelName() const' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\Desktop\esp8266-intexsbh20-1.0.3.3\esp8266-intexsbh20/esp8266-intexsbh20.ino:119: undefined reference toMQTTClient::setup(char const, char const, char const, char const, char const, char const)' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\Desktop\esp8266-intexsbh20-1.0.3.3\esp8266-intexsbh20/esp8266-intexsbh20.ino:125: undefined reference to NTCThermometer::setup(unsigned int, float, float)' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\Desktop\esp8266-intexsbh20-1.0.3.3\esp8266-intexsbh20/esp8266-intexsbh20.ino:141: undefined reference toPureSpaIO::setup(LANG)' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\Desktop\esp8266-intexsbh20-1.0.3.3\esp8266-intexsbh20/esp8266-intexsbh20.ino:141: undefined reference to MQTTClient::loop()' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\Desktop\esp8266-intexsbh20-1.0.3.3\esp8266-intexsbh20/esp8266-intexsbh20.ino:141: undefined reference toMQTTPublisher::loop()' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\Desktop\esp8266-intexsbh20-1.0.3.3\esp8266-intexsbh20/esp8266-intexsbh20.ino:85: undefined reference to PureSpaIO::loop()' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\AppData\Local\Temp\arduino_build_258814\sketch\esp8266-intexsbh20.ino.cpp.o: in functionloop': C:\Users\matze\Desktop\esp8266-intexsbh20-1.0.3.3\esp8266-intexsbh20/esp8266-intexsbh20.ino:145: undefined reference to MQTTClient::addMetadata(char const*, char const*)' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\Desktop\esp8266-intexsbh20-1.0.3.3\esp8266-intexsbh20/esp8266-intexsbh20.ino:145: undefined reference toPureSpaIO::setup(LANG)' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\Desktop\esp8266-intexsbh20-1.0.3.3\esp8266-intexsbh20/esp8266-intexsbh20.ino:154: undefined reference to MQTTClient::loop()' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\Desktop\esp8266-intexsbh20-1.0.3.3\esp8266-intexsbh20/esp8266-intexsbh20.ino:154: undefined reference toMQTTPublisher::loop()' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\Desktop\esp8266-intexsbh20-1.0.3.3\esp8266-intexsbh20/esp8266-intexsbh20.ino:154: undefined reference to PureSpaIO::loop()' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\AppData\Local\Temp\arduino_build_258814\sketch\esp8266-intexsbh20.ino.cpp.o:c:\users\matze\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-4-b40a506\xtensa-lx106-elf\include\c++\4.8.2\bits/stl_tree.h:671: undefined reference toMQTTPublisher::MQTTPublisher(MQTTClient&, PureSpaIO&, NTCThermometer&)' c:/users/matze/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\matze\AppData\Local\Temp\arduino_build_258814\sketch\esp8266-intexsbh20.ino.cpp.o: in function _GLOBAL__sub_I_config': C:\Users\matze\Desktop\esp8266-intexsbh20-1.0.3.3\esp8266-intexsbh20/PureSpaIO.h:130: undefined reference toMQTTPublisher::MQTTPublisher(MQTTClient&, PureSpaIO&, NTCThermometer&)' collect2.exe: error: ld returned 1 exit status Bibliothek ArduinoJson in Version 6.19.4 im Ordner: C:\Users\matze\Documents\Arduino\libraries\ArduinoJson wird verwendet Bibliothek ESP8266WiFi in Version 1.0 im Ordner: C:\Users\matze\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\libraries\ESP8266WiFi wird verwendet Bibliothek PubSubClient in Version 2.8 im Ordner: C:\Users\matze\Documents\Arduino\libraries\PubSubClient wird verwendet exit status 1 Fehler beim Kompilieren für das Board LOLIN(WEMOS) D1 R2 & mini.

Matze5593 commented 1 year ago

ok i did it it works.

in the config.json we use the mqtt server "mqttServer": "mqtt.at.home",

set. Is this in the ESP or do you have to enter the IP address of an existing Mosquitto broker here