Linker problem linking boost in Visual Studio 2008
Posted
by Tobias Langner
on Stack Overflow
See other posts from Stack Overflow
or by Tobias Langner
Published on 2010-04-01T14:15:35Z
Indexed on
2010/04/01
14:23 UTC
Read the original article
Hit count: 520
Hi,
I have a rather obscure linking problem in Visual Studio 2008. The linker error message is: "LNK1104: cannot open file 'boost_thread-vc90-mt-gd-1_38.lib'". All pathes and dependencies are set. What I noticed though is that Visual Studio misses boost_thread-vc90-mt-gd-1_38.lib and not libboost_thread-vc90-mt-gd-1_38.lib (notice the lib at the beginning of the file name). I added the .lib as libboost_thread-vc90-mt-gd-1_38.lib to the project and it appears as libboost_thread-vc90-mt-gd-1_38.lib in the command line.
Why does Visual Studio the beginning of the file name?
© Stack Overflow or respective owner