标题: error: #5: cannot open source input file "": No such file or directory [打印本页]

作者: xiaobaixuexi    时间: 2018-9-11 17:19
标题: error: #5: cannot open source input file "": No such file or directory
一下午都没有解决的KEIL的问题,谢谢大佬们了
Build target 'Template'
compiling main.c...
main.c(2): error:  #5: cannot open source input file "hongwai.h": No such file or directory
  #include "hongwai.h"
main.c: 0 warnings, 1 error
compiling sys.c...
"no source": Error:  #5: cannot open source input file "C:\Users\匹诺曹\AppData\Local\Temp\p301c-2": Permission denied
..\SYSTEM\sys\sys.c: 0 warnings, 1 error
compiling core_cm3.c...
"no source": Error:  #5: cannot open source input file "C:\Users\匹诺曹\AppData\Local\Temp\p20c-2": Permission denied
..\CORE\core_cm3.c: 0 warnings, 1 error
"..\OBJ\Template.axf" - 1 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed:  00:00:01

大佬这个怎么办啊


作者: woshige    时间: 2018-9-11 19:15
找不到你的头文件,检查一下头文件是否在指定的目录下,或者手动添加到工程
作者: xiaobaixuexi    时间: 2018-9-12 00:20
那这个又为什么会这样呢?我已经重装三四次了欸,都还是这样,谢谢各位大佬啦,一直在学,谢谢拜托啦

V(EA1EW1BST94JBCVZZFRGH.png (65.45 KB, 下载次数: 32)

V(EA1EW1BST94JBCVZZFRGH.png

UK@JTNW4HP[0H60C0PI~G)T.png (35.58 KB, 下载次数: 38)

UK@JTNW4HP[0H60C0PI~G)T.png

IRWUAFJ`$$)90NL4L}P%JQ8.png (36.08 KB, 下载次数: 19)

IRWUAFJ`$$)90NL4L}P%JQ8.png

作者: xiaobaixuexi    时间: 2018-9-12 16:46
哇,没人
作者: yang阳    时间: 2018-9-13 13:48
中文路径很容易出问题,改一下路径,全英文最好
作者: 天然呆·    时间: 2019-9-5 16:16
请问·你的这个问题解决了吗?如果解决了。能教教我吗,




欢迎光临 (http://www.51hei.com/bbs/) Powered by Discuz! X3.1