rsciriano / ESPHome-OpenTherm

Example of how to control an opentherm boiler with esphome
156 stars 44 forks source link

Compile error Extensa #34

Closed swbouman closed 1 year ago

swbouman commented 1 year ago

Hello,

I'm working on/with the Opentherm sketch on a ESPHome Wemosd1. I'd like to recompile the sketch, BUT... I get these errors. Does anyone have a clue how to fix it?

Kind regards!

/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: .pioenvs/opentherm/src/src/OpenTherm.cpp.o: in function_ZN9OpenTherm8getFaultEv': OpenTherm.cpp:(.text._ZN9OpenTherm8getFaultEv+0x8): multiple definition of _ZN9OpenTherm8getFaultEv'; .pioenvs/opentherm/src/OpenTherm.cpp.o:OpenTherm.cpp:(.text._ZN9OpenTherm8getFaultEv+0x8): first defined here

swbouman commented 1 year ago

I managed to solve this by deleting opentherm.cpp from build dir...