吾銘啸鋇 2020-06-17 21:24 采纳率: 0%
浏览 1959

keil5 MDK编写stm32时出现头文件无法打开,重装了还是没法使用,请问这是怎么回事呢?

*** Using Compiler 'V5.06 update 1 (build 61)', folder: 'D:\Keil_v5\ARM\ARMCC\Bin'
Rebuild target 'Target 1'
compiling core_cm3.c...
CMSIS\core_cm3.c(24): error: #5: cannot open source input file "stdint.h": No such file or directory
#include
CMSIS\core_cm3.c: 0 warnings, 1 error
compiling system_stm32f10x.c...
CMSIS\core_cm3.h(90): error: #5: cannot open source input file "stdint.h": No such file or directory
#include /* Include standard types /
CMSIS\system_stm32f10x.c: 0 warnings, 1 error
compiling misc.c...
.\CMSIS\core_cm3.h(90): error: #5: cannot open source input file "stdint.h": No such file or directory
#include /
Include standard types /
Lib\src\misc.c: 0 warnings, 1 error
compiling stm32f10x_bkp.c...
.\CMSIS\core_cm3.h(90): error: #5: cannot open source input file "stdint.h": No such file or directory
#include /
Include standard types /
Lib\src\stm32f10x_bkp.c: 0 warnings, 1 error
compiling stm32f10x_adc.c...
.\CMSIS\core_cm3.h(90): error: #5: cannot open source input file "stdint.h": No such file or directory
#include /
Include standard types /
Lib\src\stm32f10x_adc.c: 0 warnings, 1 error
compiling stm32f10x_can.c...
.\CMSIS\core_cm3.h(90): error: #5: cannot open source input file "stdint.h": No such file or directory
#include /
Include standard types /
Lib\src\stm32f10x_can.c: 0 warnings, 1 error
compiling stm32f10x_cec.c...
.\CMSIS\core_cm3.h(90): error: #5: cannot open source input file "stdint.h": No such file or directory
#include /
Include standard types /
Lib\src\stm32f10x_cec.c: 0 warnings, 1 error
compiling stm32f10x_crc.c...
.\CMSIS\core_cm3.h(90): error: #5: cannot open source input file "stdint.h": No such file or directory
#include /
Include standard types /
Lib\src\stm32f10x_crc.c: 0 warnings, 1 error
compiling stm32f10x_dac.c...
.\CMSIS\core_cm3.h(90): error: #5: cannot open source input file "stdint.h": No such file or directory
#include /
Include standard types /
Lib\src\stm32f10x_dac.c: 0 warnings, 1 error
compiling stm32f10x_dma.c...
.\CMSIS\core_cm3.h(90): error: #5: cannot open source input file "stdint.h": No such file or directory
#include /
Include standard types /
Lib\src\stm32f10x_dma.c: 0 warnings, 1 error
compiling stm32f10x_dbgmcu.c...
.\CMSIS\core_cm3.h(90): error: #5: cannot open source input file "stdint.h": No such file or directory
#include /
Include standard types /
Lib\src\stm32f10x_dbgmcu.c: 0 warnings, 1 error
compiling stm32f10x_exti.c...
.\CMSIS\core_cm3.h(90): error: #5: cannot open source input file "stdint.h": No such file or directory
#include /
Include standard types /
Lib\src\stm32f10x_exti.c: 0 warnings, 1 error
compiling stm32f10x_flash.c...
.\CMSIS\core_cm3.h(90): error: #5: cannot open source input file "stdint.h": No such file or directory
#include /
Include standard types /
Lib\src\stm32f10x_flash.c: 0 warnings, 1 error
compiling stm32f10x_fsmc.c...
.\CMSIS\core_cm3.h(90): error: #5: cannot open source input file "stdint.h": No such file or directory
#include /
Include standard types /
Lib\src\stm32f10x_fsmc.c: 0 warnings, 1 error
compiling stm32f10x_gpio.c...
.\CMSIS\core_cm3.h(90): error: #5: cannot open source input file "stdint.h": No such file or directory
#include /
Include standard types /
Lib\src\stm32f10x_gpio.c: 0 warnings, 1 error
compiling stm32f10x_i2c.c...
.\CMSIS\core_cm3.h(90): error: #5: cannot open source input file "stdint.h": No such file or directory
#include /
Include standard types /
Lib\src\stm32f10x_i2c.c: 0 warnings, 1 error
compiling stm32f10x_iwdg.c...
.\CMSIS\core_cm3.h(90): error: #5: cannot open source input file "stdint.h": No such file or directory
#include /
Include standard types /
Lib\src\stm32f10x_iwdg.c: 0 warnings, 1 error
compiling stm32f10x_pwr.c...
.\CMSIS\core_cm3.h(90): error: #5: cannot open source input file "stdint.h": No such file or directory
#include /
Include standard types /
Lib\src\stm32f10x_pwr.c: 0 warnings, 1 error
compiling stm32f10x_rtc.c...
.\CMSIS\core_cm3.h(90): error: #5: cannot open source input file "stdint.h": No such file or directory
#include /
Include standard types /
Lib\src\stm32f10x_rtc.c: 0 warnings, 1 error
compiling stm32f10x_rcc.c...
.\CMSIS\core_cm3.h(90): error: #5: cannot open source input file "stdint.h": No such file or directory
#include /
Include standard types /
Lib\src\stm32f10x_rcc.c: 0 warnings, 1 error
compiling stm32f10x_sdio.c...
.\CMSIS\core_cm3.h(90): error: #5: cannot open source input file "stdint.h": No such file or directory
#include /
Include standard types /
Lib\src\stm32f10x_sdio.c: 0 warnings, 1 error
compiling stm32f10x_spi.c...
.\CMSIS\core_cm3.h(90): error: #5: cannot open source input file "stdint.h": No such file or directory
#include /
Include standard types /
Lib\src\stm32f10x_spi.c: 0 warnings, 1 error
compiling stm32f10x_tim.c...
.\CMSIS\core_cm3.h(90): error: #5: cannot open source input file "stdint.h": No such file or directory
#include /
Include standard types /
Lib\src\stm32f10x_tim.c: 0 warnings, 1 error
compiling stm32f10x_usart.c...
.\CMSIS\core_cm3.h(90): error: #5: cannot open source input file "stdint.h": No such file or directory
#include /
Include standard types /
Lib\src\stm32f10x_usart.c: 0 warnings, 1 error
compiling stm32f10x_wwdg.c...
.\CMSIS\core_cm3.h(90): error: #5: cannot open source input file "stdint.h": No such file or directory
#include /
Include standard types /
Lib\src\stm32f10x_wwdg.c: 0 warnings, 1 error
compiling main.c...
.\CMSIS\core_cm3.h(90): error: #5: cannot open source input file "stdint.h": No such file or directory
#include /
Include standard types /
User\main.c: 0 warnings, 1 error
assembling startup_stm32f10x_md.s...
compiling stm32f10x_it.c...
.\CMSIS\core_cm3.h(90): error: #5: cannot open source input file "stdint.h": No such file or directory
#include /
Include standard types */
User\stm32f10x_it.c: 0 warnings, 1 error
".\Objects\test.axf" - 27 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed: 00:00:13

  • 写回答

2条回答 默认 最新

  • 关注
    评论

报告相同问题?

悬赏问题

  • ¥15 C#算法问题, 不知道怎么处理这个数据的转换
  • ¥15 YoloV5 第三方库的版本对照问题
  • ¥15 请完成下列相关问题!
  • ¥15 drone 推送镜像时候 purge: true 推送完毕后没有删除对应的镜像,手动拷贝到服务器执行结果正确在样才能让指令自动执行成功删除对应镜像,如何解决?
  • ¥15 求daily translation(DT)偏差订正方法的代码
  • ¥15 js调用html页面需要隐藏某个按钮
  • ¥15 ads仿真结果在圆图上是怎么读数的
  • ¥20 Cotex M3的调试和程序执行方式是什么样的?
  • ¥20 java项目连接sqlserver时报ssl相关错误
  • ¥15 一道python难题3