原文:http://blog.csdn.net/qmagic/article/details/2718768
問題背景:
使用 vc6 企業版 打開網絡上下載的代碼,但是出現如此問題。
fatal error C1853: 'Debug/***.pch' is not a precompiled header file created with this compiler
解決方法:
出現這個問題,把工程編譯選項中的預編譯去掉就可以了,操作步驟:首先全部重編譯一下工程,如還是不行則試一試將工程設置中C/C++中 precompiled header中選中automatic use of precompiled headers,並在相應through header中輸入stdafx.h。
另外,把debug目錄下的文件刪除,然後重新編譯也是一種解決方法