configure:13747: error: You requested FFmpeg (h264, h263, theora, mp4v-es) but not found...die

简介: configure:13747: error: You requested FFmpeg (h264, h263, theora, mp4v-es) but not found...die

config.log中错误如下:


/* end confdefs.h.  */
|
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char avcodec_alloc_frame ();
| int
| main ()
| {
| return avcodec_alloc_frame ();
|   ;
|   return 0;
| }
configure:13725: result: no
configure:13747: error: You requested FFmpeg (h264, h263, theora, mp4v-es) but not found...die

这个错误看起来很奇怪,我so都有,怎么报错?原因是使用的库太新了。需要老的库。多老的库?2.8


http://ffmpeg.org/releases/ffmpeg-2.8.15.tar.bz2



如果还出错:


configure时增加参数:

LIBS="-lswresample -lavutil -lyuv -ljpeg " \

机器上有别的版本的ffmpg编译库,删除

编译错误。参考:

https://blog.csdn.net/quantum7/article/details/104411123


如果是实在没有办法了,干脆编辑configure,have_ffmpeg=no改为yes

目录
相关文章
QSoundEffect(qaudio): Error decoding source
QSoundEffect(qaudio): Error decoding source
310 0
configure: error: Could not find cups!
configure: error: Could not find cups!
486 0
|
Linux
configure: error: cannot guess build type; you must specify one
configure: error: cannot guess build type; you must specify one
446 0
|
8月前
Parsing error: No Babel config file detected for XXXXX
Parsing error: No Babel config file detected for XXXXX
|
PyTorch 算法框架/工具
THCudaCheck FAIL file=/pytorch/aten/src/THC/THCGeneral.cpp line=405 error=11 : invalid argument
THCudaCheck FAIL file=/pytorch/aten/src/THC/THCGeneral.cpp line=405 error=11 : invalid argument
235 0
THCudaCheck FAIL file=/pytorch/aten/src/THC/THCGeneral.cpp line=405 error=11 : invalid argument
configure: error: libacl not found
configure: error: libacl not found
88 0
|
编解码
configure: error: You requested G729 audio codec but not found...die
configure: error: You requested G729 audio codec but not found...die
89 0
|
开发工具 git
编译pluma:configure.ac:229: error: required file ‘pluma/mate-submodules/Makefile.in‘ not found
编译pluma:configure.ac:229: error: required file ‘pluma/mate-submodules/Makefile.in‘ not found
132 0
configure: error: You requested LIBYUV but not found...die
configure: error: You requested LIBYUV but not found...die
110 0
ERROR: libx264 not found
ERROR: libx264 not found
178 0