使用UBUNTU16.04.1 64位编译vlc-3.0.8的WIN32版本

vlc-3.0.8编译WIN32应用:
一、环境设置:
ubuntu16 begin 开始安装:Windows 10, 64-bit  (Build 17134) 10.0.17134   
VMware-workstation-full-14.1.3-9474260   VMware® Workstation 14 Pro 14.1.3 build-9474260  
 ubuntu-16.04.1-desktop-amd64  
 教训:不要用UBUNTU18,我多次编译,报错很多,不好解决
https://mirrors.ustc.edu.cn  设置镜像。等待更新完成。

二、工具安装与TARBALLS下载:
教训:所有终端以管理员切换到管理员模式。尤其安装 MESON时。否则安装后会提示找不到MESON.
切换方式:
1,sudo passwd root 依要求设置密码
2,su  依要求设置密码

先安装基本的工具:
#sudo apt-get install gcc-mingw-w64-i686 g++-mingw-w64-i686 mingw-w64-tools
#sudo apt-get install lua5.2 libtool automake autoconf autopoint make gettext pkg-config qt4-dev-tools qt5-default git subversion cmake cvs wine64-development-tools zip p7zip nsis bzip2 zip p7zip nsis bzip2 yasm ragel ant  dos2unix gperf flex bison 

