[Ffmpeg-devel] old "inttypes.h not found" error

Cool_Zer0 c00jz3r0
Tue Jan 23 15:22:32 CET 2007


On 1/23/07, Axel Gallus <uh5d at rz.uni-karlsruhe.de> wrote:
>
> Today i downloaded the new svn snapshot ffmpeg-checkout-2007-01-23.
> I compiled it with visual studio 2005 as written on the ffmpeg
> documentation.
> Everything went ok - the dll & lib files were built, and I could include
> them
> in my project. But when including #include <avcodec.h> the error message
> "Error 1 fatal error C1083: Cannot open include file: 'inttypes.h': No
> such file or directory e:\installations\visual studio libraries and
> includefiles\ffmpeg\libavutil\common.h 29" appeared.
>
> This seems to be an old issue, that now re-appeared.
> Maybe someone has changed something in the source code that now causes
> that error?
> The old ffmpeg-checkout-2007-01-18 did't cause that error.




Hi.
The guys from ffmpeg don't want to correct that problem (for me it is a
problem!)
You can replace
#include <inttypes.h">
with


typedef signed char  int8_t;
typedef signed short int16_t;
typedef signed int   int32_t;
typedef unsigned char  uint8_t;
typedef unsigned short uint16_t;
typedef unsigned int   uint32_t;
typedef signed long long   int64_t;
typedef unsigned long long uint64_t;


Good luck




More information about the ffmpeg-devel mailing list