slimcdk / esphome-custom-components

Components for ESPHome
12 stars 3 forks source link

Failing at "Linking .pioenvs/pd-stepper-blinds-2/firmware.elf" #7

Closed wshankles closed 2 hours ago

wshankles commented 4 hours ago

I'm using joshr120's pd stepper. Trying to add a motor load sensor and it fails.

Linking .pioenvs/pd-stepper-blinds-2/firmware.elf /data/cache/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/pd-stepper-blinds-2/src/main.o:(.literal._Z5setupv+0x2bc): undefined reference to vtable for esphome::tmc2209_sensor::MotorLoadSensor' /data/cache/platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld: .pioenvs/pd-stepper-blinds-2/src/main.o:(.literal._Z5setupv+0x2c0): undefined reference tovtable for esphome::tmc2209_sensor::MotorLoadSensor' collect2: error: ld returned 1 exit status *** [.pioenvs/pd-stepper-blinds-2/firmware.elf] Error 1 ========================= [FAILED] Took 40.94 seconds =========================

slimcdk commented 3 hours ago

Try cleaning the build files and compile again. I'll see if there is anything I can do to fix this.

wshankles commented 2 hours ago

Try cleaning the build files and compile again. I'll see if there is anything I can do to fix this.

That was it. Thank you.