Skip to content

error[E0063]: missing field excluded_windows in initializer of Options #8

Description

@Vaisakhkm2625

First of all, thanks for making this program..
I couldn't get it run though, i am looking forward to trying it out..

i was looking for this for long time and i also unsuccessfully tried build my own with opencv...

hello

The Issue

I was trying to build a nix flake package to try out app on my machine.. (https://github.com/Vaisakhkm2625/swiftmouse/blob/nixflakes/flake.nix took like 5-6 hours )

But while building, i am getting this error..

swiftmouse on  main [!+?] is 📦 v0.1.0 via 🦀 via ❄️  impure (nix-shell-env) took 20s 
❮ cargo run --bin daemon
.
.
error[E0063]: missing field `excluded_windows` in initializer of `Options`
   --> /home/vaisakh/.cargo/registry/src/index.crates.io-6f17d22bba15001f/scap-0.0.5/src/capturer/engine/linux/mod.rs:338:23
    |
338 |         let options = Options {
    |                       ^^^^^^^ missing `excluded_windows`

For more information about this error, try `rustc --explain E0063`.
error: could not compile `scap` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...

i don't know much rust, but i figured just need to add excluded_windows option, but it's already there...

excluded_windows: None,

and as it's a issue with a dependency, i am not sure what to do, can you please help?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions