aqiasi007
一个人的天空007
采纳率44.4%
2018-05-30 02:20 阅读 1.3k

ubuntu 编译vlc 源码时,make出错

10

最近在用ubuntu编译vlc源码,我用的ubuntu版本号:12.0.0,下载的vlc 是: vlc-2.2.4.tar.xz。

执行到./configure 结果如下:

libvlc configuration

version : 2.2.4
system : linux
architecture : i686 mmx sse sse2
optimizations : yes
vlc aliases : cvlc rvlc qvlc svlc nvlc

然后执行sudo make 报以下错误
video_chroma/swscale.c:39:32: fatal error: libswscale/version.h: No such file or directory
compilation terminated.
make[4]: *** [video_chroma/libswscale_plugin_la-swscale.lo] Error 1
make[4]: Leaving directory /home/farsight/vlc/vlc2.2.4/vlc-2.2.4/modules'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
/home/farsight/vlc/vlc2.2.4/vlc-2.2.4/modules'
make[2]: *** [all] Error 2
make[2]: Leaving directory /home/farsight/vlc/vlc2.2.4/vlc-2.2.4/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
/home/farsight/vlc/vlc2.2.4/vlc-2.2.4'
make: *** [all] Error 2

根据报错提示:安装所缺少的库,执行 :sudo apt-get install libversion-dev,显示结果如下
Reading package lists... Done
Building dependency tree

Reading state information... Done
E: Unable to locate package libversion-dev

报错提示无法找到包,随后更新执行sudo apt-get update,错误仍然如下
Reading package lists... Done
Building dependency tree

Reading state information... Done
E: Unable to locate package libversion-dev

请问各位大师,出现这种问题该如何解决?

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

2条回答 默认 最新

相关推荐