OpenEdv-开源电子网

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

安装了MDK5.1,编译用MDK3.8建立的工程不通过,求解

[复制链接]

74

主题

209

帖子

0

精华

高级会员

Rank: 4

积分
919
金钱
919
注册时间
2012-1-14
在线时间
5 小时
发表于 2014-8-14 17:55:42 | 显示全部楼层 |阅读模式
5金钱
安装了MDK5.1,编译用MDK3.8建立的工程,结果不通过(程序是正确的,原来用MDK3.8编译可以通过),出现了下面的错误
Rebuild target 'Target 1'
assembling STM32F10x.s...
compiling test.c...
test.c(1): error:  #5: cannot open source input file "stm32f10x_lib.h": No such file or directory
  #include <stm32f10x_lib.h>
test.c: 0 warnings, 1 error
compiling delay.c...
..\SYSTEM\delay\delay.c(1): error:  #5: cannot open source input file "stm32f10x_lib.h": No such file or directory
  #include <stm32f10x_lib.h>
..\SYSTEM\delay\delay.c: 0 warnings, 1 error
compiling sys.c...
..\SYSTEM\sys\sys.c(1): error:  #5: cannot open source input file "stm32f10x_lib.h": No such file or directory
  #include <stm32f10x_lib.h>             
..\SYSTEM\sys\sys.c: 0 warnings, 1 error
compiling usart.c...
..\SYSTEM\sys\sys.h(3): error:  #5: cannot open source input file "stm32f10x_lib.h": No such file or directory
  #include <stm32f10x_lib.h>
..\SYSTEM\usart\usart.c: 0 warnings, 1 error
compiling led.c...
..\HARDWARE\LED\led.c(1): error:  #5: cannot open source input file "stm32f10x_lib.h": No such file or directory
  #include <stm32f10x_lib.h>       
..\HARDWARE\LED\led.c: 0 warnings, 1 error
".\TEST.axf" - 5 Error(s), 0 Warning(s).
Target not created

原子哥、各位帮帮忙!!

最佳答案

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

回复【2楼】Admin: --------------------------------- 旧的代码还是很有用的,已经找到解决办法了 http://www.openedv.com/posts/list/10955.htm
正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

74

主题

209

帖子

0

精华

高级会员

Rank: 4

积分
919
金钱
919
注册时间
2012-1-14
在线时间
5 小时
 楼主| 发表于 2014-8-14 17:55:43 | 显示全部楼层
回复【2楼】Admin:
---------------------------------
旧的代码还是很有用的,已经找到解决办法了
http://www.openedv.com/posts/list/10955.htm
回复

使用道具 举报

230

主题

1950

帖子

10

精华

论坛元老

Rank: 8Rank: 8

积分
4562
金钱
4562
注册时间
2010-12-14
在线时间
32 小时
发表于 2014-8-14 18:05:41 | 显示全部楼层
用最新的代码。。。。。。
我是开源电子网?网站管理员,对网站有任何问题,请与我联系!QQ:389063473Email:389063473@qq.com
回复

使用道具 举报

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

本版积分规则



关闭

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

正点原子公众号

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

GMT+8, 2025-7-4 02:03

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

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