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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error at installation on Ubuntu 22.04 LTS #8

Closed
mbootsman opened this issue Oct 25, 2022 · 2 comments
Closed

Error at installation on Ubuntu 22.04 LTS #8

mbootsman opened this issue Oct 25, 2022 · 2 comments

Comments

@mbootsman
Copy link

Description
Cannot install on Ubuntu 22.04.1 LTS

Steps to Reproduce
Followed the steps from the docs.

Expected behavior
Installation of Streamduck 馃槈

Error:

thread 'main' panicked at 'Unable to find libusb-1.0: "Could not run `\"pkg-config\" \"--libs\" \"--cflags\" \"libusb-1.0\"`\nThe pkg-config command could not be found.\n\nMost likely, you need to install a pkg-config package for your OS.\nTry `apt install pkg-config`, or `yum install pkg-config`,\nor `pkg install pkg-config` depending on your distribution.\n\nIf you've already installed it, ensure the pkg-config command is one of the\ndirectories in the PATH environment variable.\n\nIf you did not expect this build to link to a pre-installed system library,\nthen check documentation of the hidapi crate for an option to\nbuild the library from source, or disable features or dependencies\nthat require pkg-config."', /home/xxxxxx/.cargo/registry/src/github.com-1ecc6299db9ec823/hidapi-1.4.2/build.rs:69:60
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: failed to compile `streamduck-daemon v0.2.0`, intermediate artifacts can be found at `/tmp/cargo-installbAWs9j`
@mbootsman
Copy link
Author

Duh. Solved by executing sudo apt install pkg-config

@TheJebForge
Copy link
Collaborator

馃憤

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

2 participants