[已解决] 编译错误报 FAILED:led_strip.elf
Posted: Mon Feb 28, 2022 8:23 am
背景环境:
led_strip 例程,即led_pixel_esp32s3_a_v2.4
按README.md说明windows上依次执行
idf.py --preview set-target esp32c3
idf.py flash -b 2000000 monitor -p COM8 或 idp.py build
问题:
具体见附件,主要错误摘要如下
FAILED: led_strip.elf
riscv32-esp-elf/bin/ld.exe: skipping incompatible D:/Espressif/frameworks/esp-idf-v4.4/examples/led_pixel_esp32s3_a_v2.4/components/led_strip/lib\libled_strip.a when searching for -lled_strip
d:/espressif/tools/riscv32-esp-elf/esp-2021r2-patch2-8.4.0/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/8.4.0/../../../../riscv32-esp-elf/bin/ld.exe: cannot find -lled_strip
collect2.exe: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
ninja failed with exit code 1
led_strip 例程,即led_pixel_esp32s3_a_v2.4
按README.md说明windows上依次执行
idf.py --preview set-target esp32c3
idf.py flash -b 2000000 monitor -p COM8 或 idp.py build
问题:
具体见附件,主要错误摘要如下
FAILED: led_strip.elf
riscv32-esp-elf/bin/ld.exe: skipping incompatible D:/Espressif/frameworks/esp-idf-v4.4/examples/led_pixel_esp32s3_a_v2.4/components/led_strip/lib\libled_strip.a when searching for -lled_strip
d:/espressif/tools/riscv32-esp-elf/esp-2021r2-patch2-8.4.0/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/8.4.0/../../../../riscv32-esp-elf/bin/ld.exe: cannot find -lled_strip
collect2.exe: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
ninja failed with exit code 1