OpenEdv-开源电子网

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

MDK编译错误,求大神指点了,谢谢

[复制链接]

11

主题

64

帖子

0

精华

中级会员

Rank: 3Rank: 3

积分
272
金钱
272
注册时间
2014-8-19
在线时间
32 小时
发表于 2015-3-18 09:48:40 | 显示全部楼层 |阅读模式
正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

3

主题

8

帖子

0

精华

初级会员

Rank: 2

积分
113
金钱
113
注册时间
2015-3-18
在线时间
20 小时
发表于 2015-3-18 09:48:41 | 显示全部楼层
回复

使用道具 举报

11

主题

64

帖子

0

精华

中级会员

Rank: 3Rank: 3

积分
272
金钱
272
注册时间
2014-8-19
在线时间
32 小时
 楼主| 发表于 2015-3-18 09:50:32 | 显示全部楼层
总是出现这种错误,求指点
回复

使用道具 举报

11

主题

64

帖子

0

精华

中级会员

Rank: 3Rank: 3

积分
272
金钱
272
注册时间
2014-8-19
在线时间
32 小时
 楼主| 发表于 2015-3-18 09:53:43 | 显示全部楼层





这个也是出现同样的错误,郁闷
回复

使用道具 举报

14

主题

1592

帖子

0

精华

资深版主

Rank: 8Rank: 8

积分
2622
金钱
2622
注册时间
2014-7-17
在线时间
350 小时
发表于 2015-3-18 10:23:46 | 显示全部楼层
说不能打开和进入这个文件,你看下该文件的路径是否加载了,如果加载了还是不行的话,你找到该文件。。右击文件,属性,把只读的勾选去掉!!!
回复

使用道具 举报

11

主题

64

帖子

0

精华

中级会员

Rank: 3Rank: 3

积分
272
金钱
272
注册时间
2014-8-19
在线时间
32 小时
 楼主| 发表于 2015-3-19 10:23:27 | 显示全部楼层
回复【4楼】FantaSy_:
---------------------------谢了啊
回复

使用道具 举报

11

主题

64

帖子

0

精华

中级会员

Rank: 3Rank: 3

积分
272
金钱
272
注册时间
2014-8-19
在线时间
32 小时
 楼主| 发表于 2015-3-19 10:23:51 | 显示全部楼层
回复【5楼】老菜鸟:
---------------------------------
谢谢你了
回复

使用道具 举报

11

主题

64

帖子

0

精华

中级会员

Rank: 3Rank: 3

积分
272
金钱
272
注册时间
2014-8-19
在线时间
32 小时
 楼主| 发表于 2015-6-4 09:23:47 | 显示全部楼层