从其它地方下载VLC源码,(我是这里面https://mirrors.ustc.edu.cn/videolan-ftp/vlc)解压到一个目录后进入:

#cd vlc-3.0.8
#mkdir -p win32        生成两个WIN32目录,一个在根目录下,下在CONTRIB下。
#mkdir -p contrib/win32
#cd contrib/win32    进入CONTRIB下的WIN32目录

#../bootstrap --host=i686-w64-mingw32
#make fetch

1,下载AOM需要翻墙:
Connecting to aomedia.googlesource.com (aomedia.googlesource.com)|74.125.142.82|:443... failed: Connection refused.
Connecting to aomedia.googlesource.com (aomedia.googlesource.com)|2607:f8b0:400e:c08::52|:443... failed: Network is unreachable.
../../contrib/src/aom/rules.mak:12: recipe for target '../../contrib/tarballs/aom-v1.0.0.errata.1.tar.gz' failed
make: *** [../../contrib/tarballs/aom-v1.0.0.errata.1.tar.gz] Error 4
https://blog.csdn.net/sxwyf248/article/details/7240290  ubuntu下使用终端设置网络代理
为AOM下载使用临时代理设置。  need fairwall
有了翻墙软件打开后,在虚拟机中做下类似设置:http://用户名:密码@代理IP:端口。
#export https_proxy=http://d:d@192.168.124.113:9666 
代理一般比较慢,可在下载完成这个AOM后,换个终端代理就自动失效了,继续下载会快些。

三、MAKE遇到的问题与解决:

1,D3D问题

patching file d3d11.idl
mkdir -p -- "/home/d/vlc-3.0.8/contrib/i686-w64-mingw32/include/"
i686-w64-mingw32-widl -DBOOL=WINBOOL -I/home/d/vlc-3.0.8/contrib/i686-w64-mingw32/include -I/usr/include/wine/windows/ -I/usr/include/wine/wine/windows/ -h -o /home/d/vlc-3.0.8/contrib/i686-w64-mingw32/include/d3d11.h d3d11/d3d11.idl
d3d11/d3d11.idl:20: error: Unable to open include file oaidl.idl
../../contrib/src/d3d11/rules.mak:63: recipe for target '/home/d/vlc-3.0.8/contrib/i686-w64-mingw32/include/d3d11.h' failed
make: *** [/home/d/vlc-3.0.8/contrib/i686-w64-mingw32/include/d3d11.h] Error 1
解决办法:
contrib/src/中将d3d9  d3d11中的rules.mak第四行
IDL_INCLUDES = -I/usr/include/wine/windows/ -I/usr/include/wine/wine/windows/
改成:
IDL_INCLUDES = -I/usr/include/wine-development/windows/ -I/usr/include/wine/wine/windows/

2,JAVA问题
compile:
    [javac] /home/d/Desktop/vlc-3.0.6/contrib/win32/bluray/src/libbluray/bdj/build.xml:24: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 33 source files to /home/d/Desktop/vlc-3.0.6/contrib/win32/bluray/src/libbluray/bdj/build
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 5
    [javac] error: Source option 5 is no longer supported. Use 6 or later.
    [javac] error: Target option 1.5 is no longer supported. Use 1.6 or later.

BUILD FAILED
/home/d/Desktop/vlc-3.0.6/contrib/win32/bluray/src/libbluray/bdj/build.xml:24: Compile failed; see the compiler error output for details.

Total time: 0 seconds
Makefile:2606: recipe for target 'all-local' failed
make[1]: *** [all-local] Error 1
make[1]: Leaving directory '/home/d/Desktop/vlc-3.0.6/contrib/win32/bluray'
../../contrib/src/bluray/rules.mak:59: recipe for target '.bluray' failed
make: *** [.bluray] Error 2
解决办法:
看下JAVA版本    java --version
openjdk 11.0.3 2019-04-16
而VLC编译不能使用OPENJDK,只能使用JDK1.8以上版本。

(1)、下载可用版本  
wget http://111.1.50.20/files/4041000006F611C7/download.oracle.com/otn-pub/java/jdk/8u181-b13/96a7b8442fe848ef90c96a2fad6ed6d1/jdk-8u181-linux-x64.tar.gz
解压tar.gz 文件到自己指定的目录。我这儿是:/home/d/Downloads/
#tar -xzvf jdk-8u181-linux-x64.tar.gz 
(2)、配置jdk配置文件
# sudo gedit /etc/profile

在文件最下面换行,配上jdk的环境变量  #下面第一行中jdk解压的路径 请依实际配置 我的是:home/d/Downloads/jdk1.8.0_181
#export JAVA_HOME=/home/d/Downloads/jdk1.8.0_181
#export JAVA_BIN=$JAVA_HOME/bin
#export JAVA_LIB=$JAVA_HOME/lib
#export CLASSPATH=.:$JAVA_LIB/tools.jar:$JAVA_LIB/dt.jar
#export PATH=$JAVA_BIN:$PATH
保存退出
(3)、配置jdk环境变量
# sudo gedit /etc/environment
在最后添加一行:
JAVA_HOME="/home/d/Downloads/jdk1.8.0_181"
保存退出
(4)、使jdk环境变量与配置生效
# source /etc/profile
(5)、检查jdk是否生效 java -version
java version "1.8.0_181"
(6)、
继续安装,如果是在其它终端做的上述操作,在编译终端也须执行下:
# source /etc/profile

3,DAV1D问题

cd dav1d && rm -rf ./build
cd dav1d && CPPFLAGS=" -I/home/d/vlc-3.0.8/contrib/i686-w64-mingw32/include" CFLAGS=" -I/home/d/vlc-3.0.8/contrib/i686-w64-mingw32/include -g -O2" CXXFLAGS=" -I/home/d/vlc-3.0.8/contrib/i686-w64-mingw32/include  -g -O2" LDFLAGS=" -L/home/d/vlc-3.0.8/contrib/i686-w64-mingw32/lib " meson --default-library static --prefix "/home/d/vlc-3.0.8/contrib/i686-w64-mingw32" --backend ninja -Dlibdir=lib --buildtype release --cross-file /home/d/vlc-3.0.8/contrib/win32/crossfile.meson -D build_tests=false -D build_tools=false -D win32_ver=false build
/bin/sh: 1: meson: not found
../../contrib/src/dav1d/rules.mak:30: recipe for target '.dav1d' failed
make: *** [.dav1d] Error 127
解决办法:
(1)、
这儿MESON版本需要0.47.0以上版本,不能使用 sudo apt-get install meson (只能安装0.45.0)安装。
而且需要先安装NASM,此版本也不能使用系统自带的(版本也比较旧了),需要自行下载新版本,按常规方法编译安装即可(./confgiure,make,make install),我这儿用的是nasm-2.14.02.tar.gz
(2)、
参考https://blog.csdn.net/syx3239/article/details/83038132  meson安装
meson安装前必须确认是否已经安装python3.5以上的版本。
#sudo apt-get install python3 python3-pip ninja-build
安装meson
#pip3 install --user meson

You are using pip version 8.1.1, however version 19.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

#pip3 install --upgrade pip

(4)、
如果安装了旧版本可能会有以下报错。
cd dav1d && rm -rf ./build
cd dav1d && CPPFLAGS=" -I/home/d/vlc-3.0.8/contrib/i686-w64-mingw32/include" CFLAGS=" -I/home/d/vlc-3.0.8/contrib/i686-w64-mingw32/include -g -O2" CXXFLAGS=" -I/home/d/vlc-3.0.8/contrib/i686-w64-mingw32/include  -g -O2" LDFLAGS=" -L/home/d/vlc-3.0.8/contrib/i686-w64-mingw32/lib " meson --default-library static --prefix "/home/d/vlc-3.0.8/contrib/i686-w64-mingw32" --backend ninja -Dlibdir=lib --buildtype release --cross-file /home/d/vlc-3.0.8/contrib/win32/crossfile.meson -D enable_tests=false -D enable_tools=false -D win32_ver=false build
Error during basic setup:

[Errno 2] No such file or directory: '/home/d/vlc-3.0.8/contrib/win32/dav1d/build'
../../contrib/src/dav1d/rules.mak:30: recipe for target '.dav1d' failed
make: *** [.dav1d] Error 1
卸载后重新安装应该就可以了,这个地方可能会有反复,我多次安装失败,成功了两次。

4,GCRYPT问题

i686-w64-mingw32-windres: versioninfo.rc.in:21: syntax error
Makefile:1224: recipe for target 'versioninfo.lo' failed
make[2]: *** [versioninfo.lo] Error 1
make[2]: Leaving directory '/home/d/Desktop/vlc-3.0.6/contrib/win32/gcrypt/src'
Makefile:487: recipe for target 'install-recursive' failed
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory '/home/d/Desktop/vlc-3.0.6/contrib/win32/gcrypt'
../../contrib/src/gcrypt/rules.mak:74: recipe for target '.gcrypt' failed
make: *** [.gcrypt] Error 2

解决方案:
 修改 contrib/win32/gcrypt/configure.ac 第42行  

修改前:m4_esyscmd([git rev-parse --short HEAD | tr -d '\n\r']))
修改后:m4_esyscmd([printf %x $(wc -l < debian/changelog)]))

