-1

I am using VS 2017 and i installed boost/thread NuGet(even reinstalled it a few times). Code shows no error, but when i run it, i get this :

Error LNK1104 cannot open file 'libboost_thread-vc141-mt-gd-1_65_1.lib'

Any ideas? Thanks!

Cata Hotea
  • 1,811
  • 1
  • 9
  • 19
  • 1
    VS2017 supports `std::thread`, which is based on the interface of `bosot::thread`. Especially for new code, I can't imagine using boost::thread anymore. – MSalters Nov 10 '17 at 09:34

1 Answers1

0

Boost Nuget package contains only header files. For binaries you will need to add Boost Thread vc141. See also a list of precompiled Boost NuGet packages. Similar issue LNK1104 Visual studio 2015.

Don't install Boost Thread Src.

Sergey Shandar
  • 2,357
  • 18
  • 25