Cannot open include file: 'inttypes.h': No such file or directory

来源:互联网 发布:淘宝营销推广策略 编辑:程序博客网 时间:2024/05/06 18:21

网上找到的 解决办法

在VC中调试apiexample.c的函数,由于今天更新了ffmpeg的SDK,编译时出现Cannot open include file: 'inttypes.h': No such file or directory 的出错信息。在网上查了好久,试了各种办法均不能凑效。

最后经过崔老师提示,很简单的解决了这个问题。我的解决办法是:

把提示出错的地方(即#include <stdint.h>)全部改为#include"stdint.h",即把尖括号改为双引号。把所有提示出错的地方全部改过来之后,就OK了。

原创粉丝点击