V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
hrzhm
V2EX  ›  macOS

Brew 安装 HEAD 版本的 MPV 一直失败,不知道怎么回事了- -求救

  •  
  •   hrzhm · 2019-04-07 21:25:28 +08:00 · 2984 次点击
    这是一个创建于 2075 天前的主题,其中的信息可能已经有所发展或是发生改变。
    ➜ ~ brew install mpv --HEAD
    Updating Homebrew...
    ==> Auto-updated Homebrew!
    Updated 1 tap (homebrew/cask).
    No changes to formulae.

    ==> Cloning https://github.com/mpv-player/mpv.git
    Updating /Users/hrwhfr/Library/Caches/Homebrew/mpv--git
    ==> Checking out branch master
    Already on 'master'
    Your branch is up to date with 'origin/master'.
    HEAD is now at e9fae413fd options/path: fix url detection per RFC3986
    ==> ./bootstrap.py
    ==> python3 waf configure --prefix=/usr/local/Cellar/mpv/HEAD-e9fae41_3 --enable-html-build --enable-javascript --enable-libmpv-shared --enable-lua --enable-libarchive --enable-uchardet --
    ==> python3 waf install
    Last 15 lines from /Users/hrwhfr/Library/Logs/Homebrew/mpv/03.python3:
    /private/tmp/mpv-20190407-1534-1nv4n3r/video/out/cocoa_cb_common.swift:256:29: warning: 'init(_:)' is deprecated: replaced by 'init(truncating:)'
    let lux = Int(ceil( Double((term4 + term3 + term2 + term1 - 0.19) as NSNumber)))
    ^
    /private/tmp/mpv-20190407-1534-1nv4n3r/video/out/cocoa_cb_common.swift:256:29: note: use 'init(truncating:)' instead
    let lux = Int(ceil( Double((term4 + term3 + term2 + term1 - 0.19) as NSNumber)))
    ^
    truncating:
    /private/tmp/mpv-20190407-1534-1nv4n3r/video/out/cocoa_cb_common.swift:335:39: error: cannot call value of non-function type '[NSScreen]'
    let screens = NSScreen.screens()
    ~~~~~~~~~~~~~~~~^~


    Waf: Leaving directory `/private/tmp/mpv-20190407-1534-1nv4n3r/build'
    Build failed
    -> task in 'osdep/macOS_swift.o,osdep/macOS_swift.h,osdep/macOS_swift.swiftmodule' failed with exit status 1 (run with -v to display more information)

    READ THIS: https://docs.brew.sh/Troubleshooting

    错误信息如上= =
    6 条回复    2019-04-20 16:13:15 +08:00
    hrzhm
        1
    hrzhm  
    OP
       2019-04-08 07:35:19 +08:00
    = =没人用 mpv 嘛~~~~
    carrionlee
        2
    carrionlee  
       2019-04-08 09:07:46 +08:00 via Android
    都用 iina 了。。
    missdeer
        3
    missdeer  
       2019-04-08 09:32:12 +08:00
    为毛一定要 HEAD ?
    nieyujiang
        4
    nieyujiang  
       2019-04-08 10:21:11 +08:00 via iPhone
    目前在用稳定版
    hrzhm
        5
    hrzhm  
    OP
       2019-04-10 22:26:26 +08:00
    没人知道嘛~~_~~
    liuxue
        6
    liuxue  
       2019-04-20 16:13:15 +08:00
    后来换成 iina 了。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   861 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 20ms · UTC 21:02 · PVG 05:02 · LAX 13:02 · JFK 16:02
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.