-
Notifications
You must be signed in to change notification settings - Fork 26
Closed
Description
I installed cargo/rustup on Windows 11 and also had to install NASM and libclang.
When I attempt a build then however I get this, so far:
gst-meet>cargo build --release
Compiling aws-lc-sys v0.17.0
Compiling nice-gst-meet-sys v0.3.0 (C:\Users\dan\Documents\code\gst-meet\nice-gst-meet-sys)
warning: unused macro definition: `generate_element_enum`
--> jitsi-xmpp-parsers\src\macros.rs:229:14
|
229 | macro_rules! generate_element_enum {
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_macros)]` on by default
warning: unused macro definition: `generate_attribute_enum`
--> jitsi-xmpp-parsers\src\macros.rs:266:14
|
266 | macro_rules! generate_attribute_enum {
| ^^^^^^^^^^^^^^^^^^^^^^^
warning: unused macro definition: `check_ns_only`
--> jitsi-xmpp-parsers\src\macros.rs:316:14
|
316 | macro_rules! check_ns_only {
| ^^^^^^^^^^^^^
warning: unused macro definition: `generate_empty_element`
--> jitsi-xmpp-parsers\src\macros.rs:328:14
|
328 | macro_rules! generate_empty_element {
| ^^^^^^^^^^^^^^^^^^^^^^
warning: unused macro definition: `generate_id`
--> jitsi-xmpp-parsers\src\macros.rs:352:14
|
352 | macro_rules! generate_id {
| ^^^^^^^^^^^
warning: unused macro definition: `generate_elem_id`
--> jitsi-xmpp-parsers\src\macros.rs:372:14
|
372 | macro_rules! generate_elem_id {
| ^^^^^^^^^^^^^^^^
warning: unused macro definition: `impl_pubsub_item`
--> jitsi-xmpp-parsers\src\macros.rs:673:14
|
673 | macro_rules! impl_pubsub_item {
| ^^^^^^^^^^^^^^^^
warning: unused import: `jingle_rtcp_fb::RtcpFb`
--> jitsi-xmpp-parsers\src\jingle_rtp.rs:2:3
|
2 | jingle_rtcp_fb::RtcpFb,
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: `jitsi-xmpp-parsers` (lib) generated 8 warnings (run `cargo fix --lib -p jitsi-xmpp-parsers` to apply 1 suggestion)
Compiling structopt v0.3.26
error[E0432]: unresolved imports `libc::sockaddr_in`, `libc::sockaddr_in6`
--> nice-gst-meet-sys\src\lib.rs:19:31
|
19 | intptr_t, size_t, sockaddr, sockaddr_in, sockaddr_in6, ssize_t, time_t, uintptr_t, FILE,
| ^^^^^^^^^^^ ^^^^^^^^^^^^ no `sockaddr_in6` in the root
| |
| no `sockaddr_in` in the root
|
help: a similar name exists in the module
|
19 | intptr_t, size_t, sockaddr, sockaddr, sockaddr_in6, ssize_t, time_t, uintptr_t, FILE,
| ~~~~~~~~
help: a similar name exists in the module
|
19 | intptr_t, size_t, sockaddr, sockaddr_in, sockaddr, ssize_t, time_t, uintptr_t, FILE,
| ~~~~~~~~
For more information about this error, try `rustc --explain E0432`.
error: could not compile `nice-gst-meet-sys` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
error[E0425]: cannot find function, tuple struct or tuple variant `ERR_GET_LIB_RUST` in this scope
--> C:\Users\dan\.cargo\registry\src\index.crates.io-6f17d22bba15001f\aws-lc-sys-0.17.0\src\lib.rs:73:14
|
73 | unsafe { ERR_GET_LIB_RUST(packed_error) }
| ^^^^^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find function, tuple struct or tuple variant `ERR_GET_REASON_RUST` in this scope
--> C:\Users\dan\.cargo\registry\src\index.crates.io-6f17d22bba15001f\aws-lc-sys-0.17.0\src\lib.rs:79:14
|
79 | unsafe { ERR_GET_REASON_RUST(packed_error) }
| ^^^^^^^^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find function, tuple struct or tuple variant `ERR_GET_FUNC_RUST` in this scope
--> C:\Users\dan\.cargo\registry\src\index.crates.io-6f17d22bba15001f\aws-lc-sys-0.17.0\src\lib.rs:85:14
|
85 | unsafe { ERR_GET_FUNC_RUST(packed_error) }
| ^^^^^^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find function, tuple struct or tuple variant `BIO_ctrl` in this scope
--> C:\Users\dan\.cargo\registry\src\index.crates.io-6f17d22bba15001f\aws-lc-sys-0.17.0\src\lib.rs:90:14
|
90 | unsafe { BIO_ctrl(b, BIO_CTRL_INFO, 0, pp.cast::<c_void>()) }
| ^^^^^^^^ not found in this scope
error[E0425]: cannot find function, tuple struct or tuple variant `CRYPTO_library_init` in this scope
--> C:\Users\dan\.cargo\registry\src\index.crates.io-6f17d22bba15001f\aws-lc-sys-0.17.0\src\lib.rs:94:14
|
94 | unsafe { CRYPTO_library_init() }
| ^^^^^^^^^^^^^^^^^^^ not found in this scope
For more information about this error, try `rustc --explain E0425`.
The following warnings were emitted during compilation:
warning: [email protected]: Generating bindings - internal bindgen. Platform: x86_64-pc-windows-msvc
error: could not compile `aws-lc-sys` (lib) due to 5 previous errors
Metadata
Metadata
Assignees
Labels
No labels