5,编译需要proto-buf-3.1.0需要下载独立安装,注意不能版本太新了,下载一个。
安装方法:./autogen.sh,   ./configure,  make,  make check, make install.

6,安装过程中出现过的其它问题:有时重启虚拟机有以下提示,再也进不去了
the system is running in low-graphics mode
网上查得如下方法:
        步骤1:
        重启虚拟机,按ctrl + alt + F1 进入纯字符界面,输入账号和密码
        步骤2:
        1:cd /etc/X11
        2:sudo cp xorg.conf.failsafe xorg.conf
        3:sudo reboot

7,软件安装过程中可能某些软件弹出一引起类似的对话框
Package configuration

 ┌──────────────────────────────┤ Configuring ttf-mscorefonts-installer ├──────────────────────────────┐
 │                                                                                                     │ 

按TAB键焦点OK回车或点击即可。不用TAB选中OK焦点时不要指望鼠标,非焦点时鼠标点击OK是无效的,并不能让焦点自动停在OK,所以看现象就象卡死不返回了,且记鼠标在此模式下无效。

8,MAKE完成后退出CONTRIB,进入根目录的WIN32:
    #cd ../..
    #cd win32
    #../bootstrap


d@ubuntu:~/vlc-3.0.8/win32$ ../bootstrap
NOTE: autopoint (GNU gettext-tools) appears to be missing or out-of-date.
Please install or update GNU gettext tools.
Otherwise, you will not be able to build a source tarball.
此时需要安装 GETTEXT的0.19.8这个版本,从网上下载,编译安装即可。
编译插件时需要GETTEXT的98以上版本,系统自带为97版本,所以需要下载,自安装,(./confgiure,make,make install)
9,配置:
    export PKG_CONFIG_PATH=$HOME/vlc-3.0.8/contrib/i686-w64-wingw32/lib/pkgconfig
    export PKG_COFIG_LIBDIR=$HOME/vlc-3.0.8/contrib/i686-w64-mingw32/lib/pkgconfig
    export PKG_CONFIG_PATH_CUSTOM=$PKG_CONFIG_LIBDIR
    ../configure --host=i686-w64-mingw32
    make

