From 8728114e6da3769eba0ac2006e78c4215d7d1279 Mon Sep 17 00:00:00 2001 From: Matthieu Dubuget Date: Wed, 27 Mar 2019 10:18:29 +0100 Subject: [PATCH] Dependency detail --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index aac03bd..cfca6b4 100644 --- a/README.md +++ b/README.md @@ -5,4 +5,11 @@ For a more complete binding, have a look at the more complete and more advanced I wrote this alternate binding: - in order to experiment more in depth with Ctypes; -- and because I needed something more portable than ocaml-usb: this one is working on Windows, which was not the case of ocaml-usb when I started this project. \ No newline at end of file +- and because I needed something more portable than ocaml-usb: this one is working on Windows, which was not the case of ocaml-usb when I started this project. + +# Dependency + +Obviously, `libusb` must installed before compilation. `pkg-config` is used in order to locate the library during compilation. + +On Debian-like systems: `apt install libusb-1.0-0-dev` +On cygwin, I used mingw64 OCaml installation. This is why I installed `mingw64-x86_64-libusb1.0` package. \ No newline at end of file