[FFmpeg-user] compiling ffmpeg program with libavutil/internal.h in gcc

יוסף אלון yos104104 at gmail.com
Mon Feb 6 10:30:16 EET 2017


Hello,

I am trying to compile only the includes in ffmpeg.c with a simple main,
but i recieve an error:
In file included from libavutil/internal.h:166:0,
                 from newmain.c:30:
libavutil/libm.h:54:32: error: static declaration of ‘cbrt’ follows
non-static declaration
 static av_always_inline double cbrt(double x)
                                ^

from libavutil/internal.h
I am using the flag -lavutil.
any help?

-------------------------------------------------
Yosef Alon


More information about the ffmpeg-user mailing list