10,缺的几个文件(wrl文件夹,roapi.h dwrite.h  dwrite_1.h  dwrite_2.h   versionhelpers.h等)出处见下 放在:contrib/i686-w64-mingw/include
参考我的:https://blog.csdn.net/DANFBAORE/article/details/82892467
https://forum.videolan.org/viewtopic.php?f=32&t=137580&p=453684&hilit=roapi.h%3A80%3A25#p453684
https://sourceforge.net/p/mingw-w64/mingw-w64/ci/v5.x/tree/mingw-w64-headers/include/wrl/wrappers/
报错类似如下 :
/usr/share/mingw-w64/include/roapi.h:80:25: error: ‘RoUninitialize’ was not declared in this scope
       { RoUninitialize (); }
--
../../modules/text_renderer/freetype/fonts/dwrite.cpp:32:22: fatal error: dwrite_2.h: No such file or directory
compilation terminated.
--
Makefile:1437: recipe for target 'all' failed
make: *** [all] Error 2
11,DXGI_SWAP_EFFECT_FLIP_DISCARD报错:
../../modules/video_output/win32/direct3d11.c:514:27: error: ‘DXGI_SWAP_EFFECT_FLIP_DISCARD’ undeclared (first use in this function)
         out->SwapEffect = DXGI_SWAP_EFFECT_FLIP_DISCARD;
这儿需要加入文件,这个文件是3.0.6及以后才需要的吧:dxgi.h 
12,缺的定义‘_WIN32_WINNT_WINBLUE’,(此问题好象3.0.8未发生。):
/home/d/vlc-3.0.8/contrib/i686-w64-mingw32/include/versionhelpers.h:70:45: error: ‘_WIN32_WINNT_WINBLUE’ undeclared (first use in this function)

网上查得:
#define _WIN32_WINNT_WINBLUE                0x0603 // Windows 8.1
直接在接口前加上这句。

13,打包:压缩失败
    make package-win-common
