Use tonyrog/uart instead, a cross platform library (read, windows support)
To build sl you will need a working installation of Erlang R15B (or
later).
Information on building and installing Erlang/OTP
can be found here
(more info).
sl is built using rebar that can be found here, with building instructions here.
sl also requires the following application to be installed:
Clone the repository in a suitable location:
$ git clone git://github.com/tonyrog/sl.git
...
...
Rebar will compile all needed dependencies.
Compile:
$ cd sl
$ rebar compile
...
==> sl (compile)