Skip to content

Bevy example does not build #1766

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

Closed
martinellison opened this issue Mar 26, 2021 · 2 comments
Closed

Bevy example does not build #1766

martinellison opened this issue Mar 26, 2021 · 2 comments
Labels
S-User-Error This issue was caused by a mistake in the user's approach

Comments

@martinellison
Copy link

martinellison commented Mar 26, 2021

Bevy version

latest (0.4.0)

Operating system & version

Fedora 5.11.8-200.fc33.x86_64 #1 SMP Mon Mar 22 01:35:01 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

What you did

cloned bevy from github

cargo run --example hello_world

What you expected to happen

Example builds and runs

What actually happened

Build failed

Additional information

error: failed to run custom build command for `libudev-sys v0.1.4`

Caused by:
  process didn't exit successfully: `/home/martin/extgit/bevy/target/debug/build/libudev-sys-ee6a5de081f0ae93/build-script-build` (exit code: 101)
...
  thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: "`\"pkg-config\" \"--libs\" \"--cflags\" \"libudev\"` did not exit successfully: exit code: 1\n--- stderr\nPackage libudev was not found in the pkg-config search path.\nPerhaps you should add the directory containing `libudev.pc\'\nto the PKG_CONFIG_PATH environment variable\nPackage \'libudev\', required by \'virtual:world\', not found\n"', /home/martin/.cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/libudev-sys-0.1.4/build.rs:38:41

@alice-i-cecile alice-i-cecile added dependencies C-Bug An unexpected or incorrect behavior labels Mar 26, 2021
@MinerSebas
Copy link
Contributor

When you read your error, you will see that you are missing the libudev package

To get all Linux Dependencies look here: https://github.com/bevyengine/bevy/blob/main/docs/linux_dependencies.md#fedora-33

@martinellison
Copy link
Author

OK that worked thanks.

@alice-i-cecile alice-i-cecile added S-User-Error This issue was caused by a mistake in the user's approach and removed C-Bug An unexpected or incorrect behavior labels Mar 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-User-Error This issue was caused by a mistake in the user's approach
Projects
None yet
Development

No branches or pull requests

3 participants