ubuntu16.04.01 64位 mingw-w64 编译 VLC-2.2.4版本 firefox插件、IE activex插件、windows安装包。

来源:互联网 发布:怎么参加爱淘宝 编辑:程序博客网 时间:2024/05/17 02:28

0:编译工具准备

  1. ubuntu16.04.01 64位系统。(自行百度)

  2. VLC-2.2.4源码下载:进入如下链接下载VLC-2.2.4版本
    ftp://ftp.videolan.org/pub/videolan/vlc/

1:编译环境准备

  1. 安装mingw-w64编译器:
    sudo apt-get install gcc-mingw-w64-i686 g++-mingw-w64-i686 mingw-w64-tools

  2. 安装封包及编译工具:
    sudo apt-get install subversion p7zip-full nsis
    sudo apt-get install lua5.1 libtool automake autoconf autopoint make gettext pkg-config git subversion cmake cvs

  3. 下载VLC的第三库:vlc-contrib-i686-w64-mingw32-latest.tar.bz2
    ftp://ftp.videolan.org/pub/videolan/contrib/i686-w64-mingw32/

2:通用包编译—make package-win-common

  1. 导入第三方库:
    ①、mkdir -p vlc-2.2.4/contrib/win32
    ②、cd vlc-2.2.4/contrib/win32
    ③、cp vlc-contrib-i686-w64-mingw32-latest.tar.bz2 ./
    ④、../bootstrap –host=i686-w64-mingw32
    ⑤、make prebuilt

  2. 配置需要编译的VLC
    ①、跳转到vlc的主目录上
    ②、./bootstrap
    ③、mkdir win32; cd win32
    ④、
    ⑤、

3:firefox插件及IE插件编译

4:

5:

6:

0 0