Open bruno-maruszczak opened 1 year ago
Hi @bruno-maruszczak,
The error message says "Unable to find libudev". This is odd, since you mentioned that you installed it in step 5.
The error also mentions "Permission denied (os error 13)". So maybe you do not have sufficient permissions to run pkg-config
? I sadly don't have any experience with WSL.
Can you please report this issue at https://github.com/ruabmbua/hidapi-rs?
Describe the bug Running
cargo install probe-run
fails on Ubuntu 20.04 running on WSL2 (Windows 10)To Reproduce
wsl --install Ubuntu
sudo apt update
,sudo apt upgrade
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
sudo apt install build-essential
sudo apt install -y libusb-1.0-0-dev libudev-dev
cargo install probe-run
Expected and observed behavior Expected successful installation, got
os error 13
on hidapi-1.5.0 compilationconfig.toml n/a Probe details n/a
Operating System: Ubuntu 20.04 LTS running on Windows 10 WSL2
ELF file (attachment)
Additional context I would love to give more details but I would need some guidance. I'm only getting started using Rust and Linux so I don't know where to look for the issue. I checked mostly all things I found on os error 13 online. Most resources are here though its a MacOS related issue