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

Alexander Chemeris ipse.ffmpeg
Tue Jan 23 15:44:52 CET 2007


On 1/23/07, Cool_Zer0 <c00jz3r0 at gmail.com> wrote:
> On 1/23/07, M?ns Rullg?rd <mru at inprovide.com> wrote:
> >
> >
> > Cool_Zer0 said:
> > > 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!)
> >
> > We can't fix your broken compiler even if we wanted to.
> >
> > > 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;
> >
> > There's an even better option.  Someone created an inttypes.h that works
> > with msvc.  Search the mailing list archives from late last year.
>
>
>
> I've tested that inttypes.h and didn't work but my environment is a little
> different... I'm cross compiling to Windows CE...
That's interesting.
Could you describe *how* they did not worked?


-- 
Regards,
Alexander Chemeris.




More information about the ffmpeg-devel mailing list