回复【4楼】FantaSy_:
---------------------------------
回复【4楼】FantaSy_:
---------------------------------
Rebuild target 'stm32-dem0'
assembling startup_stm32f10x_hd.s...
compiling main.c...
E:\学习软件\MDK\ARM\Inc\ST\STM32F10x\stm32f10x.h(8297): error:  #5: cannot open source input file "stm32f10x_conf.h": No such file or directory
compiling stm32f10x_it.c...
E:\学习软件\MDK\ARM\Inc\ST\STM32F10x\stm32f10x.h(8297): error:  #5: cannot open source input file "stm32f10x_conf.h": No such file or directory
compiling misc.c...
..\FWlib\src\misc.c(24): error:  #5: cannot open source input file "misc.h": No such file or directory
compiling stm32f10x_adc.c...
..\FWlib\src\stm32f10x_adc.c(23): error:  #5: cannot open source input file "stm32f10x_adc.h": No such file or directory
compiling stm32f10x_bkp.c...
..\FWlib\src\stm32f10x_bkp.c(23): error:  #5: cannot open source input file "stm32f10x_bkp.h": No such file or directory
compiling stm32f10x_can.c...
..\FWlib\src\stm32f10x_can.c(23): error:  #5: cannot open source input file "stm32f10x_can.h": No such file or directory
compiling stm32f10x_cec.c...
..\FWlib\src\stm32f10x_cec.c(23): error:  #5: cannot open source input file "stm32f10x_cec.h": No such file or directory
compiling stm32f10x_crc.c...
..\FWlib\src\stm32f10x_crc.c(23): error:  #5: cannot open source input file "stm32f10x_crc.h": No such file or directory
compiling stm32f10x_dac.c...
..\FWlib\src\stm32f10x_dac.c(23): error:  #5: cannot open source input file "stm32f10x_dac.h": No such file or directory
compiling stm32f10x_dbgmcu.c...
..\FWlib\src\stm32f10x_dbgmcu.c(23): error:  #5: cannot open source input file "stm32f10x_dbgmcu.h": No such file or directory
compiling stm32f10x_dma.c...
..\FWlib\src\stm32f10x_dma.c(23): error:  #5: cannot open source input file "stm32f10x_dma.h": No such file or directory
compiling stm32f10x_exti.c...
..\FWlib\src\stm32f10x_exti.c(23): error:  #5: cannot open source input file "stm32f10x_exti.h": No such file or directory
compiling stm32f10x_flash.c...
..\FWlib\src\stm32f10x_flash.c(23): error:  #5: cannot open source input file "stm32f10x_flash.h": No such file or directory
compiling stm32f10x_fsmc.c...
..\FWlib\src\stm32f10x_fsmc.c(23): error:  #5: cannot open source input file "stm32f10x_fsmc.h": No such file or directory
compiling stm32f10x_gpio.c...
..\FWlib\src\stm32f10x_gpio.c(23): error:  #5: cannot open source input file "stm32f10x_gpio.h": No such file or directory
compiling stm32f10x_i2c.c...
..\FWlib\src\stm32f10x_i2c.c(23): error:  #5: cannot open source input file "stm32f10x_i2c.h": No such file or directory
compiling stm32f10x_iwdg.c...
..\FWlib\src\stm32f10x_iwdg.c(23): error:  #5: cannot open source input file "stm32f10x_iwdg.h": No such file or directory
compiling stm32f10x_pwr.c...
..\FWlib\src\stm32f10x_pwr.c(23): error:  #5: cannot open source input file "stm32f10x_pwr.h": No such file or directory
compiling stm32f10x_rcc.c...
..\FWlib\src\stm32f10x_rcc.c(23): error:  #5: cannot open source input file "stm32f10x_rcc.h": No such file or directory
compiling stm32f10x_rtc.c...
..\FWlib\src\stm32f10x_rtc.c(23): error:  #5: cannot open source input file "stm32f10x_rtc.h": No such file or directory
compiling stm32f10x_sdio.c...
..\FWlib\src\stm32f10x_sdio.c(23): error:  #5: cannot open source input file "stm32f10x_sdio.h": No such file or directory
compiling stm32f10x_spi.c...
..\FWlib\src\stm32f10x_spi.c(23): error:  #5: cannot open source input file "stm32f10x_spi.h": No such file or directory
compiling stm32f10x_tim.c...
..\FWlib\src\stm32f10x_tim.c(23): error:  #5: cannot open source input file "stm32f10x_tim.h": No such file or directory
compiling stm32f10x_usart.c...
..\FWlib\src\stm32f10x_usart.c(23): error:  #5: cannot open source input file "stm32f10x_usart.h": No such file or directory
compiling stm32f10x_wwdg.c...
..\FWlib\src\stm32f10x_wwdg.c(23): error:  #5: cannot open source input file "stm32f10x_wwdg.h": No such file or directory
compiling core_cm3.c...
compiling system_stm32f10x.c...
..\CMSIS\stm32f10x.h(8297): error:  #5: cannot open source input file "stm32f10x_conf.h": No such file or directory
Target not created
还是不行啊,这是全部的错误
回复

使用道具 举报

1

主题

4

帖子

0

精华

新手上路

积分
22
金钱
22
注册时间
2019-2-8
在线时间
5 小时
发表于 2019-4-9 22:53:40 | 显示全部楼层
你可以试着把有错误的哪一行给删掉
因为库文件里面有好多都是用不到的
这个只是解决方法 根本的还是头文件没有添加
回复

使用道具 举报

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

本版积分规则



关闭

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

正点原子公众号

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

GMT+8, 2025-6-11 08:37

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

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