STM32/STM8技术论坛
直播中

小害虫

9年用户 70经验值
擅长:嵌入式技术 控制/MCU
私信 关注
[问答]

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

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的库也是在官网下的

已退回2积分

回帖(12)

杜爱军

2015-11-24 15:44:47
我等着用,顶起
举报

陈一

2015-11-25 07:38:40
cannot open source input file "stm32f10x_conf.h": No such file or directory
很明显了呀  说没有这个文件或者文件夹
举报

jiangers

2015-11-25 20:29:49
不懂帮顶!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
举报

h1654155920.4618

2015-12-18 21:36:27
举报

乔路阳

2015-12-19 14:02:32
在工程选项->C/C++->Iclude Path中添加库文件中包含.h文件的文件夹

就是你要告诉它你的.h文件在哪里放,建议找个建工程的教程看一下
举报

chenwei6991627

2016-1-12 11:48:38
很明细的问题,是看不到英文吗?
举报

李耀

2016-1-12 13:07:53
不懂帮顶!!!!!!!!!
举报

爷帅纯属绯闻

2016-1-12 19:31:10
大神啊,渣渣一个也看不懂                  
举报

银泽

2016-2-17 14:15:44
文件路径没有设置正确。
举报

鸿宇

2016-2-18 16:05:35
提示说conf.h文件没有了。怎么办呢?把文件的路径加到工程里面就好了啊
举报

mhx321

2016-2-18 18:42:05
本帖最后由 mhx321 于 2016-2-18 18:44 编辑

"stm32f10x_conf.h"  这个库的定义不符合keil的要求,你最好找找相关的定义库的资料,库最好是放在和源程序一个目录里,自定义添加的库在主程序中最好这样引用 #include "stm32f10x_conf.h"
举报

ywlzh

2016-2-22 15:59:51
很明显的问题,工程没有建好
举报

更多回帖

发帖
×
20
完善资料,
赚取积分