You need the package libbluetooth2-dev
(under Debian) or equivalent.
For the USB connection, you must install the package libusb-1.0-0-dev
(its presence should be automatically detected).
Do not install the LEGO® fantom drivers. (If you know how to make this library work with the LEGO® drivers installed, submit a patch!)
Xcode.
The easier way to install this package it to use opam:
opam install mindstorm
If you downloaded the tarball, type:
make
make install
The installation requires ocamlfind
and
cppo
(both installable via opam).
If you cloned the repository, you will additionally need oasis (also installable via opam).
You can compile the HTML doc with
make doc
and then point your browser to API.docdir/index.html
.
Alternatively, you can
read it online.