[Slackbuilds-users] ffmpeg not building
JCA
1.41421 at gmail.com
Tue May 1 00:07:02 UTC 2018
I tried building ffmpeg with all the optional dependencies enabled. Here is
where I am getting stuck:
In file included from /usr/include/fribidi/fribidi.h:37:0,
from libavfilter/vf_drawtext.c:65:
/usr/include/fribidi/fribidi-unicode.h:46:5: warning:
"DONT_HAVE_FRIBIDI_UNICODE_VERSION_H" is not defined [-Wundef]
#if DONT_HAVE_FRIBIDI_UNICODE_VERSION_H+0
^
In file included from libavfilter/vf_drawtext.c:65:0:
/usr/include/fribidi/fribidi.h:54:5: warning: "FRIBIDI_NO_DEPRECATED" is
not defined [-Wundef]
#if FRIBIDI_NO_DEPRECATED+0
^
CC libavfilter/vf_edgedetect.o
CC libavfilter/vf_elbg.o
CC libavfilter/vf_eq.o
CC libavfilter/vf_extractplanes.o
CC libavfilter/vf_fade.o
CC libavfilter/vf_fftfilt.o
CC libavfilter/vf_field.o
CC libavfilter/vf_fieldhint.o
CC libavfilter/vf_fieldmatch.o
CC libavfilter/vf_fieldorder.o
CC libavfilter/vf_find_rect.o
CC libavfilter/vf_format.o
CC libavfilter/vf_fps.o
CC libavfilter/vf_framepack.o
CC libavfilter/vf_framerate.o
CC libavfilter/vf_framestep.o
CC libavfilter/vf_frei0r.o
CC libavfilter/vf_fspp.o
CC libavfilter/vf_gblur.o
CC libavfilter/vf_geq.o
CC libavfilter/vf_gradfun.o
CC libavfilter/vf_hflip.o
CC libavfilter/vf_histeq.o
CC libavfilter/vf_histogram.o
CC libavfilter/vf_hqdn3d.o
CC libavfilter/vf_hqx.o
CC libavfilter/vf_hue.o
CC libavfilter/vf_hwdownload.o
CC libavfilter/vf_hwupload.o
libavfilter/vf_hwupload.c: In function 'hwupload_query_formats':
libavfilter/vf_hwupload.c:84:5: warning: ignoring return value of
'ff_formats_ref', declared with attribute warn_unused_result
[-Wunused-result]
ff_formats_ref(input_formats, &avctx->inputs[0]->out_formats);
^
libavfilter/vf_hwupload.c:86:5: warning: ignoring return value of
'ff_formats_ref', declared with attribute warn_unused_result
[-Wunused-result]
ff_formats_ref(ff_make_format_list(output_pix_fmts),
^
CC libavfilter/vf_hysteresis.o
CC libavfilter/vf_idet.o
CC libavfilter/vf_il.o
CC libavfilter/vf_interlace.o
CC libavfilter/vf_kerndeint.o
CC libavfilter/vf_lenscorrection.o
CC libavfilter/vf_libopencv.o
In file included from /usr/include/opencv2/core/types_c.h:59:0,
from /usr/include/opencv2/core/core_c.h:48,
from libavfilter/vf_libopencv.c:28:
/usr/include/opencv2/core/cvdef.h:485:1: error: unknown type name
'namespace'
namespace cv {
^
/usr/include/opencv2/core/cvdef.h:485:14: error: expected '=', ',', ';',
'asm' or '__attribute__' before '{' token
namespace cv {
^
common.mak:60: recipe for target 'libavfilter/vf_libopencv.o' failed
make: *** [libavfilter/vf_libopencv.o] Error 1
ffmpeg:
Would you like to continue processing the rest of the
queue or would you like to abort? If this failed
package is a dependency of another package in the queue
then it may not make sense to continue.
(Y)es to continue, (N)o to abort, (R)etry the build?:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20180430/068bdf61/attachment.html>
More information about the SlackBuilds-users
mailing list