You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- macOS version: 15.1.1 (24B2091)
- Source of mpv: 7899a28
- Latest known working version: ad1fb9f
- Issue started after the following happened: meson compile -C build
../video/out/mac_common.swift:30:50: error: cannot convert value of type 'UnsafeMutablePointer<mpv_global>?' to expected argument type 'OpaquePointer?'
28 | @objc init(_ vo: UnsafeMutablePointer) {
29 | let log = LogHelper(mp_log_new(vo, vo.pointee.log, "mac"))
30 | let option = OptionHelper(vo, vo.pointee.global)
| `- error: cannot convert value of type 'UnsafeMutablePointer<mpv_global>?' to expected argument type 'OpaquePointer?'
31 | super.init(option, log)
32 | eventsLock.withLock { self.vo = vo }
ninja: build stopped: subcommand failed.
Expected Behavior
build ok.
Actual Behavior
build failed.
Log File
../video/out/mac_common.swift:30:50: error: cannot convert value of type 'UnsafeMutablePointer<mpv_global>?' to expected argument type 'OpaquePointer?'
28 | @objc init(_ vo: UnsafeMutablePointer) {
29 | let log = LogHelper(mp_log_new(vo, vo.pointee.log, "mac"))
30 | let option = OptionHelper(vo, vo.pointee.global)
| `- error: cannot convert value of type 'UnsafeMutablePointer<mpv_global>?' to expected argument type 'OpaquePointer?'
31 | super.init(option, log)
32 | eventsLock.withLock { self.vo = vo }
ninja: build stopped: subcommand failed.
Sample Files
No response
I carefully read all instruction and confirm that I did the following:
I tested with the latest mpv version to validate that the issue is not already fixed.
I provided all required information including system and mpv version.
I produced the log file with the exact same set of files, parameters, and conditions used in "Reproduction Steps", with the addition of --log-file=output.txt.
I produced the log file while the behaviors described in "Actual Behavior" were actively observed.
I attached the full, untruncated log file.
I attached the backtrace in the case of a crash.
The text was updated successfully, but these errors were encountered:
mpv Information
No response
Other Information
Reproduction Steps
meson compile -C build
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: /opt/homebrew/bin/ninja -C /usr/local/src/mpv/build
ninja: Entering directory `/usr/local/src/mpv/build'
[2/224] Generating osdep/mac/swift_targets with a custom command
FAILED: osdep/mac/swift.swiftmodule osdep/mac/swift.h osdep/mac/swift.o
/Library/Developer/CommandLineTools/usr/bin/swift -frontend -c -sdk /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -enable-objc-interop -emit-objc-header -parse-as-library -swift-version 5 -g -O -D HAVE_MACOS_10_15_4_FEATURES -D HAVE_MACOS_11_FEATURES -D HAVE_MACOS_12_FEATURES -D HAVE_MACOS_COCOA_CB -D HAVE_MACOS_TOUCHBAR -D HAVE_MACOS_MEDIA_PLAYER -module-name swift -emit-module-path osdep/mac/swift.swiftmodule -import-objc-header /usr/local/src/mpv/osdep/mac/app_bridge_objc.h -emit-objc-header-path osdep/mac/swift.h -o osdep/mac/swift.o ../osdep/mac/application.swift ../osdep/mac/app_hub.swift ../osdep/mac/event_helper.swift ../osdep/mac/input_helper.swift ../osdep/mac/libmpv_helper.swift ../osdep/mac/log_helper.swift ../osdep/mac/menu_bar.swift ../osdep/mac/option_helper.swift ../osdep/mac/precise_timer.swift ../osdep/mac/presentation.swift ../osdep/mac/swift_compat.swift ../osdep/mac/swift_extensions.swift ../osdep/mac/type_helper.swift ../video/out/mac/common.swift ../video/out/mac/title_bar.swift ../video/out/mac/view.swift ../video/out/mac/window.swift ../video/out/cocoa_cb_common.swift ../video/out/mac/gl_layer.swift ../video/out/mac_common.swift ../video/out/mac/metal_layer.swift ../osdep/mac/remote_command_center.swift ../osdep/mac/touch_bar.swift -I. -I/usr/local/src/mpv -I/opt/homebrew/Cellar/libplacebo/7.349.0/include -I/opt/homebrew/Cellar/ffmpeg/7.1_3/include
../osdep/mac/app_hub.swift:59:62: error: cannot convert value of type 'UnsafeMutablePointer<mpv_global>?' to expected argument type 'OpaquePointer?'
...
../video/out/mac_common.swift:30:50: error: cannot convert value of type 'UnsafeMutablePointer<mpv_global>?' to expected argument type 'OpaquePointer?'
28 | @objc init(_ vo: UnsafeMutablePointer) {
29 | let log = LogHelper(mp_log_new(vo, vo.pointee.log, "mac"))
30 | let option = OptionHelper(vo, vo.pointee.global)
| `- error: cannot convert value of type 'UnsafeMutablePointer<mpv_global>?' to expected argument type 'OpaquePointer?'
31 | super.init(option, log)
32 | eventsLock.withLock { self.vo = vo }
ninja: build stopped: subcommand failed.
Expected Behavior
build ok.
Actual Behavior
build failed.
Log File
../video/out/mac_common.swift:30:50: error: cannot convert value of type 'UnsafeMutablePointer<mpv_global>?' to expected argument type 'OpaquePointer?'
28 | @objc init(_ vo: UnsafeMutablePointer) {
29 | let log = LogHelper(mp_log_new(vo, vo.pointee.log, "mac"))
30 | let option = OptionHelper(vo, vo.pointee.global)
| `- error: cannot convert value of type 'UnsafeMutablePointer<mpv_global>?' to expected argument type 'OpaquePointer?'
31 | super.init(option, log)
32 | eventsLock.withLock { self.vo = vo }
ninja: build stopped: subcommand failed.
Sample Files
No response
I carefully read all instruction and confirm that I did the following:
--log-file=output.txt
.The text was updated successfully, but these errors were encountered: