环境:VC
执行:MFC编译程序
问题描述:Cannot open precompiled header file: 'Debug/****.pch': No such file or directory
解决方案:在菜单栏左击project,选择setting,点击c/c++栏,在Category选择中PreCompiled headers,然后勾选第一选项No using PreCompiled headers,即不使用预编译头,便可以解决!
本文介绍了解决Visual C++环境下MFC应用程序编译时出现的预编译头文件找不到的问题。通过调整项目的设置,禁用预编译头文件的功能,从而解决了Cannot open precompiled header file的错误。
环境:VC
执行:MFC编译程序
问题描述:Cannot open precompiled header file: 'Debug/****.pch': No such file or directory
解决方案:在菜单栏左击project,选择setting,点击c/c++栏,在Category选择中PreCompiled headers,然后勾选第一选项No using PreCompiled headers,即不使用预编译头,便可以解决!
4万+
1万+
2万+

被折叠的 条评论
为什么被折叠?
