mpv编译过程记录

    xiaoxiao2021-04-18  56

    0.简介:mpv是基于mplayer/mplayer2继续开发的一个项目

    1.下载代码     git clone https://github.com/mpv-player/mpv.git

    2.cd mpv,  执行 ./bootstrap.py

    3.执行./waf configure --help可以看到很多配置选项,但我尝试执行 

    ./waf configure --enable-libmpv-shared --enable-libmpv-static --enable-sdl1 --enable-sdl2

    却提示很多都无法检测到   比如:You manually enabled the feature 'libmpv-static', but the autodetection check failed.

    最后执行./waf configure,不带参数,可以执行成功,提示

    'configure' finished successfully (8.551s)

    4.执行./waf build,执行成功命令为

    'build' finished successfully (20.274s)

    5.执行./waf install,就可以安装

    转载请注明原文地址: https://ju.6miu.com/read-674754.html

    最新回复(0)