I tried to install pthread win32 according to this guide.
I added the pthreadVC2.dll
file to C:\Windows
and the pthreadVC2.lib
file to C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\lib
. I typed pthreadVC2.lib
in additional dependencies in linker but I couldn't include pthreads.h file in my project. Visual studio doesn't recognize this file. What's the problem?
I would like to get some help.
I would recommend you to use MinGw for this purpose where lots of support is provided under this matter. You can use MinGW in Windows and the answer to this problem could be found here.