原文: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目录下的文件删除,然后重新编译也是一种解决方法

转载于:https://blog.51cto.com/xuedengfeng/1794232

fatal error C1853: 'Debug/***.pch' is not a precompiled header file created with this compil相关推荐

  1. Debug/XXX.pch' is not a precompiled header file created with this compiler

    今天写用vs程序,发现有这个错误,也不知道什么原因,单步跟了下发现提示下面的问题 "Warning: Destroying non-NULL m_pMainWnd". 后来发现原来 ...

  2. 错误:error C1853:Debug\...pch预编译头文件来自编译器版本,或者预编译头C++而在C中使用它

    错误:error C1853:"Debug\...pch"预编译头文件来自编译器版本,或者预编译头C++而在C中使用它(或相反) 原因: 因为当项目中混合了.cpp和.h文件时,编 ...

  3. VC编译器中混有.c文件时出现fatal error C1853错误(转)

    第一章的sample1,文中提到由于windows底层代码基本上是用c语言编写的,因此新工程里的CPP文件要改为C文件. 但是在编译时出现错误fatal error C1853: "debu ...

  4. VS工程中混有.c文件时出现fatal error C1853错误

    VS工程中混有.c文件时出现fatal error C1853错误 工程里的CPP文件要改为C文件后,在编译时出现错误fatal error C1853: "debug/1_1.pch&qu ...

  5. (转)fatal error C1853: precompiled header file is from a previous version of the compiler, or the pre

    预编译头文件来自编译器的早期版本,或者预编译头为C++而在C中使用它(或相反) 当Visual C++项目启用了预编译头(Precompiled header)功能时,如果项目中同时混合有.c和.cp ...

  6. 关于编译错误 fatal error C1083: Cannot open precompiled header file

        今天编译一个比较大的工程时,总是遇到这样的编译错误,想必凡是用过VC6.0做过比较大的程序或者做过MFC开发的朋友都遇到过.错误提示如下,fatal error C1083:Cannot op ...

  7. Cannot open precompiled header file: 'Debug/****.pch': No such file or directory

    环境:VC 执行:编译程序 问题描述:Cannot open precompiled header file: 'Debug/****.pch': No such file or directory ...

  8. Cannot open precompiled header file: 'Debug/shuju1.pch': No such file or directory

    Q1: Cannot open precompiled header file: 'Debug/shuju1.pch': No such file or directory solution: 是预编 ...

  9. Cannot open precompiled header file:'Debug/password.pch' No such file or directory

    今天在VC6.0中咕哝个程序,遇到如下提示: Cannot open precompiled header file:'Debug/password.pch' No such file or dire ...

最新文章

  1. 大失所望:第一次去苹果店“享受”维修服务的经历
  2. 野火linux底板设计,野火STM32F767套件(底板+核心板)
  3. 《实现模式(修订版)》—第2章模式
  4. 一位Oracle老司机的openGauss初体验
  5. 最优化读书笔记R(一)
  6. 这款Linux 恶意软件正在劫持全球的超级计算机
  7. USB及手机平板设备插拔响应解决方案
  8. [置顶] 原创鼠标拖动实现DIV排序
  9. .mmap文件如何打开
  10. AEJoy ——表达式代码列表和示例(四)【代码详解】
  11. 用手机当电脑摄像头——Droidcam
  12. 活动轮廓模型之Snake模型简介
  13. Data URL 基本介绍
  14. 计算机图形学-五角星的画法
  15. 安卓手机阅读软件哪个比较好啊
  16. 基于jQuery实现表单提交验证
  17. 哥伦比亚大学公众人物脸部数据集
  18. JAVA 开发中常用的工具有哪些?
  19. 什么叫超融合基础架构?
  20. QT_下拉选项框_Combo Box_使用

热门文章

  1. 第一次作业+105032014142
  2. Ubuntu14.04环境下配置TFTP服务器
  3. Yii框架上传后展示图片
  4. django 数据库交互2
  5. PlaceHolder到底什么
  6. 前端笔记 | HTML基础
  7. python诞生日期_Python中的时间与日期
  8. ipa 上传卡在鉴权_Application Loader上传app,一直卡在“正在通过 App Store 进行鉴定”...
  9. vba有下拉框的模糊查找_巧用数据验证制作模糊匹配的下拉列表
  10. micropython按键控制流水灯_【MicroPython】LAB01 - 流水灯