This example is pretty straight forward - To use it, edit the makefile to point to a valid Tcl include and library area, type make and you should be done. It builds OK on Red Hat 6 using c++ and Tcl 8.4, 8.5 and 8.6 - no guarantees beyond that.