Boost logo

Boost Users :

Subject: [Boost-users] BOOST_ALL_NO_LIB / BOOST_THREAD_NO_LIB / BOOST_THREAD_DYN_LINK etc etc etc
From: Josh Quigley (0zeroth_at_[hidden])
Date: 2012-05-27 20:55:53


Hi,

I'm trying to link to Boost.Thread DLL's. If I define BOOST_ALL_NO_LIB
everything works fine - but it wants to link all packages as DLL,
instead of just Boost.Thread.

None of the following cause dynamic linking - that is I get a linker
error saying the static *.lib could not be found. (defined on the
command line, Visual Studio 2010)
    BOOST_THREAD_NO_LIB
    BOOST_THREAD_DYN_LINK
    BOOST_THREAD_ALL_DYN_LINK
    BOOST_THREAD_BUILD_DLL
    BOOST_THREAD_USE_DLL

Is there a problem with
    - what I'm doing;
    - Visual Studio 2010; or
    - boost.thread?

Cheers,

Josh.


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