OpenEdv-开源电子网

 找回密码
 立即注册
正点原子全套STM32/Linux/FPGA开发资料,上千讲STM32视频教程免费下载...
查看: 2742|回复: 6

keil mdk 编译时出错,不知道什么问题

[复制链接]

7

主题

28

帖子

0

精华

新手入门

积分
19
金钱
19
注册时间
2016-11-30
在线时间
4 小时
发表于 2016-12-8 21:29:39 | 显示全部楼层 |阅读模式
1金钱
求大家看看,改怎么解决

正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

7

主题

28

帖子

0

精华

新手入门

积分
19
金钱
19
注册时间
2016-11-30
在线时间
4 小时
 楼主| 发表于 2016-12-8 21:31:46 | 显示全部楼层
compiling main.c...
main.c: Warning: C3910W: Old syntax, please use '--via'.
main.c: Warning: C3910W: Old syntax, please use '--cpu'.
main.c: Warning: C3910W: Old syntax, please use '--apcs'.
.\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h(90): error:  #5: cannot open source input file "stdint.h": No such file or directory
user\main.c - 1 Error(s), 3 Warning(s).
回复

使用道具 举报

7

主题

28

帖子

0

精华

新手入门

积分
19
金钱
19
注册时间
2016-11-30
在线时间
4 小时
 楼主| 发表于 2016-12-8 21:31:58 | 显示全部楼层
compiling main.c...
main.c: Warning: C3910W: Old syntax, please use '--via'.
main.c: Warning: C3910W: Old syntax, please use '--cpu'.
main.c: Warning: C3910W: Old syntax, please use '--apcs'.
.\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h(90): error:  #5: cannot open source input file "stdint.h": No such file or directory
user\main.c - 1 Error(s), 3 Warning(s).
回复

使用道具 举报

7

主题

28

帖子

0

精华

新手入门

积分
19
金钱
19
注册时间
2016-11-30
在线时间
4 小时
 楼主| 发表于 2016-12-8 21:33:00 | 显示全部楼层
compiling main.c...
main.c: Warning: C3910W: Old syntax, please use '--via'.
main.c: Warning: C3910W: Old syntax, please use '--cpu'.
main.c: Warning: C3910W: Old syntax, please use '--apcs'.
.\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h(90): error:  #5: cannot open source input file "stdint.h": No such file or directory
user\main.c - 1 Error(s), 3 Warning(s).
回复

使用道具 举报

7

主题

28

帖子

0

精华

新手入门

积分
19
金钱
19
注册时间
2016-11-30
在线时间
4 小时
 楼主| 发表于 2016-12-8 21:33:25 | 显示全部楼层
大神  快来。急着学习
回复

使用道具 举报

7

主题

28

帖子

0

精华

新手入门

积分
19
金钱
19
注册时间
2016-11-30
在线时间
4 小时
 楼主| 发表于 2016-12-8 21:35:02 | 显示全部楼层
主函数:#include "stm32f10x.h"
int main()
{

}
回复

使用道具 举报

7

主题

28

帖子

0

精华

新手入门

积分
19
金钱
19
注册时间
2016-11-30
在线时间
4 小时
 楼主| 发表于 2016-12-8 21:35:53 | 显示全部楼层
照着视频编的,不知道怎么回事,是不是和安装有关
回复

使用道具 举报

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

本版积分规则



关闭

原子哥极力推荐上一条 /2 下一条

正点原子公众号

QQ|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )

GMT+8, 2025-5-26 04:52

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

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