I had problems compiling the ofxKinect example on windows 7, on a clean install
the error was
**ld.exe -> unable to find ‘pthread’
Seems that the MinGW in Codeblocks 12 doesn’t include pthread (seems to be included in CB 10.05).
I solved it with the following steps:
download the compiled version:
rename the file Pre-built.2\lib\x86\libpthreadGC2.a to libpthread.a
Copy it in the MinGW folder for your codeblocks installation
C:\Program Files (x86)\CodeBlocks\MinGW\lib
I am not sure if the file can be added in the codeblocks_additions.zip files because of licensing (LGPL project).