看板 C_and_CPP 關於我們 聯絡資訊
開發平台(Platform): (Ex: VC++, GCC, Linux, ...) Keil C 問題(Question): 想想問開啟Keil C時會Build到檔案的問題 例如新增xxx.c和xxx.h 而在程式裡Include <xxx.h> 但當要Compile時 會Compile error 原因是Keil C左邊欄位沒有把xxx.c拉進來Compile到 要手動把xxx.c加入Group裡才會Compile成功 但我把這份Code給別人用時 也是出現Compile error問題 也需要手動把xxx.c加入Group裡 請問要怎麼一開始就會把xxx.c 拉進來一起Compile 是設定上的問題嗎? 謝謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 111.251.197.13 ※ 文章網址: https://www.ptt.cc/bbs/C_and_CPP/M.1469247144.A.0DB.html
longlongint: link 07/23 12:50
chuegou: 路徑設定吧? 07/23 13:20