1. add ANN library in your system
2. add boost c++ library in your system
3. make changes to the Makefile to make sure the headers and libraries are linked correctly
some problems I encountered...
1) error while loading shared libraries: libboost_program_options.so.1.49.0: cannot open shared object file: No such file or directory
solution: http://codelikezell.com/how-to-modify-the-gnu-linkers-default-search-path/