万能的坛子,救救我吧!!1

2019-07-14 21:30发布

Build target 'MyFirestJob'
compiling STM32f10x_flash.c...
librarystm32f10x_map.h(26): error:  #5: cannot open source input file "stm32f10x_conf.h": No such file or directory
  #include "stm32f10x_conf.h"
librarystm32f10x_flash.c: 0 warnings, 1 error
compiling stm32f10x_gpio.c...
librarystm32f10x_map.h(26): error:  #5: cannot open source input file "stm32f10x_conf.h": No such file or directory
  #include "stm32f10x_conf.h"
librarystm32f10x_gpio.c: 0 warnings, 1 error
compiling stm32f10x_lib.c...
librarystm32f10x_map.h(26): error:  #5: cannot open source input file "stm32f10x_conf.h": No such file or directory
  #include "stm32f10x_conf.h"
librarystm32f10x_lib.c: 0 warnings, 1 error
compiling stm32f10x_rcc.c...
librarystm32f10x_map.h(26): error:  #5: cannot open source input file "stm32f10x_conf.h": No such file or directory
  #include "stm32f10x_conf.h"
librarystm32f10x_rcc.c: 0 warnings, 1 error
compiling stm32f10x_it.c...
.librarystm32f10x_map.h(26): error:  #5: cannot open source input file "stm32f10x_conf.h": No such file or directory
  #include "stm32f10x_conf.h"
interruptstm32f10x_it.c: 0 warnings, 1 error
compiling main.c...
.librarystm32f10x_map.h(26): error:  #5: cannot open source input file "stm32f10x_conf.h": No such file or directory
  #include "stm32f10x_conf.h"
srcmain.c: 0 warnings, 1 error
".MyFirstJob.axf" - 6 Error(s), 0 Warning(s).
Target not created
搞了好几天了。这个KEIL5.1 MDK就是不行啊,谁知道怎么回事。32的库也是在官网下的

友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
该问题目前已经被作者或者管理员关闭, 无法添加新回复
10条回答
silverze
1楼-- · 2019-07-15 19:24
文件路径没有设置正确。
鸿宇
2楼-- · 2019-07-15 19:40
 精彩回答 2  元偷偷看……
mhx321
3楼-- · 2019-07-16 01:35
本帖最后由 mhx321 于 2016-2-18 18:44 编辑

"stm32f10x_conf.h"  这个库的定义不符合keil的要求,你最好找找相关的定义库的资料,库最好是放在和源程序一个目录里,自定义添加的库在主程序中最好这样引用 #include "stm32f10x_conf.h"
ywlzh
4楼-- · 2019-07-16 04:48
很明显的问题,工程没有建好

一周热门 更多>