標(biāo)題: error: #5: cannot open source input file "": No such file or directory [打印本頁(yè)]

作者: xiaobaixuexi    時(shí)間: 2018-9-11 17:19
標(biāo)題: error: #5: cannot open source input file "": No such file or directory
一下午都沒(méi)有解決的KEIL的問(wèn)題,謝謝大佬們了
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

大佬這個(gè)怎么辦啊


作者: woshige    時(shí)間: 2018-9-11 19:15
找不到你的頭文件,檢查一下頭文件是否在指定的目錄下,或者手動(dòng)添加到工程
作者: xiaobaixuexi    時(shí)間: 2018-9-12 00:20
那這個(gè)又為什么會(huì)這樣呢?我已經(jīng)重裝三四次了欸,都還是這樣,謝謝各位大佬啦,一直在學(xué),謝謝拜托啦

V(EA1EW1BST94JBCVZZFRGH.png (65.45 KB, 下載次數(shù): 32)

V(EA1EW1BST94JBCVZZFRGH.png

UK@JTNW4HP[0H60C0PI~G)T.png (35.58 KB, 下載次數(shù): 38)

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

IRWUAFJ`$$)90NL4L}P%JQ8.png (36.08 KB, 下載次數(shù): 19)

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

作者: xiaobaixuexi    時(shí)間: 2018-9-12 16:46
哇,沒(méi)人
作者: yang陽(yáng)    時(shí)間: 2018-9-13 13:48
中文路徑很容易出問(wèn)題,改一下路徑,全英文最好
作者: 天然呆·    時(shí)間: 2019-9-5 16:16
請(qǐng)問(wèn)·你的這個(gè)問(wèn)題解決了嗎?如果解決了。能教教我嗎,




歡迎光臨 (http://www.torrancerestoration.com/bbs/) Powered by Discuz! X3.1