Serial is a cross-platform, simple to use library for using serial ports on computers. This library provides a C++, object oriented interface for interacting with RS-232 like devices on Linux and Windows.
Want to use it with ROS(Robot Operating System)? No problem, it compiles as a unary stack.
Ready to jump in?
Once you have gathered the dependencies, you need to checkout the software from github.com:
git clone git://github.com/wjwwood/serial.git
Once you have checked out the source code from github.com you can enter the directory and build the software.
cd serial make make test # (optional) builds the example and tests, and runs the tests. make doc # (optional) builds _this_ documentation.
To install simply:
sudo make install