关闭

C1803:ERROR Cannot open precompiled header file: 'Debug/.pch': No such file or directory

2070人阅读 评论(0) 收藏 举报

C1083:Cannot open precompiled header file: 'Debug/<Project-Name>.pch': No such file or directory

This error results from a missing file -the compiled version of StdAfx.cpp. Visual C++ does a poor job of keeping

track of this file and frequently "forgets" how to build it.

This problem often occurs after restoring a saved workspace from diskette without the Debug directory.

To fix the error select StdAfx.cpp from the workspace file list them choose Compile from the Build menu.

 If that doesn't work the go to Project -Settings, select the C/C++ tab, and click the radio button labeled Create

Precompiled Headers.


 

0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:7953次
    • 积分:200
    • 等级:
    • 排名:千里之外
    • 原创:7篇
    • 转载:0篇
    • 译文:0篇
    • 评论:3条
    最新评论