天天看點

VS2017不能打開stdio.h等檔案

從另一台機器上複制過來的項目,由于兩台機器的庫目錄不一緻,導緻了stdio.h等很多檔案都打不開:

VS2017不能打開stdio.h等檔案

解決的辦法是從新設定包含目錄。選擇項目-->%項目名稱%屬性-->VC++目錄,設定包含目錄為C:\Program Files %28x86%29\Windows Kits\10\Include\10.0.15063.0\ucrt:

VS2017不能打開stdio.h等檔案
VS2017不能打開stdio.h等檔案

然後就可以找到這些檔案了。

VS2017不能打開stdio.h等檔案