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

网上找到的 解决办法

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

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

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

你可能感兴趣的:(Cannot open include file: 'inttypes.h': No such file or directory)