野火电子论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 19894|回复: 1

程序编译错误:cannot open source input file "stdint.h

[复制链接]
发表于 2014-12-28 21:36:18 | 显示全部楼层 |阅读模式
Build target 'key1'
assembling startup_stm32f10x_hd.s...
compiling core_cm3.c...
..\..\Libraries\CMSIS\core_cm3.c(24): error:  #5: cannot open source input file "stdint.h": No such file or directory
compiling system_stm32f10x.c...
..\..\Libraries\CMSIS\core_cm3.h(90): error:  #5: cannot open source input file "stdint.h": No such file or directory
compiling stm32f10x_gpio.c...
..\..\Libraries\CMSIS\core_cm3.h(90): error:  #5: cannot open source input file "stdint.h": No such file or directory
compiling stm32f10x_rcc.c...
..\..\Libraries\CMSIS\core_cm3.h(90): error:  #5: cannot open source input file "stdint.h": No such file or directory
compiling main.c...
..\..\Libraries\CMSIS\core_cm3.h(90): error:  #5: cannot open source input file "stdint.h": No such file or directory
compiling stm32f10x_it.c...
..\..\Libraries\CMSIS\core_cm3.h(90): error:  #5: cannot open source input file "stdint.h": No such file or directory
compiling bsp_led.c...
..\..\Libraries\CMSIS\core_cm3.h(90): error:  #5: cannot open source input file "stdint.h": No such file or directory
compiling bsp_key.c...
..\..\Libraries\CMSIS\core_cm3.h(90): error:  #5: cannot open source input file "stdint.h": No such file or directory
"..\..\Output\Template.axf" - 8 Errors, 0 Warning(s).
Target not created这是光盘上的原程序为啥有错误

回复

使用道具 举报

发表于 2014-12-29 09:13:07 | 显示全部楼层
MDK安装不正常,卸载了重装一下:

1.安装路径不能出现中文
2.使用管理员身份重装mdk
3.使用管理员身份打开MDK及破解软件破解。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

联系站长|手机版|野火电子官网|野火淘宝店铺|野火电子论坛 ( 粤ICP备14069197号 ) 大学生ARM嵌入式2群

GMT+8, 2024-9-29 19:14 , Processed in 0.086632 second(s), 23 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表