新买的STM32F1战舰V3板子,按照视频教程装好了MDK514开发平台,在测试编译功能时,调取跑马灯实验工程文件后,点build按钮后出现如下错误提示,再拿其他实验工程文件测试一样是这类错误提示,我该如何处理?请大神指点,谢谢!
Build target 'LED'
compiling main.c...
"no source": Error: #5: cannot open source input file "main.c": No such file or directory
main.c: 0 warnings, 1 error
compiling stm32f10x_it.c...
"no source": Error: #5: cannot open source input file "stm32f10x_it.c": No such file or directory
stm32f10x_it.c: 0 warnings, 1 error
compiling system_stm32f10x.c...
"no source": Error: #5: cannot open source input file "system_stm32f10x.c": No such file or directory
system_stm32f10x.c: 0 warnings, 1 error
compiling led.c...
"no source": Error: #5: cannot open source input file "..HARDWARELEDled.c": No such file or directory
..HARDWARELEDled.c: 0 warnings, 1 error
compiling delay.c...
"no source": Error: #5: cannot open source input file "..SYSTEMdelaydelay.c": No such file or directory
..SYSTEMdelaydelay.c: 0 warnings, 1 error
compiling sys.c...
"no source": Error: #5: cannot open source input file "..SYSTEMsyssys.c": No such file or directory
..SYSTEMsyssys.c: 0 warnings, 1 error
compiling usart.c...
"no source": Error: #5: cannot open source input file "..SYSTEMusartusart.c": No such file or directory
..SYSTEMusartusart.c: 0 warnings, 1 error
compiling core_cm3.c...
"no source": Error: #5: cannot open source input file "..COREcore_cm3.c": No such file or directory
..COREcore_cm3.c: 0 warnings, 1 error
assembling startup_stm32f10x_hd.s...
startup_stm32f10x_hd.s: error: A1023E: File "..COREstartup_stm32f10x_hd.s" could not be opened: No such file or directory
"..OBJLED.axf" - 1 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed: 00:00:09
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
我没用中文目录,都是英文的,其他工程文件都实验过,也是同样的毛病
跟MDK和pack都毫无关系,是你的源文件没有正确添加到工程中!你先在工程中删除掉所有的C文件,然后从新添加,
一周热门 更多>