All Apache Thrift tutorials require that you have:
The Apache Thrift Compiler and Libraries, see Download and Building from Source for more details.
Generated the tutorial.thrift and shared.thrift files:
thrift -r --gen {{ headers.library_lang }} tutorial.thrift
Followed all prerequisites listed below.