<div dir="ltr">I tried building ffmpeg with all the optional dependencies enabled. Here is where I am getting stuck:<div><br></div><div><div>In file included from /usr/include/fribidi/fribidi.h:37:0,</div><div>                 from libavfilter/vf_drawtext.c:65:</div><div>/usr/include/fribidi/fribidi-unicode.h:46:5: warning: "DONT_HAVE_FRIBIDI_UNICODE_VERSION_H" is not defined [-Wundef]</div><div> #if DONT_HAVE_FRIBIDI_UNICODE_VERSION_H+0</div><div>     ^</div><div>In file included from libavfilter/vf_drawtext.c:65:0:</div><div>/usr/include/fribidi/fribidi.h:54:5: warning: "FRIBIDI_NO_DEPRECATED" is not defined [-Wundef]</div><div> #if FRIBIDI_NO_DEPRECATED+0</div><div>     ^</div><div>CC<span style="white-space:pre">   </span>libavfilter/vf_edgedetect.o</div><div>CC<span style="white-space:pre"> </span>libavfilter/vf_elbg.o</div><div>CC<span style="white-space:pre">       </span>libavfilter/vf_eq.o</div><div>CC<span style="white-space:pre"> </span>libavfilter/vf_extractplanes.o</div><div>CC<span style="white-space:pre">      </span>libavfilter/vf_fade.o</div><div>CC<span style="white-space:pre">       </span>libavfilter/vf_fftfilt.o</div><div>CC<span style="white-space:pre">    </span>libavfilter/vf_field.o</div><div>CC<span style="white-space:pre">      </span>libavfilter/vf_fieldhint.o</div><div>CC<span style="white-space:pre">  </span>libavfilter/vf_fieldmatch.o</div><div>CC<span style="white-space:pre"> </span>libavfilter/vf_fieldorder.o</div><div>CC<span style="white-space:pre"> </span>libavfilter/vf_find_rect.o</div><div>CC<span style="white-space:pre">  </span>libavfilter/vf_format.o</div><div>CC<span style="white-space:pre">     </span>libavfilter/vf_fps.o</div><div>CC<span style="white-space:pre">        </span>libavfilter/vf_framepack.o</div><div>CC<span style="white-space:pre">  </span>libavfilter/vf_framerate.o</div><div>CC<span style="white-space:pre">  </span>libavfilter/vf_framestep.o</div><div>CC<span style="white-space:pre">  </span>libavfilter/vf_frei0r.o</div><div>CC<span style="white-space:pre">     </span>libavfilter/vf_fspp.o</div><div>CC<span style="white-space:pre">       </span>libavfilter/vf_gblur.o</div><div>CC<span style="white-space:pre">      </span>libavfilter/vf_geq.o</div><div>CC<span style="white-space:pre">        </span>libavfilter/vf_gradfun.o</div><div>CC<span style="white-space:pre">    </span>libavfilter/vf_hflip.o</div><div>CC<span style="white-space:pre">      </span>libavfilter/vf_histeq.o</div><div>CC<span style="white-space:pre">     </span>libavfilter/vf_histogram.o</div><div>CC<span style="white-space:pre">  </span>libavfilter/vf_hqdn3d.o</div><div>CC<span style="white-space:pre">     </span>libavfilter/vf_hqx.o</div><div>CC<span style="white-space:pre">        </span>libavfilter/vf_hue.o</div><div>CC<span style="white-space:pre">        </span>libavfilter/vf_hwdownload.o</div><div>CC<span style="white-space:pre"> </span>libavfilter/vf_hwupload.o</div><div>libavfilter/vf_hwupload.c: In function 'hwupload_query_formats':</div><div>libavfilter/vf_hwupload.c:84:5: warning: ignoring return value of 'ff_formats_ref', declared with attribute warn_unused_result [-Wunused-result]</div><div>     ff_formats_ref(input_formats, &avctx->inputs[0]->out_formats);</div><div>     ^</div><div>libavfilter/vf_hwupload.c:86:5: warning: ignoring return value of 'ff_formats_ref', declared with attribute warn_unused_result [-Wunused-result]</div><div>     ff_formats_ref(ff_make_format_list(output_pix_fmts),</div><div>     ^</div><div>CC<span style="white-space:pre">    </span>libavfilter/vf_hysteresis.o</div><div>CC<span style="white-space:pre"> </span>libavfilter/vf_idet.o</div><div>CC<span style="white-space:pre">       </span>libavfilter/vf_il.o</div><div>CC<span style="white-space:pre"> </span>libavfilter/vf_interlace.o</div><div>CC<span style="white-space:pre">  </span>libavfilter/vf_kerndeint.o</div><div>CC<span style="white-space:pre">  </span>libavfilter/vf_lenscorrection.o</div><div>CC<span style="white-space:pre">     </span>libavfilter/vf_libopencv.o</div><div>In file included from /usr/include/opencv2/core/types_c.h:59:0,</div><div>                 from /usr/include/opencv2/core/core_c.h:48,</div><div>                 from libavfilter/vf_libopencv.c:28:</div><div>/usr/include/opencv2/core/cvdef.h:485:1: error: unknown type name 'namespace'</div><div> namespace cv {</div><div> ^</div><div>/usr/include/opencv2/core/cvdef.h:485:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token</div><div> namespace cv {</div><div>              ^</div><div>common.mak:60: recipe for target 'libavfilter/vf_libopencv.o' failed</div><div>make: *** [libavfilter/vf_libopencv.o] Error 1</div><div><br></div><div>ffmpeg:</div><div>Would you like to continue processing the rest of the</div><div>queue or would you like to abort?  If this failed</div><div>package is a dependency of another package in the queue</div><div>then it may not make sense to continue.</div><div><br></div><div>(Y)es to continue, (N)o to abort, (R)etry the build?: </div></div><div><br></div></div>