不能在Raspberry Pi pico上生成构建。不公认为内部和外部错误

发布于 2025-01-29 19:01:42 字数 2068 浏览 4 评论 0原文

我试图从pico示例构建文件,但由于对路径的识别不认识,因此引发了错误。我到处都在检查路径,环境变量,扩展设置,但似乎找不到错误源。

    [build] Starting build
    [proc] Executing command: D:\Softwares-(installed)\Pico-Tools\CMake\bin\cmake.EXE --build d:/Pico/pico-examples/build --config Debug --target all -j 18 --
    [build] Scanning dependencies of target bs2_default
    [build] [  0%] Creating directories for 'ELF2UF2Build'
    [build] [  0%] Creating directories for 'PioasmBuild'
    [build] [  0%] Building ASM object pico-sdk/src/rp2_common/boot_stage2/CMakeFiles/bs2_default.dir/compile_time_choice.S.obj
    [build] 'D:\Softwares-' is not recognized as an internal or external command,
    [build] operable program or batch file.
    [build] 'D:\Softwares-' is not recognized as an internal or external command,
    [build] operable program or batch file.
    [build] mingw32-make.exe[2]: *** [blink\CMakeFiles\ELF2UF2Build.dir\build.make:106: blink/elf2uf2/src/ELF2UF2Build-stamp/ELF2UF2Build-mkdir] Error 1
    [build] mingw32-make.exe[2]: *** [adc\dma_capture\CMakeFiles\PioasmBuild.dir\build.make:106: adc/dma_capture/pioasm/src/PioasmBuild-stamp/PioasmBuild-mkdir] Error 1
    [build] mingw32-make.exe[1]: *** [CMakeFiles\Makefile2:4279: adc/dma_capture/CMakeFiles/PioasmBuild.dir/all] Error 2
    [build] mingw32-make.exe[1]: *** Waiting for unfinished jobs....
    [build] mingw32-make.exe[1]: *** [CMakeFiles\Makefile2:4144: blink/CMakeFiles/ELF2UF2Build.dir/all] Error 2
    [build] [  0%] Linking ASM executable bs2_default.elf
    [build] 'D:\Softwares-' is not recognized as an internal or external command,
    [build] operable program or batch file.
    [build] mingw32-make.exe[2]: *** [pico-sdk\src\rp2_common\boot_stage2\CMakeFiles\bs2_default.dir\build.make:96: pico-sdk/src/rp2_common/boot_stage2/bs2_default.elf] Error 1
    [build] mingw32-make.exe[1]: *** [CMakeFiles\Makefile2:4039: pico-sdk/src/rp2_common/boot_stage2/CMakeFiles/bs2_default.dir/all] Error 2
    [build] mingw32-make.exe: *** [Makefile:90: all] Error 2
    [build] Build finished with exit code 2

I was trying to build files from pico-examples but due to no recognition of path it throws the error. I cross checked path everywhere, environment variable, extension settings but can't seem to find the source of error.

    [build] Starting build
    [proc] Executing command: D:\Softwares-(installed)\Pico-Tools\CMake\bin\cmake.EXE --build d:/Pico/pico-examples/build --config Debug --target all -j 18 --
    [build] Scanning dependencies of target bs2_default
    [build] [  0%] Creating directories for 'ELF2UF2Build'
    [build] [  0%] Creating directories for 'PioasmBuild'
    [build] [  0%] Building ASM object pico-sdk/src/rp2_common/boot_stage2/CMakeFiles/bs2_default.dir/compile_time_choice.S.obj
    [build] 'D:\Softwares-' is not recognized as an internal or external command,
    [build] operable program or batch file.
    [build] 'D:\Softwares-' is not recognized as an internal or external command,
    [build] operable program or batch file.
    [build] mingw32-make.exe[2]: *** [blink\CMakeFiles\ELF2UF2Build.dir\build.make:106: blink/elf2uf2/src/ELF2UF2Build-stamp/ELF2UF2Build-mkdir] Error 1
    [build] mingw32-make.exe[2]: *** [adc\dma_capture\CMakeFiles\PioasmBuild.dir\build.make:106: adc/dma_capture/pioasm/src/PioasmBuild-stamp/PioasmBuild-mkdir] Error 1
    [build] mingw32-make.exe[1]: *** [CMakeFiles\Makefile2:4279: adc/dma_capture/CMakeFiles/PioasmBuild.dir/all] Error 2
    [build] mingw32-make.exe[1]: *** Waiting for unfinished jobs....
    [build] mingw32-make.exe[1]: *** [CMakeFiles\Makefile2:4144: blink/CMakeFiles/ELF2UF2Build.dir/all] Error 2
    [build] [  0%] Linking ASM executable bs2_default.elf
    [build] 'D:\Softwares-' is not recognized as an internal or external command,
    [build] operable program or batch file.
    [build] mingw32-make.exe[2]: *** [pico-sdk\src\rp2_common\boot_stage2\CMakeFiles\bs2_default.dir\build.make:96: pico-sdk/src/rp2_common/boot_stage2/bs2_default.elf] Error 1
    [build] mingw32-make.exe[1]: *** [CMakeFiles\Makefile2:4039: pico-sdk/src/rp2_common/boot_stage2/CMakeFiles/bs2_default.dir/all] Error 2
    [build] mingw32-make.exe: *** [Makefile:90: all] Error 2
    [build] Build finished with exit code 2

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文