我尝试使用本指南编译ffmpeg https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu#FFmpeg
一切都很顺利,直到我编译ffmpeg。这是错误:
In file included from fftools/ffmpeg.c:43:0:
./libavformat/avformat.h:877:21: note: declared here
AVCodecContext *codec;
^
LD ffmpeg_g
collect2: fatal error: ld terminated with signal 11 [Segmentation fault],
core dumped
compilation terminated.
Makefile:107: recipe for target 'ffmpeg_g' failed
make: *** [ffmpeg_g] Error 1
我在win10 v1709 build 16299.431
上的linux子系统中安装它找不到任何东西。我也很擅长编译。