rendy-pbr icon indicating copy to clipboard operation
rendy-pbr copied to clipboard

Build Error on windows with cargo 1.38.0 and rustup 1.21.1

Open JasonHuang3D opened this issue 4 years ago • 1 comments

Error when using "cargo run --features=vulkan":

error[E0106]: missing lifetime specifier
 --> src\input.rs:8:32
  |
8 | pub struct EventBucket(pub Vec<Event<()>>);
  |                                ^^^^^^^^^ expected lifetime parameter

error[E0107]: wrong number of type arguments: expected 1, found 0
  --> src\input.rs:20:14
   |
20 |     pub pos: winit::dpi::LogicalPosition,

error[E0107]: wrong number of type arguments: expected 1, found 0
  --> src\input.rs:36:22
   |
36 |     pub window_size: winit::dpi::LogicalSize,
   |                      ^^^^^^^^^^^^^^^^^^^^^^^ expected 1 type argument

error[E0107]: wrong number of type arguments: expected 1, found 0
  --> src\input.rs:40:29
   |
40 |     pub fn new(window_size: winit::dpi::LogicalSize) -> Self {
   |                             ^^^^^^^^^^^^^^^^^^^^^^^ expected 1 type argument

error: aborting due to 4 previous errors

Some errors have detailed explanations: E0106, E0107.
For more information about an error, try `rustc --explain E0106`.
error: Could not compile `rendy-pbr`.

cargo version 1.38.0 rustup version 1.21.1

JasonHuang3D avatar Apr 18 '20 09:04 JasonHuang3D

Hmm, haven't built this project in a bit, I'll try to take a look soon.

fu5ha avatar Apr 24 '20 07:04 fu5ha