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 解决
759 0
|
6月前
|
开发工具 git
成功解决:Svnion not found. installat
这篇文章分享了作者在使用VSCode进行SVN版本控制时遇到的一个问题,即SVN插件提示找不到`svn.exe`的问题。原因是在安装SVN时没有选择客户端工具,导致没有`svn.exe`文件。文章提供了解决方案,包括重新安装SVN时选择客户端工具,并在VSCode的`setting.json`文件中配置SVN的路径。
成功解决:Svnion not found. installat
|
C语言
安装mujoco报错:distutils.errors.DistutilsExecError: command ‘gcc‘ failed with exit status 1
安装mujoco报错:distutils.errors.DistutilsExecError: command ‘gcc‘ failed with exit status 1
698 0
configure: error: libacl not found
configure: error: libacl not found
91 0
configure: error: gperf is needed
configure: error: gperf is needed
127 0
configure: error: cups-config not found
configure: error: cups-config not found
122 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
108 0
|
编解码
configure: error: You requested G729 audio codec but not found...die
configure: error: You requested G729 audio codec but not found...die
95 0
configure: error: You requested LIBYUV but not found...die
configure: error: You requested LIBYUV but not found...die
114 0
libtool: Version mismatch error
libtool: Version mismatch error
115 0

热门文章

最新文章