Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8071179
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T13:37:44+00:00 2026-06-05T13:37:44+00:00

I am trying to build the boost.thread library for Visual Studio 9.0. I used

  • 0

I am trying to build the boost.thread library for Visual Studio 9.0. I used bjam to build the lib-files:

bjam toolset=msvc-9.0 variant=release threading=multi link=shared

The compilation succeeded and I got plenty of .lib and .dll files under boost/stage/lib.
Then I added include path and the above lib path to Visual Studio 9.0.

But when I try to compile some program, I always get the following error:

libboost_thread-vc90-mt-s-1_49.lib cannot be opened.

The lib file created by the build has slightly another name:

boost_thread-vc90-mt-1_49.lib

I tried to rename my file to match the expected name, but Visual Studio still cannot find the file.
It seems that the filename beeing seaarched depends on the project option “C/C++ / Code generation / runtime library”. I need the option “Multithreaded /MT”.

What am I doing wrong?

Thank you in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T13:37:46+00:00Added an answer on June 5, 2026 at 1:37 pm

    You’re trying to link statically with CRT, but dynamically – with Boost. This is not a good idea, but if you insist, you should define BOOST_ALL_DYN_LINK macro.
    Better option would be to select /MD in your project options, or to set “link=static” when building boost.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am following these instructions trying to build Boost MPI .lib files, but I
I am trying to build the cpp-netlib library from Visual Studio 2010 but get
I am trying to build boost , I have both visual studio 2005 and
I'm trying to build TorTunnel on my mac. I've successfully installed the Boost library
I'm trying to build boost libraries in Windows 7 with MSVC (VS 2010). I
I'm trying to build Boost 1.49.0 using MSVC2010 and it fails with the following
I am trying to build a project using Boost's Asio and I am having
I'm trying to build s-expression objects using boost::proto with the following terminals: typedef proto::terminal<
I'm trying to build my application with MSVC 2010 instead of GCC. With GCC
Trying to build the following simple example #include <boost/python.hpp> using namespace boost::python; tuple head_and_tail(object

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.