Note: this is not a question on how to solve the error, but how it knows the boost file name.
I'm writing a C++ program using Boost's thread library, so in one of my cpp file I put
#include <boost/thread.hpp>
Since thread
is not a boost module that only including header files will do, naturally, Visual Studio is looking for a library.
However, I always thought which library to link, is specified in Project > Properties > Linker > Input > Additional Dependencies
, and the paths are defined at Project > Properties > Linker > General > Additional Library Directories
. How could Visual Studio knows the exact name of the boost lib file?
I'm using Visual Studio 2013 on Windows 7.