您的位置:知蚁博客 » 程序设计 » fatel error C1083:无法打开包括文件:stdint.h: No such file or directory

fatel error C1083:无法打开包括文件:stdint.h: No such file or directory

作者: 发布时间:2013-01-05 分类:程序设计 标签: 2,035人浏览

最近尝试在windows XP下编译chromium,过程可谓艰辛无比啊,编译了一天总算是有结果了,下面就是痛苦的解决编译错误的过程了。

fatal error C1083: 无法打开包括文件:“stdint.h”: No such file or directory

stdint.h是c99标准的头文件,vc不支持,所以肯定会提示“No such file or directory”的。

解决办法:

去googlecode下载http://msinttypes.googlecode.com/files/msinttypes-r26.zip

解压后会得到三个文件,把inttypes.h和stdint.h放到vc的include目录就可以了。

我安装的是VS2008,安装到的默认位置,因此include的路径就是:

C:\Program Files\Microsoft Visual Studio 9.0\VC\include

通过以上方法,成功解决编译错误。
原创文章请注明转载于知蚁博客,本文地址:http://www.letuknowit.com/archives/fatel-error-c1083-stdint-h-no-such-file-or-directory

相关文章

我来说说

(必须)

(必须,保密)

你确定你已经看过文章了?
取消

无觅相关文章插件,快速提升流量