Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Your problem seems to be pretty similar to the one in <a href="https://stackoverflow.com/questions/3460316/boost-autolinks-libraries-which-are-not-build-by-boost-but-the-intented-once-ar">this question</a>. According to the naming conventions described <a href="http://www.boost.org/more/getting_started/windows.html#library-naming" rel="nofollow noreferrer">here</a> the only difference between the library the linker wants to use and the library you have is that the former links statically to the c++ standard library and the compiler runtime support libraries. I can think of two ways to solve this problem:</p> <ol> <li><p><strong>Get the library the linker wants</strong><br> a. If you used the boostpro installer: </p> <blockquote> <p>Make sure you check the box for <code>Multithreaded debug, static runtime</code> (I would recommend you mark them all) </p> </blockquote> <p>b. If you built the library yourself:</p> <blockquote> <p>Open a console window<br> Change directory to your boost root<br> The following command builds the required library:<br> <code>b2 toolset=msvc-10.0 --with-thread address-model=64 variant=debug link=static runtime-link=static runtime-debugging=on stage</code><br> (I would recommend using:<br> <code>b2 toolset=msvc-10.0 address-model=64 --build-type=complete stage</code>) </p> </blockquote></li> <li><p><strong>Make the linker use the library you want</strong><br> a. Make autolink use the shared libraries</p> <blockquote> <p>You can define BOOST_THREAD_DYN_LINK (to affect only the thread library) or BOOST_ALL_DYN_LIB (to affect all the boost libraries) before the inclusion of the header files (or preferably in your VC project preprocessor settings). This would make the linker try to use the library <code>boost_thread-vc100-mt-gd-1_50.lib</code> (note that the lib- preffix is missing).</p> </blockquote> <p>b. Disable autolink</p> <blockquote> <p>You can define BOOST_ALL_NO_LIB and then add the exact name of your library in your linker options </p> </blockquote></li> </ol>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload