[GH-ISSUE #48] Build failing on Windows 10 #38

Closed
opened 2026-02-28 14:30:09 +03:00 by kerem · 1 comment
Owner

Originally created by @andrew-ares on GitHub (May 22, 2021).
Original GitHub issue: https://github.com/jpochyla/psst/issues/48

Build from latest master

  • Windows 20H2 19042.985
  • rustc 1.54.0-nightly (5c0292654 2021-05-11)

Error output:

error[E0599]: no method named `raw_window_handle` found for reference `&WindowHandle` in the current scope
  --> psst-gui\src\controller\playback.rs:77:67
   |
77 |         let mut media_controls = MediaControls::for_window(window.raw_window_handle()).unwrap();
   |                                                                   ^^^^^^^^^^^^^^^^^ method not found in `&WindowHandle`
   |
   = help: items from traits can only be used if the trait is in scope
   = note: the following trait is implemented but not in scope; perhaps add a `use` for it:
           `use raw_window_handle::HasRawWindowHandle;`
Originally created by @andrew-ares on GitHub (May 22, 2021). Original GitHub issue: https://github.com/jpochyla/psst/issues/48 Build from latest master * Windows 20H2 19042.985 * rustc 1.54.0-nightly (5c0292654 2021-05-11) Error output: ```shell error[E0599]: no method named `raw_window_handle` found for reference `&WindowHandle` in the current scope --> psst-gui\src\controller\playback.rs:77:67 | 77 | let mut media_controls = MediaControls::for_window(window.raw_window_handle()).unwrap(); | ^^^^^^^^^^^^^^^^^ method not found in `&WindowHandle` | = help: items from traits can only be used if the trait is in scope = note: the following trait is implemented but not in scope; perhaps add a `use` for it: `use raw_window_handle::HasRawWindowHandle;` ```
kerem 2026-02-28 14:30:09 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@creinholdsson commented on GitHub (Jun 3, 2021):

Building on Windows 20H2 19042.985 works as of 11cec9dda1

<!-- gh-comment-id:854053638 --> @creinholdsson commented on GitHub (Jun 3, 2021): Building on Windows 20H2 19042.985 works as of 11cec9dda10828b470b3cf1f6da9c0acd6b56369
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/psst#38
No description provided.