Boost logo

Boost Users :

Subject: [Boost-users] Linking with dynamic boost thread library
From: Igor (kostadinovigor_at_[hidden])
Date: 2009-04-08 09:14:33


I build the thread library with the following cmd command:
bjam.exe toolset=msvc --with-thread --prefix=C:\boost\
variant=debug,release link=shared install
after which I get the following libs:

boost_thread-vc80-mt.lib
boost_thread-vc80-mt-1_38.dll
boost_thread-vc80-mt-1_38.lib
boost_thread-vc80-mt-gd.lib
boost_thread-vc80-mt-gd-1_38.dll
boost_thread-vc80-mt-gd-1_38.lib

In my application, I placed #define BOOST_THREAD_DYN_LINK in all the
cpp files where thread library is included.

I get the following error:

LINK : fatal error LNK1104: cannot open file
'libboost_thread-vc80-mt-gd-1_38.lib'

How many mistakes have I done?


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net