libspa-0.3-dev #2997
Unanswered
Valunyashka
asked this question in
Help requests
libspa-0.3-dev
#2997
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Where i can download libspa-0.3-dev? I try find it 6 hours
I do apt install, but it find only libspa-0.2-dev
And i install pipewire from ppa from https://github.com/pipewire-debian/pipewire-debian
But it doesn't contains libspa-0.3-dev too, only libspa-0.2-dev
P.S i try build alvr streamer for windows --no-nvidia
https://github.com/alvr-org/ALVR/wiki/Building-From-Source
My case:
....../ALVR$ cargo xtask build-streamer --release
Finished
dev
profile [unoptimized + debuginfo] target(s) in 0.12sRunning
target/debug/alvr_xtask build-streamer --release
$ cargo build --release
Compiling libspa v0.8.0
Compiling ureq v3.0.6
Compiling alvr_events v21.0.0-dev10 (/mnt/tb/LINUX/GIT/ALVR/alvr/events)
Compiling rodio v0.21.1
Compiling rayon v1.10.0
Compiling hyper-tls v0.5.0
Compiling runas v1.2.0
Compiling alvr_sockets v21.0.0-dev10 (/mnt/tb/LINUX/GIT/ALVR/alvr/sockets)
Compiling rustls-pemfile v1.0.4
Compiling headers-core v0.2.0
Compiling serde_urlencoded v0.7.1
Compiling encoding_rs_io v0.1.7
Compiling if-addrs v0.13.3
Compiling pollster v0.4.0
Compiling urlencoding v2.1.3
Compiling ipnet v2.11.0
error[E0560]: struct
spa_video_info_raw
has no field namedflags
--> /home/valunyashka/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libspa-0.8.0/src/param/video/raw.rs:231:13
|
231 | flags: 0,
| ^^^^^
spa_video_info_raw
does not have this field|
= note: all struct fields are already assigned
error[E0609]: no field
flags
on typespa_video_info_raw
--> /home/valunyashka/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libspa-0.8.0/src/param/video/raw.rs:261:16
|
261 | self.0.flags = flags.bits();
| ^^^^^ unknown field
|
= note: available fields are:
format
,modifier
,size
,framerate
,max_framerate
... and 10 otherserror[E0609]: no field
flags
on typespa_video_info_raw
--> /home/valunyashka/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libspa-0.8.0/src/param/video/raw.rs:265:45
|
265 | VideoFlags::from_bits_retain(self.0.flags)
| ^^^^^ unknown field
|
= note: available fields are:
format
,modifier
,size
,framerate
,max_framerate
... and 10 othersCompiling iana-time-zone v0.1.61
error[E0308]: mismatched types
--> /home/valunyashka/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libspa-0.8.0/src/param/video/raw.rs:269:27
|
269 | self.0.modifier = modifier;
| --------------- ^^^^^^^^ expected
i64
, foundu64
| |
| expected due to the type of this binding
error[E0308]: mismatched types
--> /home/valunyashka/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libspa-0.8.0/src/param/video/raw.rs:273:9
|
272 | pub fn modifier(self) -> u64 {
| --- expected
u64
because of return type273 | self.0.modifier
| ^^^^^^^^^^^^^^^ expected
u64
, foundi64
|
help: you can convert an
i64
to au64
and panic if the converted value doesn't fit|
273 | self.0.modifier.try_into().unwrap()
| ++++++++++++++++++++
Compiling sync_wrapper v0.1.2
Compiling reqwest v0.11.27
Some errors have detailed explanations: E0308, E0560, E0609.
For more information about an error, try
rustc --explain E0308
.warning: libspa@0.8.0: clang-11: warning: argument unused during compilation: '-shared' [-Wunused-command-line-argument]
error: could not compile
libspa
(lib) due to 5 previous errorswarning: build failed, waiting for other jobs to finish...
thread 'main' panicked at alvr/xtask/src/build.rs:151:10:
called
Result::unwrap()
on anErr
value: command exited with non-zero codecargo build --release
: 101note: run with
RUST_BACKTRACE=1
environment variable to display a backtraceBeta Was this translation helpful? Give feedback.
All reactions