OCaml-USB is a binding to libusb-1.0. It uses Lwt to make it easy to use asynchronous IO features of libusb-1.0.
- OCaml (>= 4.02.0)
- findlib
- lwt (>= 2.4.7)
- libusb-1.0
For building the development version, you also need to install oasis (>= 0.3.0)
To build and install ocaml-usb:
$ ./configure
$ make
$ make install
To build the documentation:
$ make doc
It will then be installed by make install
.
To build and execute tests:
$ ./configure --enable-tests
$ make test