微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 嵌入式设计讨论 > MCU和单片机设计讨论 > 万能的坛子,救救我吧!1

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

时间:10-02 整理:3721RD 点击:
Build target 'MyFirestJob'
compiling stm32f10x_flash.c...
library\stm32f10x_map.h(26): error:  #5: cannot open source input file "stm32f10x_conf.h": No such file or directory
  #include "stm32f10x_conf.h"
library\stm32f10x_flash.c: 0 warnings, 1 error
compiling stm32f10x_gpio.c...
library\stm32f10x_map.h(26): error:  #5: cannot open source input file "stm32f10x_conf.h": No such file or directory
  #include "stm32f10x_conf.h"
library\stm32f10x_gpio.c: 0 warnings, 1 error
compiling stm32f10x_lib.c...
library\stm32f10x_map.h(26): error:  #5: cannot open source input file "stm32f10x_conf.h": No such file or directory
  #include "stm32f10x_conf.h"
library\stm32f10x_lib.c: 0 warnings, 1 error
compiling stm32f10x_rcc.c...
library\stm32f10x_map.h(26): error:  #5: cannot open source input file "stm32f10x_conf.h": No such file or directory
  #include "stm32f10x_conf.h"
library\stm32f10x_rcc.c: 0 warnings, 1 error
compiling stm32f10x_it.c...
.\library\stm32f10x_map.h(26): error:  #5: cannot open source input file "stm32f10x_conf.h": No such file or directory
  #include "stm32f10x_conf.h"
interrupt\stm32f10x_it.c: 0 warnings, 1 error
compiling main.c...
.\library\stm32f10x_map.h(26): error:  #5: cannot open source input file "stm32f10x_conf.h": No such file or directory
  #include "stm32f10x_conf.h"
src\main.c: 0 warnings, 1 error
".\MyFirstJob.axf" - 6 Error(s), 0 Warning(s).
Target not created
搞了好几天了。这个KEIL5.1 MDK就是不行啊,谁知道怎么回事。32的库也是在官网下的

我等着用,顶起

cannot open source input file "stm32f10x_conf.h": No such file or directory
很明显了呀  说没有这个文件或者文件夹

不懂帮顶!

在工程选项->C/C++->Iclude Path中添加库文件中包含.h文件的文件夹
就是你要告诉它你的.h文件在哪里放,建议找个建工程的教程看一下

很明细的问题,是看不到英文吗?

不懂帮顶!

大神啊,渣渣一个也看不懂                  

文件路径没有设置正确。

提示说conf.h文件没有了。怎么办呢?把文件的路径加到工程里面就好了啊

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

很明显的问题,工程没有建好

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top