keil4编译运行时,编译生成hex文件时遇到 User\main.c(20): error: #5: cannot open source input file "led.h": No such file or directory 该如何解决
【问题描述】:如题
【思路】:cannot open source input file "led.h": No such file or directory (无法打开源文件:不在目录)
——1.无法打开源文件首先想是不是,文件格式有错误,但发现左侧project栏的目录下,存在led.h文件且可以打开
——2.是不是路径有错误或者没有添加文件路径,导致keil软件无法识别到。问题确定。
【解决办法】:



浙公网安备 33010602011771号