fatal error C1083: 无法打开包括文件:“stdint.h”: No such file or directory
【错误】fatal error C1083: 无法打开包括文件:“stdint.h”: No such file or directory
【原因】stdint.h是c99标准的头文件,vc不支持,所以肯定会提示“No such file or directory”的。
【解决方案】
1. 去http://download.csdn.net/download/liubing8609/10046490下载“inttypes.h+stdint.h”压缩文件。
2. 解压后把inttypes.h和stdint.h放到vc的include目录就可以了。我安装的是VS2008,安装到的默认位置,因此include的路径就是:C:\Program Files\Microsoft Visual Studio 9.0\VC\include
通过以上方法,成功解决编译错误。
fatal error C1083: 无法打开包括文件:“stdint.h”: No such file or directory
最新推荐文章于 2026-04-17 10:56:38 发布
本文介绍了解决VC编译环境下因stdint.h缺失导致的编译错误问题。提供了具体的解决方案,包括从网上下载stdint.h文件,并将其放置于VC的include目录中。

349

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



