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

Mac and Linux users + A few revisions for Readme #39

Open
mulliganaceous opened this issue Dec 20, 2022 · 1 comment
Open

Mac and Linux users + A few revisions for Readme #39

mulliganaceous opened this issue Dec 20, 2022 · 1 comment

Comments

@mulliganaceous
Copy link

mulliganaceous commented Dec 20, 2022

As a newcomer for Rust and a full-time Linux user, (I have NPM knowledge), I originally had trouble cargo-running the application due to Failed to run ```"pkg-config" "--libs" "--cflags" "glib-2.0" "glib-2.0 >= 2.48": No such file or directory (os error 2)```.

I am wondering how can I resolve this problem?

Edit You need to install a GTK, ATK, package

Update I realized some of the variables did not live long enough.

mulliganaceous@MULLIGANACEOUS2:/media/mulliganaceous/Mulliganaceous_S/Gits/miratope-rs$ cargo run
   Compiling wgpu-core v0.9.2
   Compiling xcb v0.8.2
   Compiling bevy_winit v0.5.0 (https://github.com/bevyengine/bevy?branch=main#e74f7a73)
   Compiling stretch v0.3.2
   Compiling bevy_text v0.5.0 (https://github.com/bevyengine/bevy?branch=main#e74f7a73)
   Compiling bevy_scene v0.5.0 (https://github.com/bevyengine/bevy?branch=main#e74f7a73)
   Compiling gio-sys v0.14.0
error[E0597]: `desc_set` does not live long enough
    --> /home/mulliganaceous/.cargo/registry/src/github.com-1ecc6299db9ec823/wgpu-core-0.9.2/src/device/mod.rs:1792:26
     |
1792 |                     set: desc_set.raw_mut(),
     |                          ^^^^^^^^^^^^^^^^^^ borrowed value does not live long enough
...
1813 |     }
     |     -
     |     |
     |     `desc_set` dropped here while still borrowed
     |     borrow might be used here, when `write_map` is dropped and runs the `Drop` code for type `BTreeMap`
     |
     = note: values in a scope are dropped in the opposite order they are defined

For more information about this error, try `rustc --explain E0597`.
error: could not compile `wgpu-core` due to previous error
warning: build failed, waiting for other jobs to finish...

@mulliganaceous mulliganaceous changed the title A few revisions for Readme Mac and Linux users + A few revisions for Readme Dec 20, 2022
@mulliganaceous
Copy link
Author

Hey, according to Galoomba, I should run rustup default 1.59

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