Question/Issue:
[Windows ESP-IDF V5.1.2 build error]
Project ID:
[836220]
Context/Use case:
[Deploying on Windows with ESP-IDF V5.1.2 for ESP32-S3. The compilation keeps failing with an error indicating that the DSP library cannot be found. I have tried importing via C++ packages and porting from Arduino packages to ESP-IDF, but both attempts failed. Please teach me a simple method for deployment. Thank you.]
Steps Taken:
- [Step 1]
- [Step 2]
- [Step 3]
Expected Outcome:
[Describe what you expected to happen]
Actual Outcome:
[Describe what actually happened]
Reproducibility:
- [ ] Always
- [ ] Sometimes
- [ ] Rarely
Environment:
- Platform: [esp32-s3]
- Build Environment Details: [esp-idf V5.1.2]
- OS Version: [Windows 11]
- Edge Impulse Version (Firmware): [no]
- To find out Edge Impulse Version:
- if you have pre-compiled firmware: run edge-impulse-run-impulse --raw and type AT+INFO. Look for Edge Impulse version in the output.
- if you have a library deployment: inside the unarchived deployment, open model-parameters/model_metadata.h and look for EI_STUDIO_VERSION_MAJOR, EI_STUDIO_VERSION_MINOR, EI_STUDIO_VERSION_PATCH
- Edge Impulse CLI Version: [no]
- Project Version: [unclear]
-
Custom Blocks / Impulse Configuration: [Raw data]
Logs/Attachments:
[FAILED: hello_world.elf
cmd.exe /C “cd . && D:\Espressif\512\Espressif\tools\xtensa-esp32-elf\esp-12.2.0_20230208\xtensa-esp32-elf\bin\xtensa-esp32-elf-g++.exe -mlongcalls -Wno-frame-address -Wl,–cref -Wl,–defsym=IDF_TARGET_ESP32=0 -Wl,–Map=D:/xiazhongzhou/edgeimpulse/hello_world/build/hello_world.map -Wl,–no-warn-rwx-segments -fno-rtti -fno-lto -Wl,–gc-sections -Wl,–warn-common -T esp32.peripherals.ld -T esp32.rom.ld -T esp32.rom.api.ld -T esp32.rom.libgcc.ld -T esp32.rom.newlib-data.ld -T esp32.rom.syscalls.ld -T esp32.rom.newlib-funcs.ld -T memory.ld -T sections.ld @CMakeFiles\hello_world.elf.rsp -o hello_world.elf && cd .”
d:/espressif/512/espressif/tools/xtensa-esp32-elf/esp-12.2.0_20230208/xtensa-esp32-elf/bin/…/lib/gcc/xtensa-esp32-elf/12.2.0/…/…/…/…/xtensa-esp32-elf/bin/ld.exe: cannot find -lesp-dsp: No such file or directory
collect2.exe: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
- 终端进程“D:\Espressif\512\Espressif\tools\ninja\1.10.2\ninja.EXE”已终止,退出代码: 1。]
Additional Information:
[Any other information that might be relevant]