Hello!
I am using Visual Studio 2017 and I recently tried to implement the Boost library in one of my projects, but that doesn't seem to be working. I always get problems with linking, and I always get the same error 1>LINK : fatal error LNK1104: cannot open file 'libboost_filesystem-vc141-mt-gd-x32-1_66.lib'
. (This one was for the
#include <boost/filesystem.hpp>
code. I get the same error for all the libraries I tried to link)
I downloaded the binaries the Boost webpage offered, and installed it.
I also tried adding in C/C++ > General > Additional include Directory
settings the following:
C:\local\boost_1_66_0
and to the Linker > General > Additional library Directory
settings I added
C:\local\boost_1_66_0\libs
And I turned off "Using Precompiled Headers". (the above were suggested by the Boost webpage)
The thread here "Linker error LNK1104 with 'libboost_filesystem-vc100-mt-s-1_49.lib'" also suggested changing my settings in C/C++ > Code Generation > Runtime Library
from MT/MTd to MD/MDd which I have already done. It also said something about a bjam.exe programme, which I have not found in my boost directories, whatsoever.
Despite my tries, again LNK1104
ERROR. What should I do?