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

Add info to README about libusb 0.1 vs 1.0 and libusb-compat #120

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,16 @@ Compiling from source
---------------------

Ensure that you have the necessary packages to compile programs that use
libusb (on Debian or Ubuntu systems, you might need to do apt-get
install libusb-dev | on Arch systems, you might need to do sudo
pacman -S libusb-compact). After that, unpack and compile the source code
with:
libusb. Note that mspdebug depends on the libusb 0.1 API. If your distro
provides libusb 1.0 instead of 0.1, you can probably use libusb-compat
to provide backwards compatible usb.h and libusb.so files.

On Debian or Ubuntu systems, you might need to do apt-get install
libusb-dev | on Arch systems, you might need to do sudo pacman -S
libusb-compat | on Gentoo systems, you might need to do sudo emerge
libusb-compat.

After that, unpack and compile the source code with:

tar xvfz mspdebug-version.tar.gz
cd mspdebug-version
Expand Down