VC++6.0编译时出现fatal error C1083: Cannot open include file
来源:互联网 发布:谷歌浏览器连不上网络 编辑:程序博客网 时间:2024/05/19 20:42
在VC++6.0调试程序时,有时会出现这样的错误:fatal error C1083: Cannot open include file: '头文件名': No such file or directory 执行 cl.exe 时出错。
出错的原因可能是:
1. 工程目录中没有相应的头文件,需要将该头文件复制到工程目录下。
2. VC++6.0的工程路径设置不正确,详细说明如下:
如果你在cpp文件中有这样的预编译指令:#include "lcs\lcs.h",这条预编译指令的含义是编译器会在 工程路径\lcs 这个目录下查找lcs.h这个头文件,lcs\lcs.h这个路径仅仅是一个相对于工程路径的相对路径,如果你已经把lcs.h文件放到lcs文件夹下,这时必须保证你的工程路径设置正确,工程路径\lcs\lcs.h 一个能够找到文件lcs.h的绝对路径 。如果你的头文件的绝对路径是:D:\vcLX\libLCS\lcs\lcs.h,做如下设置:选择工具->选项 ,打开如下对话框
按上图选中项设置你的工程路径,再编译就没错了。- VC++6.0编译时出现fatal error C1083: Cannot open include file
- VC++6.0编译时出现fatal error C1083: Cannot open include file: 'conio.h': No such file or directory解决
- fatal error C1083: Cannot open include file
- fatal error C1083: Cannot open include file:
- VC 6.0:fatal error C1083: Cannot open precompiled header file:
- 关于VC6编译DirectSound Simple时fatal error C1083: Cannot open include file: 'dxerr9.h': No such file or direc
- VC6.0 fatal error C1083: Cannot open include file 错误
- fatal error C1083: Cannot open include file: 'qwtplot.h':
- VC错误 fatal error C1083: Cannot open precompiled header file
- 编译错误 fatal error C1083: Cannot open precompiled header file
- 编译错误 fatal error C1083: Cannot open precompiled header file
- 编译C++出现fatal error c1083: cannot open precompiled header file问题的解决办法
- C语言编译错误 fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory
- fatal error C1083: Cannot open include file: ' VS2005中添加 include 目录方法
- Microsoft Visual Studio6.0\VC98\INCLUDE\userenv.h(15) : fatal error C1083: Cannot open include file:
- fatal error C1083: Cannot open include file: 'ProMenu.h': No such file or directory
- fatal error C1083 Cannot open include file 'iostream.h' No such file or directory 的解决方法
- fatal error C1083: Cannot open include file: 'stdlib': No such file or directory
- Oracle升级问题总结
- Oracle展示Java SE8路线图 追加Java ME投资
- C#/ASP.NET/WinForm 通过ICSharpCode.SharpZipLib.dll实现文件夹、文件的压缩与解压
- 软件开发人员的作战手册 - 让程序员活的久一点 .
- Eclipse开发环境中使用maven插件的配置备忘
- VC++6.0编译时出现fatal error C1083: Cannot open include file
- Chapter 23: Termination Handlers(2)Understanding Termination Handlers by Example(4)
- Java 8决定采用跟C#一样的Lambda句法
- 枚举实例及应用
- 线程+异步委托解决因耗时长造成界面假死问题
- 关于spring中加入两个不同数据库的sessionfactory遇到的问题.
- 可持续的速度——怎么理解?如何实现?
- 在solaris操作系统下使用Oracle10.1g廋客户端
- Linux 2.6 内核中的最新电源管理技术综述