解决错误:无法打开源输入文件stm32f10x_conf.h: No such file or directory #include stm32f10x_conf.h

cannot open source input file "stm32f10x_conf.h": No such file or directory #include "stm32f10x_conf.h"解决办法

1.点击魔法棒选择C/C++选择Include Paths

 

 2.检查所添加的路径中是否有所需要的.h文件

 

 inc中存放的是.h文件,检查路径正确后仍编译找不到.h文件可能是,文件夹中不含有stm32f10x_conf.h,此时需要复制一个文件到inc中重新编译即可

 

物联沃分享整理
物联沃-IOTWORD物联网 » 解决错误:无法打开源输入文件stm32f10x_conf.h: No such file or directory #include stm32f10x_conf.h

发表评论