ERROR: libx264 not found

简介: ERROR: libx264 not found

嗯?吾明明编译了啊。怎么回事?有两种可能:


在编译264的时候,configure没有加参数。正确写法:

.

/configure \
    --prefix=${DEST_LIB_DIR} \
    --enable-shared

在编译ffmpeg的时候,需要指明libx264.so所在目录。

具体是这样指定的(注意:--extra-ldflags只能有一个)


BUILD_LIBS=${HOME}/build_libs
./configure \
    --prefix="${BUILD_LIBS}" \
    --extra-cflags="-I${BUILD_LIBS}/include" \
    --extra-ldflags="-L${BUILD_LIBS}/lib" \
    --bindir="${BUILD_LIBS}/bin"

这里只列出相关参数。

目录
相关文章
libtool: Version mismatch error 解决
libtool: Version mismatch error 解决
749 0
configure: error: Could not find cups!
configure: error: Could not find cups!
486 0
|
C语言
安装mujoco报错:distutils.errors.DistutilsExecError: command ‘gcc‘ failed with exit status 1
安装mujoco报错:distutils.errors.DistutilsExecError: command ‘gcc‘ failed with exit status 1
675 0
|
Java Linux
error: Failed dependencies: libjvm.so()(64bit) is needed by (installed)
error: Failed dependencies: libjvm.so()(64bit) is needed by (installed)
error: Failed dependencies: libjvm.so()(64bit) is needed by (installed)
configure: error: libacl not found
configure: error: libacl not found
88 0
configure: error: cups-config not found
configure: error: cups-config not found
116 0
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
106 0
libtool: Version mismatch error. This is libtool 2.4.6, but the definition of this LT_INIT
libtool: Version mismatch error. This is libtool 2.4.6, but the definition of this LT_INIT
132 0
libtool: Version mismatch error
libtool: Version mismatch error
112 0
|
编解码
configure: error: You requested G729 audio codec but not found...die
configure: error: You requested G729 audio codec but not found...die
88 0

热门文章

最新文章