How to include boost::thread in your C++ project?

前端 未结 4 2049
长发绾君心
长发绾君心 2020-12-19 07:38

What do I need to do to include boost::thread in my project? I have copied the whole thread folder to my working path (I wish to be able to run this on several computers) a

4条回答
  •  北荒
    北荒 (楼主)
    2020-12-19 08:32

    Fatal Error C1083 is a Visual C++ error. You should include the library folder from boost in your project. "C:\Program Files\boost\boost_1_41\lib" if you're using boostpro.

    Also when you're downloading the thread library with boostpro, you need to check it in the list (you can also choose the compiler...).

提交回复
热议问题