Skip to content
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

arduino flash ESP error #32

Closed
Matze5593 opened this issue Jun 8, 2023 · 3 comments
Closed

arduino flash ESP error #32

Matze5593 opened this issue Jun 8, 2023 · 3 comments

Comments

@Matze5593
Copy link

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
Copy link

louis49 commented Jun 8, 2023

You need to activate exceptions handling in your Arduino IDE

@Matze5593
Copy link
Author

Matze5593 commented Jun 8, 2023

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 function operator()':
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 to PureSpaIO::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 to PureSpaIO::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 function setup::{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 to PureSpaIO::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 to PureSpaIO::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 function setup::{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 to PureSpaIO::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 to PureSpaIO::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 function setup::{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 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:(.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 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: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 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+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 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\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 to MQTTClient::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 to MQTTClient::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 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+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 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:(.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 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\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 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\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 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 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 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 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 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: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 to MQTTClient::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 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: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 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: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 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: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 to MQTTClient::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 to PureSpaIO::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 to MQTTPublisher::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 function loop':
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 to PureSpaIO::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 to MQTTPublisher::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 to MQTTPublisher::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 to MQTTPublisher::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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants