CapSoftware / scap

High-performance, cross-platform screen capture library in Rust.
https://crates.io/crates/scap
Other
211 stars 39 forks source link

cannot execute cargo run #34

Closed daidi closed 7 months ago

daidi commented 8 months ago
scap % cargo run  
   Compiling apple-sys v0.2.0
error: failed to run custom build command for `apple-sys v0.2.0`

Caused by:
  process didn't exit successfully: `/Users/dorothy/Work/scap/target/debug/build/apple-sys-2824e44473fa360d/build-script-build` (exit status: 101)
  --- stdout
  cargo:rerun-if-changed=macos.inc.rs
  cargo:rerun-if-changed=ios.inc.rs
  cargo:rustc-link-lib=framework=AVFAudio

  --- stderr
  thread 'main' panicked at /Users/dorothy/.cargo/registry/src/mirrors.ustc.edu.cn-12df342d903acd47/bindgen-0.63.0/ir/context.rs:1971:26:
  Non floating-type complex? Type(_Complex _Float16, kind: Complex, cconv: 100, decl: Cursor( kind: NoDeclFound, loc: builtin definitions, usr: None), canon: Cursor( kind: NoDeclFound, loc: builtin definitions, usr: None)), Type(_Float16, kind: Float16, cconv: 100, decl: Cursor( kind: NoDeclFound, loc: builtin definitions, usr: None), canon: Cursor( kind: NoDeclFound, loc: builtin definitions, usr: None))
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
clearlysid commented 8 months ago

Thanks for reporting this! Will take a closer look and report back with findings next week.

daidi commented 8 months ago

thank you!

clearlysid commented 7 months ago

Our latest release on cargo has fixed this 🥳