error: ld returned 1 exit status 怎么解决

chaoaaaa
Posts: 6
Joined: Wed May 22, 2024 6:51 am

error: ld returned 1 exit status 怎么解决

Postby chaoaaaa » Thu Jun 20, 2024 2:34 am

在使用vscode上的esp idf插件时,在编译快结束时出现了这个错误,怎么解决,idf版本5.0.4

FAILED: quantization_tool_tutorial.elf
cmd.exe /C "cd . && D:\software\Espressif\tools\xtensa-esp32s3-elf\esp-2022r1-11.2.0\xtensa-esp32s3-elf\bin\xtensa-esp32s3-elf-g++.exe -mlongcalls @CMakeFiles\quantization_tool_tutorial.elf.rsp -o quantization_tool_tutorial.elf && cd ."

E:\AI_EDGE-main\ESP-Dl\infra_test\build>doskey net=abc

E:\AI_EDGE-main\ESP-Dl\infra_test\build>cls

d:/software/espressif/tools/xtensa-esp32s3-elf/esp-2022r1-11.2.0/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/11.2.0/../../../../xt
ensa-esp32s3-elf/bin/ld.exe: cannot find -ldl
collect2.exe: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

Who is online

Users browsing this forum: Baidu [Spider] and 63 guests