The code structure is based on a project skeleton from Alec Jacobson's geometry processing course.
Install CMake and a modern C++ compiler. Then clone the repository using
git clone --recursive http://github.com/ohjay/mesh-parameterization.git
mkdir build
cd build
cmake ..
make
./mesh-parameterization <path to obj>