页次: 1
ZWH@DESKTOP-AQD2LI1 G:\cenge\D1S_CODE\d1-nezha-rtthread-main\bsp\d1-nezha
> set RTT_EXEC_PATH=G:\cenge\D1S_CODE\gcc\riscv64-elf-mingw-20210618\riscv64-elf-mingw\bin
ZWH@DESKTOP-AQD2LI1 G:\cenge\D1S_CODE\d1-nezha-rtthread-main\bsp\d1-nezha
> set EXEC_PATH=G:\cenge\D1S_CODE\gcc\riscv64-elf-mingw-20210618\riscv64-elf-mingw\bin
ZWH@DESKTOP-AQD2LI1 G:\cenge\D1S_CODE\d1-nezha-rtthread-main\bsp\d1-nezha
> set PATH=G:\cenge\D1S_CODE\gcc\riscv64-elf-mingw-20210618\riscv64-elf-mingw\bin;%PATH%
你好,是这样吗
你好,博主,请问这个怎么处理啊
ZWH@DESKTOP-AQD2LI1 G:\cenge\D1S_CODE\d1-nezha-rtthread-main\bsp\d1-nezha
> set RTT_EXEC_PATH=G:\cenge\D1S_CODE\gcc\riscv64-elf-mingw-20210618\riscv64-elf-mingw\bin
ZWH@DESKTOP-AQD2LI1 G:\cenge\D1S_CODE\d1-nezha-rtthread-main\bsp\d1-nezha
>
ZWH@DESKTOP-AQD2LI1 G:\cenge\D1S_CODE\d1-nezha-rtthread-main\bsp\d1-nezha
> scons
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
scons: building associated VariantDir targets: build
CC build\applications\lvgl\lv_demo.o
riscv64-unknown-elf-gcc: error: CreateProcess: No such file or directory
scons: *** [build\applications\lvgl\lv_demo.o] Error 1
scons: building terminated because of errors.
ZWH@DESKTOP-AQD2LI1 G:\cenge\D1S_CODE\d1-nezha-rtthread-main\bsp\d1-nezha
> scons -c
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Cleaning targets ...
Removed cconfig.h
scons: done cleaning targets.
ZWH@DESKTOP-AQD2LI1 G:\cenge\D1S_CODE\d1-nezha-rtthread-main\bsp\d1-nezha
> scons
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
scons: building associated VariantDir targets: build
CC build\applications\lvgl\lv_demo.o
riscv64-unknown-elf-gcc: error: CreateProcess: No such file or directory
scons: *** [build\applications\lvgl\lv_demo.o] Error 1
scons: building terminated because of errors.
scons
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
scons: building associated VariantDir targets: build
LINK rtthread.elf
riscv64-unknown-elf-objcopy -O binary rtthread.elf rtthread.bin
Error in calling command:riscv64-unknown-elf-objcopy
Exception: Exec format error
scons: *** [rtthread.elf] Error 8
scons: building terminated because of errors.
你好请问这个怎么解决啊
7 | #include <riscv-vector.h>
| ^~~~~~~~~~~~~~~~
compilation terminated.
scons: *** [build\applications\test\auto_rvv.o] Error 1
scons: building terminated because of errors.
页次: 1