OpenEdv-开源电子网

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

原子哥,我按照你的视频创建工程模板,mdk说没有神马.o文件,怎么回事啊。

[复制链接]

2

主题

8

帖子

0

精华

新手上路

积分
25
金钱
25
注册时间
2016-11-28
在线时间
3 小时
发表于 2016-11-28 14:09:22 | 显示全部楼层 |阅读模式
1金钱
"no source": Error: command-line:  #992: invalid macro definition: -o
..\stm32f10x_lib\src\stm32f10x_spi.c: 0 warnings, 1 error
compiling stm32f10x_tim.c...
Warning: C4486W: option '-c' causes input file '..\obj\stm32f10x_tim.o' to be ignored
"no source": Error: command-line:  #992: invalid macro definition: -o
..\stm32f10x_lib\src\stm32f10x_tim.c: 0 warnings, 1 error
compiling stm32f10x_usart.c...
Warning: C4486W: option '-c' causes input file '..\obj\stm32f10x_usart.o' to be ignored
"no source": Error: command-line:  #992: invalid macro definition: -o
..\stm32f10x_lib\src\stm32f10x_usart.c: 0 warnings, 1 error
compiling stm32f10x_wwdg.c...
Warning: C4486W: option '-c' causes input file '..\obj\stm32f10x_wwdg.o' to be ignored
"no source": Error: command-line:  #992: invalid macro definition: -o
..\stm32f10x_lib\src\stm32f10x_wwdg.c: 0 warnings, 1 error
linking...
..\obj\temp.axf: error: L6002U: Could not open file ..\obj\main.o: No such file or directory
Finished: 0 information, 0 warning, 0 error and 1 fatal error messages.
"..\obj\temp.axf" - 1 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed:  00:00:04

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

使用道具 举报

2

主题

8

帖子

0

精华

新手上路

积分
25
金钱
25
注册时间
2016-11-28
在线时间
3 小时
 楼主| 发表于 2016-11-28 14:13:51 | 显示全部楼层
大师们帮帮我啊!!stm32坑太深了。
回复

使用道具 举报

31

主题

176

帖子

0

精华

中级会员

Rank: 3Rank: 3

积分
400
金钱
400
注册时间
2015-10-16
在线时间
85 小时
发表于 2016-11-28 15:10:36 | 显示全部楼层
看看你配置的对不
回复

使用道具 举报

3

主题

33

帖子

0

精华

初级会员

Rank: 2

积分
89
金钱
89
注册时间
2017-3-8
在线时间
36 小时
发表于 2017-4-12 22:39:56 | 显示全部楼层
问题解决了吗? 能否想请您分下,谢谢
回复

使用道具 举报

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

本版积分规则



关闭

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

正点原子公众号

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

GMT+8, 2025-8-22 07:16

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

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