KEIL工程編譯出現Error command-line cannot open preprocessing output output file錯誤

KEIL工程編譯出現flash_.c: Error: command-line: #564: cannot open preprocessing output output file “.\工程文件\flash.d”: No such file or directory錯誤,原因有:
1.Option選項卡-Output選項-Select Folder For Objects輸出文件夾出現了中文名,如下:
這裏寫圖片描述
2.文件屬性爲只讀。
解決辦法:1.更改輸出文件夾名稱避免出現中文,改爲非中文名稱即可。
2.去掉文件的只讀屬性。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章