I am quite new to VC++ and Boost. My problem is that I want to use Boost 1.56.0 in my VC++ Visual Studio 2013 project (so I use vc120).
I have installed Boost via NuGet (https://www.nuget.org/packages/boost/). Everything seems to be okay, but when I try to build my project it says:
Fatal error LNK1104: Cannot open file "libboost_thread-vc120-mt-gd-1_56.lib".
Do you know where exactly the problem is and how I can fix it?
I thought installing a package using NuGet will do the whole job to get things working on its own. I know that the linker can't find the lib file (actually there was no build process at all). But I don't know how I can fix this issue.
I think it is not a good idea to manually compile Boost with VC120 and add the lib folder to the additional paths of the linker. Why should I use NuGet then?
Any help is welcome - I am trying and searching the internet for so many hours now and I couldn't fix the problem.
Thank you, Stefan
As mentioned before, Boost Nuget can't contain all possible compiled libraries for all possible configuration and compiler versions. However, there are separete precompiled Nuget packages and also source packages. Here is a list of all 1.56.0 Boost Nuget packages https://getboost.codeplex.com/releases/view/126256
In your case, I would suggest to use precompiled boost_thread-vc120.1.56.0. Not 1.57 yet!
If you are lazy, you can also use boost-vc120.1.56.0 which depends on all precompiled Boost libraries for Visual Studio 2013.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With