Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Won't compile (Linux) #4

Open
kragil opened this issue Feb 7, 2021 · 0 comments
Open

Won't compile (Linux) #4

kragil opened this issue Feb 7, 2021 · 0 comments

Comments

@kragil
Copy link

kragil commented Feb 7, 2021

Compiling winit v0.24.0
error: Please select a feature to build for unix: x11, wayland
--> /home/udo/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.24.0/src/platform_impl/linux/mod.rs:10:1
|
10 | compile_error!("Please select a feature to build for unix: x11, wayland");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0392]: parameter T is never used
--> /home/udo/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.24.0/src/event_loop.rs:32:22
|
32 | pub struct EventLoop<T: 'static> {
| ^ unused parameter
|
= help: consider removing T, referring to it in a field, or using a marker such as std::marker::PhantomData

error[E0392]: parameter T is never used
--> /home/udo/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.24.0/src/event_loop.rs:43:34
|
43 | pub struct EventLoopWindowTarget<T: 'static> {
| ^ unused parameter
|
= help: consider removing T, referring to it in a field, or using a marker such as std::marker::PhantomData

error[E0392]: parameter T is never used
--> /home/udo/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.24.0/src/event_loop.rs:196:27
|
196 | pub struct EventLoopProxy<T: 'static> {
| ^ unused parameter
|
= help: consider removing T, referring to it in a field, or using a marker such as std::marker::PhantomData

error[E0392]: parameter T is never used
--> /home/udo/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.24.0/src/platform_impl/linux/mod.rs:532:20
|
532 | pub enum EventLoop<T: 'static> {
| ^ unused parameter
|
= help: consider removing T, referring to it in a field, or using a marker such as std::marker::PhantomData

error[E0392]: parameter T is never used
--> /home/udo/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.24.0/src/platform_impl/linux/mod.rs:539:25
|
539 | pub enum EventLoopProxy<T: 'static> {
| ^ unused parameter
|
= help: consider removing T, referring to it in a field, or using a marker such as std::marker::PhantomData

error[E0392]: parameter T is never used
--> /home/udo/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.24.0/src/platform_impl/linux/mod.rs:666:32
|
666 | pub enum EventLoopWindowTarget {
| ^ unused parameter
|
= help: consider removing T, referring to it in a field, or using a marker such as std::marker::PhantomData

error: aborting due to 7 previous errors

For more information about this error, try rustc --explain E0392.
error: could not compile winit.

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant