Why my program always complains: cannot open file 'libboost_thread-vc80-mt-sgd-1_35.lib'?

I have no 'libboost_thread-vc80-mt-sgd-1_35.lib' but 'libboost_thread-vc80-mt-gd-1_35.lib' in the link path. But my console program always automatically links to 'libboost_thread-vc80-mt-sgd-1_35.lib'. I have checked boost document, -s means statically linking to C++ standard library. Question: How could I modify the project settings and make it link to 'libboost_thread-vc80-mt-gd-1_35.lib'? I am using VS2005 + boost1.35.0.

Question: How could I modify the project settings and make it link to 'libboost_thread-vc80-mt-gd-1_35.lib'?
Your project then must link dynamically CRT etc. Go to "Project Options"-->"Configuration properties"-->C/C++-->Code generation, set Runtime library to be mutlithreaded debug dll. If you use MFC/ATL, you have to link them dynamically as well (Configuration properties-->General).
participants (2)
-
Bill David
-
Igor R