找不到错误 libx264

Mua*_*ath 10 software-installation

我遵循这个安装指南。在第 3 步(安装依赖项):

sudo ./licode/scripts/installUbuntuDeps.sh 在终端

但是在编译时抛出error libx264 not found为什么我收到这个错误,以及如何解决它?

Bra*_*iam 7

发生这种情况是因为您正在编译--enable-libx264需要 libx264 标头才能完成的 libav。它在配置阶段失败:

configure: error: libx264 not found
Run Code Online (Sandbox Code Playgroud)

这可以很容易地修复安装所需的头文件包libx264-dev,这应该完成,sudo apt-get install yasm libvpx. libx264.但由于某种原因它不适合你:

sudo apt-get install yasm libvpx. libx264.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'libvpx-doc' for regex 'libvpx.'
Note, selecting 'libvpx1-dbg' for regex 'libvpx.'
Note, selecting 'libvpx-dev' for regex 'libvpx.'
Note, selecting 'libvpx1' for regex 'libvpx.'
Note, selecting 'libx264-133' for regex 'libx264.'
Note, selecting 'libx264-142' for regex 'libx264.'
Note, selecting 'libx264-dev' for regex 'libx264.'
libvpx-dev is already the newest version.
libvpx1 is already the newest version.
libvpx1 set to manually installed.
yasm is already the newest version.
libx264-142 is already the newest version.
libx264-142 set to manually installed.
libx264-dev is already the newest version.
The following NEW packages will be installed:
  libvpx-doc libvpx1-dbg
0 upgraded, 2 newly installed, 0 to remove and 24 not upgraded.
Need to get 1,613 kB of archives.
After this operation, 8,027 kB of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.
Run Code Online (Sandbox Code Playgroud)

  • @MoathHowari 它在`libx264.`末尾有一个点。 (2认同)