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

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

  •  
  •   hrzhm · 319 天前 · 1366 次点击
    这是一个创建于 319 天前的主题,其中的信息可能已经有所发展或是发生改变。
    ➜ ~ 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   319 天前
    = =没人用 mpv 嘛~~~~
    carrionlee
        2
    carrionlee   319 天前 via Android
    都用 iina 了。。
    missdeer
        3
    missdeer   319 天前
    为毛一定要 HEAD ?
    nieyujiang
        4
    nieyujiang   319 天前 via iPhone
    目前在用稳定版
    hrzhm
        5
    hrzhm   316 天前
    没人知道嘛~~_~~
    liuxue
        6
    liuxue   306 天前
    后来换成 iina 了。
    关于   ·   FAQ   ·   API   ·   我们的愿景   ·   广告投放   ·   感谢   ·   实用小工具   ·   3799 人在线   最高记录 5168   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 07:05 · PVG 15:05 · LAX 23:05 · JFK 02:05
    ♥ Do have faith in what you're doing.