这是什么错误啊?

edrftgyh 2003-05-18 09:35:03
fatal error C1083: Cannot open precompiled header file: 'Debug/Face.pch': No such file or directory
请大侠们多多指导!
...全文
63 10 打赏 收藏 转发到动态 举报
写回复
用AI写文章
10 条回复
切换为时间正序
请发表友善的回复…
发表回复
jijuzheng 2003-05-18
  • 打赏
  • 举报
回复
project ->settings,在左边Settins for的那一栏找到 source files->stdafx.cpp
然后在右边找到->c/c++->category->precompiled headers->create precompiled header file->Through header: stdafx.h

OK
edrftgyh 2003-05-18
  • 打赏
  • 举报
回复
这位老兄能说清楚一点吗!我好像找不到你说的那选项啊!
jijuzheng 2003-05-18
  • 打赏
  • 举报
回复
project settings->source files->stdafx.cpp->c/c++->category->precompiled headers->create precompiled header file->Through header: stdafx.h 确定后编译
lblyy76 2003-05-18
  • 打赏
  • 举报
回复
可能是环境设置有问题
edrftgyh 2003-05-18
  • 打赏
  • 举报
回复
谢谢各位大侠的指导,不过好像还是不行啊!还有哪位大侠知道,请不吝赐教啊!
kindguy 2003-05-18
  • 打赏
  • 举报
回复
This error can occur if the file, subdirectory, or disk on which it resides is read-only. In this case, make the file writable or move the file to a writable disk. See your operating system documentation for information on removing the read-only attribute from a file.


This error may be caused by not having enough file handles. Close some open applications and recompile.


Trying to open a file or directory for which you do not have permission can cause this error. Move the file to a directory where you do have access privileges, or ask your network administrator to grant you access to the file.


If an include file could not be opened, check that the INCLUDE environment variable is set correctly and that the name of the file is spelled correctly.


Using double quotation marks around a complete path specification in a #include directive causes the standard directories to NOT be searched. See The #include Directive in the Preprocessor Reference for more information.
xiaoshao_0_0 2003-05-18
  • 打赏
  • 举报
回复
删除debug 子目录试试
不行删除工程文件重建工程
将文件加入空的工程里
edrftgyh 2003-05-18
  • 打赏
  • 举报
回复
老兄好像还是不行啊!哪位大侠出手相救啊!救人一命胜造七级浮屠啊!
Momoko 2003-05-18
  • 打赏
  • 举报
回复
build->clean
build->rebuild all
edrftgyh 2003-05-18
  • 打赏
  • 举报
回复
多谢jijuzheng(极品飞车) 老兄!呵呵!

16,471

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC相关问题讨论
社区管理员
  • 基础类社区
  • Web++
  • encoderlee
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

        VC/MFC社区版块或许是CSDN最“古老”的版块了,记忆之中,与CSDN的年龄几乎差不多。随着时间的推移,MFC技术渐渐的偏离了开发主流,若干年之后的今天,当我们面对着微软的这个经典之笔,内心充满着敬意,那些曾经的记忆,可以说代表着二十年前曾经的辉煌……
        向经典致敬,或许是老一代程序员内心里面难以释怀的感受。互联网大行其道的今天,我们期待着MFC技术能够恢复其曾经的辉煌,或许这个期待会永远成为一种“梦想”,或许一切皆有可能……
        我们希望这个版块可以很好的适配Web时代,期待更好的互联网技术能够使得MFC技术框架得以重现活力,……

试试用AI创作助手写篇文章吧