riscv-software-src / riscv-tools

RISC-V Tools (ISA Simulator and Tests)
1.14k stars 447 forks source link

Mention libusb-1.0-0-dev package for Ubuntu #105

Closed kevlo closed 7 years ago

kevlo commented 7 years ago

When I am running build.sh on Ubuntu 17.04, it gives me an error:

Configuring project riscv-openocd configure: WARNING: libusb-1.x not found, trying legacy libusb-0.1 as a fallback; consider installing libusb-1.x instead configure: error: Package requirements (libusb-1.0 >= 1.0.9) were not met: No package 'libusb-1.0' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.

Fix the problem by installing the libusb-1.0-0-dev package.