[FFmpeg-user] libavutil/common.h:173:47: error: ‘UINT64_C’ was not declared in this scope

Carl Eugen Hoyos cehoyos at ag.or.at
Fri Mar 16 14:36:56 CET 2012


Anders Branderud <anders.branderud <at> gmail.com> writes:

> I am running parts of the encoding-example avaiable in ffmpeg/doc/examples.
> When I run it I get the following error:
> In file included from /usr/local/include/libavutil/avutil.h:327:0,
>                  from /usr/local/include/libavutil/imgutils.h:30,
>                  from videofecencoder.cc:31:
> /usr/local/include/libavutil/common.h: In function ‘int32_t
> av_clipl_int32_c(int64_t)’:
> /usr/local/include/libavutil/common.h:173:47: error: ‘UINT64_C’ 
> was not declared in this scope

Could you confirm that you are using a C compiler (not a C++ compiler) 
to compile files from a C library (or that you took appropriate action 
like defining all necessary constants to use a C library from a 
C++ project)?

Carl Eugen



More information about the ffmpeg-user mailing list