Before you start using ThreadMentor, please check your local guide to learn the way of compiling your program. Moreover, if a file uses anything defined by ThreadMentor, add the following line after all other inclusions of system files.
#include "ThreadClass.h"
or
#include <ThreadClass.h>
Which one should be used always depends on your local installation. Check your local installation guide.