VC突然有有关问题了,请问熟悉的

VC突然有问题了,请教熟悉的大虾
编译时经常出现如下错误,特别是rebuild   all
fatal   error   C1083:   Cannot   open   precompiled   header   file:   'Debug/XXX.pch ':   Permission   denied  
在我的工程里,一般有10多个
然后重新编译一遍就少一个,再编译一遍又少一个,直到完成,很麻烦。
不知怎么造成的,看看pch文件也在呀,以为文件坏了,删掉重新产生后,然而问题依然

谢谢!

------解决方案--------------------
如果用vs2003的话右键选择清理解决方案,然后在生成试试。
------解决方案--------------------
MSDN C1083 奉上
Error Message
Cannot open filetype file: 'file ': message


To fix by checking the following possible causes

File does not exist.

File, subdirectory, or disk is read-only.

No access permission for file or directory.

Not enough file handles. Close some applications and recompile.

The INCLUDE environment variable is set incorrectly.

An #include directive uses double quotation marks around a path specification, which causes the standard directories to be skipped.

You did not specify /clr and your program uses CLR constructs.

You attempted to compile a single file in the project without first compiling stdafx.cpp. Before you can compile a single file in the project, you need to compile stdafx.cpp. In the case of the /analyze (Enterprise Code Analysis) compiler option, you will need to use the same /analyze setting for stdafx.cpp that you use for the .cpp file.

The following sample generates C1083:

Copy Code
// C1083.cpp
// compile with: /c
#include "test.h " // C1083 test.h does not exist
#include "stdio.h " // OK


------解决方案--------------------
=setting,在c/c++栏,选择PreCompiled headers,选择不使用预编译头试试看

建议重装
------解决方案--------------------
http://blog.sina.com.cn/u/4a2b6319010005i9
------解决方案--------------------
偶尔用下2003,VC6好像没见过.

你用个工具DUMP下当时的内存镜像看下...



------解决方案--------------------
是不是装瑞星了?跟机器有关,我笔记本配置比较好,没这个问题,台式机是4年前买的,今年一次瑞星升级后就开始出现这个问题,不过稍有不同,是rebuild时出现情况时再build一般就会好,总之是要build和rebuild轮着来,看运气,没出现过build一次少一个的情况。
估计是build时瑞星要查毒,机器速度慢就造成冲突。工程大,文件多会出现这种情况,小工程没遇到过。
------解决方案--------------------
我觉得与开发环境有关,
实在不行的话就卸载重装吧