cannot open source input file的解决方法
的有关信息介绍如下:CMSIS\stm32f10x.h(8297): error: #5: cannot open source input file "stm32f10x_conf.h": No such file or directory
Lib\src\misc.c(24): error: #5: cannot open source input file "misc.h": No such file or directory
Lib\src\stm32f10x_rcc.c(23): error: #5: cannot open source input file "stm32f10x_rcc.h": No such file or directory
Lib\src\stm32f10x_gpio.c(23): error: #5: cannot open source input file "stm32f10x_gpio.h": No such file or directory
首先打开keil软件,并且打开了相关工程,打开如图所示的设置按钮;
选择如图所示界面,点击添加文件路径。
开始一个一个的添加文件路径。
添加完成,如图所示。点击OK
编译运行,错误解决。