How do I install pthread_win32 (Windows pthread / posix thread library) for Visual Studio 2005?

前端 未结 3 1779
-上瘾入骨i
-上瘾入骨i 2020-12-22 12:01

Just to be clear - I have searched the depths of the internet and back for information on how to do this

I\'m looking for assistance setting up pthr

3条回答
  •  醉梦人生
    2020-12-22 12:12

    Have you added pthreadVC.lib (or whichever particular lib you need) to the project property:

    Linker/Input/Additional Dependencies
    

    It's not enough to just have the lib file in a particular directory, the linker needs to be told to use it as an input.

提交回复
热议问题