TL;DR Is there a flag or something that will tell msvc to print out which library/object file requires a given library?
say I get an error message like:
LNK1104 fail to open file: boost_thread-vc120-mt-gd-1_56.lib
I expect this because I haven't told msvc where to find that. But, let's say I want to know why do I need that?.
In other words, let's say I'm linking against foo.lib
bar.lib
and I've got a bunch of code in my project. Will msvc show me whether it's foo.lib
, bar.lib
, or my own code that needs it?