cp: cannot stat '../share/hrtfs': No such file or directory
Makefile:2410: recipe for target 'package-win-common' failed
解决办法:
自己建一个空的也行,从安装包里取一个也行放在share目录下。
(这时候拷贝可能需要权限,复制粘贴的方法不行,
参考:https://blog.csdn.net/iteye_4389/article/details/82517388 吧,两个路径设置对了就行,第一个是源,第二个是目标。
# cp -avx /home/* /mnt/newhome

#sudo make package-win32-7zip

Making install in activex
make[3]: Entering directory '/home/d/vlc-3.0.8/win32/npapi-vlc/activex'
make[3]: *** No rule to make target '/usr/include/wine/windows/stdole2.idl', needed by 'stdole2.tlb'.  Stop.
make[3]: Leaving directory '/home/d/vlc-3.0.8/win32/npapi-vlc/activex'
Makefile:481: recipe for target 'install-recursive' failed
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory '/home/d/vlc-3.0.8/win32/npapi-vlc'
Makefile:2388: recipe for target 'install-npapi' failed
make[1]: *** [install-npapi] Error 2
make[1]: Leaving directory '/home/d/vlc-3.0.8/win32'
Makefile:2342: recipe for target 'build-npapi' failed
make: *** [build-npapi] Error 2

sudo apt-get install wine-dev   继续。

#/bin/bash: 7z: command not found
Makefile:2516: recipe for target 'package-win32-7zip' failed
make: *** [package-win32-7zip] Error 127
不知什么原因7ZIP不认了,换个打包压缩方式:

#sudo make package-win32-zip


14,将包拷贝到WINDOWS,运行失败2
error: RPC failed; curl 56 GnuTLS recv error (-9): A TLS packet with unexpected length was received.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
Makefile:2345: recipe for target 'fetch-npapi' failed
make: *** [fetch-npapi] Error 128
解决办法:
找不到libssp-0.dll  运行失败 从旧版本上拷贝一个,注意32位与64位不能混淆。
从网上DOWN 了一个libssp-0.dll 我看了下,其实最新安装的VLC-3.0.8已经不需要这个库文件了,但我编译的还需要,不知哪个配置还需要改下。
我生成的和官网的相比小了不少,应该是官网上不是按默认配置编译的?

到此,VLC完全运行正常。播放推流一切正常。
15,主要命令汇总:
    1  sudo apt-get install gcc-mingw-w64-i686 g++-mingw-w64-i686 mingw-w64-tools
    2  sudo apt-get install lua5.2 libtool automake autoconf autopoint make gettext pkg-config qt4-dev-tools qt5-default git subversion cmake cvs  wine64-development-tools zip p7zip nsis bzip2 yasm ragel ant curl dos2unix gperf flex bison
    5  cd /Home/vlc-3.0.8
    6  cd vlc-3.0.8/contrib/win32
    7  ../bootstrap --host=i686-w64-mingw32
    8  make fetch
   10  source /etc/profile  //这儿是为了JAVA JDK设置生效。
   11  make
   12  sudo apt-get install python3 python3-pip ninja-build  //这儿及以下是安装MESON
   13  pip3 install --user meson
   14  sudo pip install --upgrade pip
   15  pip3 install --user meson
   16  make
   17  cd ../..
   18  cd win32
   22  ../bootstrap
   23  export PKG_CONFIG_PATH=$HOME/vlc-3.0.8/contrib/i686-w64-wingw32/lib/pkgconfig
   24  export PKG_COFIG_LIBDIR=$HOME/vlc-3.0.8/contrib/i686-w64-mingw32/lib/pkgconfig
   25  export PKG_CONFIG_PATH_CUSTOM=$PKG_CONFIG_LIBDIR
   26  ../configure --host=i686-w64-mingw32
   27  sudo make
   33  sudo make package-win-common
   39  sudo apt-get install wine-dev  //这儿可能弹对话框要求确认。
   51  sudo make package-win32-zip

16,MESON的安装有反复,我将我最后成功的实际操作列到这儿吧:我开了两个终端
(1)工具安装终端:
root@ubuntu:/home/d/Downloads/gettext-0.19.8# apt-get install python3 python3-pip ninja-build
python3 is already the newest version (3.5.1-3).
root@ubuntu:/home/d/Downloads/gettext-0.19.8# pip -version
The program 'pip' is currently not installed. You can install it by typing:
apt install python-pip
root@ubuntu:/home/d/Downloads/gettext-0.19.8# pip3 -version

Usage:   
  pip <command> [options]

no such option: -e
root@ubuntu:/home/d/Downloads/gettext-0.19.8# pip3 install --user meson
Collecting meson
  Downloading https://files.pythonhosted.org/packages/4a/66/5f1bfeda5aed501bbd9869f511fc9946554398787a24159d7ad1cff2e047/meson-0.51.2.tar.gz (1.5MB)
    100% |████████████████████████████████| 1.5MB 19kB/s 
Building wheels for collected packages: meson
  Running setup.py bdist_wheel for meson ... done
  Stored in directory: /root/.cache/pip/wheels/3c/45/1e/7c5e06bda2f70330e78d7b042548bb345e06934bfbbc9cbf50
Successfully built meson
Installing collected packages: meson
Successfully installed meson
You are using pip version 8.1.1, however version 19.2.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
root@ubuntu:/home/d/Downloads/gettext-0.19.8# pip3 install --upgrade pip3
Collecting pip3
  Could not find a version that satisfies the requirement pip3 (from versions: )
No matching distribution found for pip3
You are using pip version 8.1.1, however version 19.2.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
root@ubuntu:/home/d/Downloads/gettext-0.19.8# pip3 install --upgrade pip
Collecting pip
  Downloading https://files.pythonhosted.org/packages/30/db/9e38760b32e3e7f40cce46dd5fb107b8c73840df38f0046d8e6514e675a1/pip-19.2.3-py2.py3-none-any.whl (1.4MB)
    100% |████████████████████████████████| 1.4MB 17kB/s 
Installing collected packages: pip
  Found existing installation: pip 8.1.1
    Not uninstalling pip at /usr/lib/python3/dist-packages, outside environment /usr
Successfully installed pip-19.2.3
root@ubuntu:/home/d/Downloads/gettext-0.19.8# which meson
root@ubuntu:/home/d/Downloads/gettext-0.19.8# pip3 install --user meson
Traceback (most recent call last):
  File "/usr/bin/pip3", line 9, in <module>
    from pip import main
ImportError: cannot import name 'main'
root@ubuntu:/home/d/Downloads/gettext-0.19.8# pip3 install meson
Traceback (most recent call last):
  File "/usr/bin/pip3", line 9, in <module>
    from pip import main
ImportError: cannot import name 'main'
root@ubuntu:/home/d/Downloads/gettext-0.19.8# pip3 uninstall meson
Traceback (most recent call last):
  File "/usr/bin/pip3", line 9, in <module>
    from pip import main
ImportError: cannot import name 'main'
root@ubuntu:/home/d/Downloads/gettext-0.19.8# which meson
/usr/bin/meson
root@ubuntu:/home/d/Downloads/gettext-0.19.8# meson -version
meson: error: argument -v/--version: ignored explicit argument 'ersion'
root@ubuntu:/home/d/Downloads/gettext-0.19.8# meson --version
0.29.0
root@ubuntu:/home/d/Downloads/gettext-0.19.8# history
    1  gedit /etc/profile
    2  gedit /etc/environment
    3  source /etc/profile
    4  java --version
    5  java -version
    6  cd protobuf-3.1.0/
    7  ./autogen.sh
    8  ./configure
    9  make
   10  make check
   11  make install
   12  cd ..
   13  ls
   14  cd nasm-2.14.02/
   15  ./configure
   16  make
   17  make install
   18  nasm --version
   19  cd ..
   20  ls
   21  cd gettext-0.19.8/
   22  ./configure
   23  make
   24  make install
   25  which gettext
   26  gettext --version
   27  apt-get install python3 python3-pip ninja-build
   28  pip -version
   29  pip3 -version
   30  pip3 install --user meson
   31  pip3 install --upgrade pip3
   32  pip3 install --upgrade pip
   33  which meson
   34  pip3 install --user meson
   35  pip3 install meson
   36  pip3 uninstall meson
   37  which meson

   39  meson --version
   40  history

以下为编译终端:
    1  apt-get install gcc-mingw-w64-i686 g++-mingw-w64-i686 mingw-w64-tools
    2  apt-get install lua5.2 libtool automake autoconf autopoint make gettext pkg-config qt4-dev-tools qt5-default git subversion cmake cvs wine64-development-tools zip p7zip nsis bzip2 zip p7zip nsis bzip2 yasm ragel ant  dos2unix gperf flex bison
    3  ../bootstrap --host=i686-w64-mingw32
    4  make fetch
    5  make
    6  source /etc/profile
    7  make
    8  which meson
    9  meson --version
   10  source /etc/profile
   11  meson --version
   12  apt install meson
   13  make
   14  pip3 install meson
   15  which meson
   16  make
   17  sudo make
   18  meson --version
   19  sudo rm /usr/bin/python3
   20  sudo ln -s /usr/bin/python3.5 /usr/bin/python3
   21  meson --version
   22  apt uninstall meson
   23  apt remove meson
   24  which meson
   25  pip3 install meson
   26  which meson
   27  meson -version
   28  pip3 uninstall meson
   29  meson -version
   30  which meson
   31  pip3 install meson
   32  which meson
   33  make
   34  cd ../..
   35  cd win32
   36  history
   37  ../bootstrap
   38  export PKG_CONFIG_PATH=$HOME/vlc-3.0.8/contrib/i686-w64-wingw32/lib/pkgconfig
   39  export PKG_COFIG_LIBDIR=$HOME/vlc-3.0.8/contrib/i686-w64-mingw32/lib/pkgconfig
   40  export PKG_CONFIG_PATH_CUSTOM=$PKG_CONFIG_LIBDIR
   41  ../configure --host=i686-w64-mingw32
   42  make
   43  sudo cp -avx /home/d/Downloads/mingw_include /home/d/vlc-3.0.8/contrib/i686-w64-mingw32/include
   44  make
   45  sudo cp -avx /home/d/Downloads/mingw_include/* /home/d/vlc-3.0.8/contrib/i686-w64-mingw32/include
   46  make
   47  make package-win-common
   48  sudo make package-win32-zip
   49  sudo apt-get install wine-dev
   50  sudo make package-win32-zip
   51  wine vlc
   52  pwd
   53  sudo cp -avx /home/d/vlc-3.0.8/win32/libssp-0.dll /home/d/vlc-3.0.8/win32/vlc-3.0.8/
   54  wine vlc
   55  cd vlc-3.0.8/
   56  wine vlc
   57  history


 

  • 1
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 4
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值