pthread for windows how to compile: open pthread.xxxx.sln with visual studio, compile it(support output dynamic and static lib), and copy header and lib to your project.