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

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 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?
  • ¥15 c++头文件不能识别CDialog