编译helloworld出现找不到文件问题

Home 论坛 开发和更新问题 编译helloworld出现找不到文件问题

正在查看 3 帖子:1-3 (共 3 个帖子)
  • 作者
    帖子
  • #1451
    senlindashusenlindashu
    参与者

    13:03:19 **** Rebuild of configuration debug for project hello_world_ri5cy_rv32m1_vega ****
    Info: Internal Builder is used for build
    riscv32-unknown-elf-gcc -msmall-data-limit=8 -mno-save-restore -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-common -ffreestanding -fno-builtin -Wall -g -DDEBUG -DCPU_RV32M1_ri5cy -DPRINTF_FLOAT_ENABLE=0 -DSCANF_FLOAT_ENABLE=0 -DPRINTF_ADVANCED_ENABLE=0 -DSCANF_ADVANCED_ENABLE=0 -I../../../../../../../RISCV -I../../../../../../../devices -I../../.. -I../../../../.. -I../../../../../../../devices/RV32M1/drivers -I../../../../../../../devices/RV32M1/utilities -I../../../../../../../devices/RV32M1/utilities/io -I../../../../../../../devices/RV32M1/utilities/str -I../../../../../../../devices/RV32M1/utilities/log -I../../../../../../../devices/RV32M1 -I../.. -std=gnu99 -march=rv32imcxpulpv2 -Wa,-march=rv32imcxpulpv2 -c -o utilities\fsl_io.o ..\..\..\..\..\..\..\devices\RV32M1\utilities\fsl_io.c
    riscv32-unknown-elf-gcc -msmall-data-limit=8 -mno-save-restore -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-common -ffreestanding -fno-builtin -Wall -g -DDEBUG -DCPU_RV32M1_ri5cy -DPRINTF_FLOAT_ENABLE=0 -DSCANF_FLOAT_ENABLE=0 -DPRINTF_ADVANCED_ENABLE=0 -DSCANF_ADVANCED_ENABLE=0 -I../../../../../../../RISCV -I../../../../../../../devices -I../../.. -I../../../../.. -I../../../../../../../devices/RV32M1/drivers -I../../../../../../../devices/RV32M1/utilities -I../../../../../../../devices/RV32M1/utilities/io -I../../../../../../../devices/RV32M1/utilities/str -I../../../../../../../devices/RV32M1/utilities/log -I../../../../../../../devices/RV32M1 -I../.. -std=gnu99 -march=rv32imcxpulpv2 -Wa,-march=rv32imcxpulpv2 -c -o drivers\fsl_common.o ..\..\..\..\..\..\..\devices\RV32M1\drivers\fsl_common.c
    riscv32-unknown-elf-gcc -msmall-data-limit=8 -mno-save-restore -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-common -ffreestanding -fno-builtin -Wall -g -DDEBUG -DCPU_RV32M1_ri5cy -DPRINTF_FLOAT_ENABLE=0 -DSCANF_FLOAT_ENABLE=0 -DPRINTF_ADVANCED_ENABLE=0 -DSCANF_ADVANCED_ENABLE=0 -I../../../../../../../RISCV -I../../../../../../../devices -I../../.. -I../../../../.. -I../../../../../../../devices/RV32M1/drivers -I../../../../../../../devices/RV32M1/utilities -I../../../../../../../devices/RV32M1/utilities/io -I../../../../../../../devices/RV32M1/utilities/str -I../../../../../../../devices/RV32M1/utilities/log -I../../../../../../../devices/RV32M1 -I../.. -std=gnu99 -march=rv32imcxpulpv2 -Wa,-march=rv32imcxpulpv2 -c -o board\board.o ..\..\board.c
    In file included from d:\rv32m1_sdk_riscv\devices\rv32m1\utilities\fsl_io.h:13:0,
    from ..\..\..\..\..\..\..\devices\RV32M1\utilities\fsl_io.c:9:
    d:\rv32m1_sdk_riscv\devices\rv32m1\drivers\fsl_common.h:12:10: fatal error: assert.h: No such file or directory
    #include <assert.h>
    ^~~~~~~~~~
    compilation terminated.
    riscv32-unknown-elf-gcc -msmall-data-limit=8 -mno-save-restore -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-common -ffreestanding -fno-builtin -Wall -g -DDEBUG -DCPU_RV32M1_ri5cy -DPRINTF_FLOAT_ENABLE=0 -DSCANF_FLOAT_ENABLE=0 -DPRINTF_ADVANCED_ENABLE=0 -DSCANF_ADVANCED_ENABLE=0 -I../../../../../../../RISCV -I../../../../../../../devices -I../../.. -I../../../../.. -I../../../../../../../devices/RV32M1/drivers -I../../../../../../../devices/RV32M1/utilities -I../../../../../../../devices/RV32M1/utilities/io -I../../../../../../../devices/RV32M1/utilities/str -I../../../../../../../devices/RV32M1/utilities/log -I../../../../../../../devices/RV32M1 -I../.. -std=gnu99 -march=rv32imcxpulpv2 -Wa,-march=rv32imcxpulpv2 -c -o drivers\fsl_lpuart.o ..\..\..\..\..\..\..\devices\RV32M1\drivers\fsl_lpuart.c
    In file included from ..\..\..\..\..\..\..\devices\RV32M1\drivers\fsl_common.c:10:0:
    d:\rv32m1_sdk_riscv\devices\rv32m1\drivers\fsl_common.h:12:10: fatal error: assert.h: No such file or directory
    #include <assert.h>
    ^~~~~~~~~~
    compilation terminated.
    Info: Parallel threads used: 3

    13:03:22 Build Failed. 2 errors, 0 warnings. (took 3s.568ms)

    ..\..\board.c:9:10: fatal error: stdint.h: No such file or directory
    #include <stdint.h>
    ^~~~~~~~~~
    compilation terminated.
    In file included from d:\rv32m1_sdk_riscv\devices\rv32m1\drivers\fsl_lpuart.h:11:0,
    from ..\..\..\..\..\..\..\devices\RV32M1\drivers\fsl_lpuart.c:9:
    d:\rv32m1_sdk_riscv\devices\rv32m1\drivers\fsl_common.h:12:10: fatal error: assert.h: No such file or directory
    #include <assert.h>
    ^~~~~~~~~~
    compilation terminated.

    #1466
    HowardHoward
    参与者

    你的Eclipse是如何安装的?

    #1508
    senlindashusenlindashu
    参与者

    按照网站的视频教程装的,,用的这个文件20190101-2023-gnumcueclipse-4.5.1-2018-12-R-win32.win32.x86_64.zip

正在查看 3 帖子:1-3 (共 3 个帖子)
  • 抱歉,回复话题必需登录。