OpenEdv-开源电子网

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

菜鸟用户急求帮助,谢谢!

[复制链接]

3

主题

13

帖子

0

精华

新手上路

积分
32
金钱
32
注册时间
2017-1-28
在线时间
3 小时
发表于 2017-1-28 14:04:55 | 显示全部楼层 |阅读模式
2金钱
新买的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 "..\HARDWARE\LED\led.c": No such file or directory
..\HARDWARE\LED\led.c: 0 warnings, 1 error
compiling delay.c...
"no source": Error:  #5: cannot open source input file "..\SYSTEM\delay\delay.c": No such file or directory
..\SYSTEM\delay\delay.c: 0 warnings, 1 error
compiling sys.c...
"no source": Error:  #5: cannot open source input file "..\SYSTEM\sys\sys.c": No such file or directory
..\SYSTEM\sys\sys.c: 0 warnings, 1 error
compiling usart.c...
"no source": Error:  #5: cannot open source input file "..\SYSTEM\usart\usart.c": No such file or directory
..\SYSTEM\usart\usart.c: 0 warnings, 1 error
compiling core_cm3.c...
"no source": Error:  #5: cannot open source input file "..\CORE\core_cm3.c": No such file or directory
..\CORE\core_cm3.c: 0 warnings, 1 error
assembling startup_stm32f10x_hd.s...
startup_stm32f10x_hd.s: error: A1023E: File "..\CORE\startup_stm32f10x_hd.s" could not be opened: No such file or directory
"..\OBJ\LED.axf" - 1 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed:  00:00:09

最佳答案

查看完整内容[请看2#楼]

我已经自己解决了,谢谢大家
正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

3

主题

13

帖子

0

精华

新手上路

积分
32
金钱
32
注册时间
2017-1-28
在线时间
3 小时
 楼主| 发表于 2017-1-28 14:04:56 | 显示全部楼层
我已经自己解决了,谢谢大家
回复

使用道具 举报

10

主题

84

帖子

0

精华

中级会员

Rank: 3Rank: 3

积分
338
金钱
338
注册时间
2015-1-24
在线时间
55 小时
发表于 2017-1-28 14:25:15 | 显示全部楼层
你这个是文件没有找到,代码,建议不要中文目录,打开另外一个工程看看,可能这个工程有问题
回复

使用道具 举报

3

主题

13

帖子

0

精华

新手上路

积分
32
金钱
32
注册时间
2017-1-28
在线时间
3 小时
 楼主| 发表于 2017-1-28 14:32:18 | 显示全部楼层
n85gzj 发表于 2017-1-28 14:25
你这个是文件没有找到,代码,建议不要中文目录,打开另外一个工程看看,可能这个工程有问题

我没用中文目录,都是英文的,其他工程文件都实验过,也是同样的毛病
回复

使用道具 举报

10

主题

84

帖子

0

精华

中级会员

Rank: 3Rank: 3

积分
338
金钱
338
注册时间
2015-1-24
在线时间
55 小时
发表于 2017-1-28 14:33:55 | 显示全部楼层
把MDK重装一下吧
学无止境
回复

使用道具 举报

3

主题

13

帖子

0

精华

新手上路

积分
32
金钱
32
注册时间
2017-1-28
在线时间
3 小时
 楼主| 发表于 2017-1-28 15:01:55 | 显示全部楼层
n85gzj 发表于 2017-1-28 14:33
把MDK重装一下吧

应该不是重装不重装的问题吧,主要按照视频教程装MDK的时候,装完没有发现pack包被装上,所以猜测是pack包没装的原因,是吗?
回复

使用道具 举报

54

主题

372

帖子

0

精华

高级会员

Rank: 4

积分
980
金钱
980
注册时间
2016-6-15
在线时间
474 小时
发表于 2017-1-28 15:22:30 | 显示全部楼层
smithzhang 发表于 2017-1-28 15:01
应该不是重装不重装的问题吧,主要按照视频教程装MDK的时候,装完没有发现pack包被装上,所以猜测是pack ...

跟MDK和pack都毫无关系,是你的源文件没有正确添加到工程中!你先在工程中删除掉所有的C文件,然后从新添加,
回复

使用道具 举报

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

本版积分规则



关闭

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

正点原子公众号

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

GMT+8, 2025-6-23 19:59

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

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