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

2019-08-22 13:33发布

"no source": Error: command-line:  #992: invalid macro definition: -o
..stm32f10x_libsrcstm32f10x_spi.c: 0 warnings, 1 error
compiling stm32f10x_tim.c...
Warning: C4486W: option '-c' causes input file '..objstm32f10x_tim.o' to be ignored
"no source": Error: command-line:  #992: invalid macro definition: -o
..stm32f10x_libsrcstm32f10x_tim.c: 0 warnings, 1 error
compiling stm32f10x_usart.c...
Warning: C4486W: option '-c' causes input file '..objstm32f10x_usart.o' to be ignored
"no source": Error: command-line:  #992: invalid macro definition: -o
..stm32f10x_libsrcstm32f10x_usart.c: 0 warnings, 1 error
compiling stm32f10x_wwdg.c...
Warning: C4486W: option '-c' causes input file '..objstm32f10x_wwdg.o' to be ignored
"no source": Error: command-line:  #992: invalid macro definition: -o
..stm32f10x_libsrcstm32f10x_wwdg.c: 0 warnings, 1 error
linking...
..obj emp.axf: error: L6002U: Could not open file ..objmain.o: No such file or directory
Finished: 0 information, 0 warning, 0 error and 1 fatal error messages.
"..obj emp.axf" - 1 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed:  00:00:04

友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
该问题目前已经被作者或者管理员关闭, 无法添加新回复
3条回答
刘仿
1楼-- · 2019-08-22 17:24
 精彩回答 2  元偷偷看……
ziyan0005
2楼-- · 2019-08-22 22:42
看看你配置的对不
Morgan
3楼-- · 2019-08-22 23:29
问题解决了吗? 能否想请您分下,谢谢

一周热门 更多>