原子哥,我按照你的视频创建工程模板,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

友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。