Visual Studio 2017, How to make #include work?

后端 未结 4 2286
长情又很酷
长情又很酷 2021-02-08 05:31

I feel like I\'ve been searching for hours today on how to make #include work in Visual Studio 2017 on Windows 10 and haven\'t come across an answ

4条回答
  •  有刺的猬
    2021-02-08 06:12

    If you have vcpkg installed, then you can just do:

    vcpkg.exe install pthread
    

    That will download some code from https://sourceforge.net/projects/pthreads4w, compile it and install it in your system. If vcpkg is setup correctly on your machine, Visual Studio should use these files automatically.

提交回复
热议问题