Problem compiling ofxKinect, windows, codeblocks12 [SOLVED]

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:

  1. download the compiled version:

  2. rename the file Pre-built.2\lib\x86\libpthreadGC2.a to libpthread.a

  3. 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 files because of licensing (LGPL project).

Th bug is limited to ofx 0.7.4