Ax9D / pw-viz

Pipewire graph editor written in Rust. WIP⚠️
GNU General Public License v3.0
230 stars 14 forks source link

error[E0425]: cannot find value `PW_KEY_NODE_TARGET` in crate `pw_sys` #32

Closed johnblommers closed 3 months ago

johnblommers commented 6 months ago

I'm unable to build pw-viz because:

   Compiling pipewire v0.5.0
   Compiling simple_logger v4.0.0
error[E0425]: cannot find value `PW_KEY_NODE_TARGET` in crate `pw_sys`
   --> /home/johnb/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pipewire-0.5.0/src/auto/keys.rs:164:28
    |
164 | key_constant!(NODE_TARGET, PW_KEY_NODE_TARGET,
    |                            ^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `PW_KEY_NODE_NAME`
    |
   ::: /home/johnb/Applications/pw-viz/target/release/build/pipewire-sys-40594b83031eb6b0/out/bindings.rs:165:1
    |
165 | pub const PW_KEY_NODE_NAME: &[u8; 10usize] = b"node.name\0";
    | ------------------------------------------ similarly named constant `PW_KEY_NODE_NAME` defined here

   Compiling rand v0.8.5
For more information about this error, try `rustc --explain E0425`.
error: could not compile `pipewire` (lib) due to previous error
warning: build failed, waiting for other jobs to finish...
Ax9D commented 3 months ago

Fixed in v0.3.0