you can try to complie api_example.c,and see if it works well.

On Wed, Jun 30, 2010 at 10:05 AM, S R <[email protected]> wrote:

> Hi All
>
> Can anyone please help with this problem? Need this urgently.
>
> Thanks in advance
>
>
>
> On Wed, Jun 30, 2010 at 1:13 AM, S R <[email protected]> wrote:
>
> >
> > Hi
> >
> > I keep getting this error as I try to compile a simple C++ code that
> calls
> > ffmpeg.
> >
> > /usr/local/include/libavutil/common.h: In function ‘int32_t
> > av_clipl_int32(int64_t)’:
> > /usr/local/include/libavutil/common.h:165: error: ‘UINT64_C’ was not
> > declared in this scope
> >
> > Any idea what is wrong. I have installed the latest ffmpeg at this point
> of
> > time. But to no avail. The version I am using is
> >
> > FFmpeg version SVN-r23884, Copyright (c) 2000-2010 the FFmpeg developers
> >   built on Jun 30 2010 00:59:11 with gcc 4.3.3
> >   configuration: --enable-gpl --enable-version3 --enable-nonfree
> > --enable-postproc --enable-pthreads --enable-libfaac --enable-libmp3lame
> > --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid
> > --enable-x11grab
> >   libavutil     50.19. 0 / 50.19. 0
> >   libavcodec    52.78. 0 / 52.78. 0
> >   libavformat   52.71. 0 / 52.71. 0
> >   libavdevice   52. 2. 0 / 52. 2. 0
> >   libavfilter    1.20. 1 /  1.20. 1
> >   libswscale     0.11. 0 /  0.11. 0
> >   libpostproc   51. 2. 0 / 51. 2. 0
> > FFmpeg SVN-r23884
> > libavutil     50.19. 0 / 50.19. 0
> > libavcodec    52.78. 0 / 52.78. 0
> > libavformat   52.71. 0 / 52.71. 0
> > libavdevice   52. 2. 0 / 52. 2. 0
> > libavfilter    1.20. 1 /  1.20. 1
> > libswscale     0.11. 0 /  0.11. 0
> > libpostproc   51. 2. 0 / 51. 2. 0
> > Any idea what is wrong. I saw in the website that CPPFLAGS need to be
> added
> > with
> >
> > *-D__STDC_CONSTANT_MACROS*
> >
> > But it also says that the latest SVN has this error corrected.
> >
> > Please advice. Thanks for your help.
> >
> _______________________________________________
> libav-user mailing list
> [email protected]
> https://lists.mplayerhq.hu/mailman/listinfo/libav-user
>
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to