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 7168483
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T14:47:22+00:00 2026-05-28T14:47:22+00:00

I needed to built Boost.Python to work for version 3.2 and I keep running

  • 0

I needed to built Boost.Python to work for version 3.2 and I keep running into problems. I followed the instructions in the Getting Started Guide — both the general instructions and those specifically about Boost.Python — and I can’t get it to work.

Here’s the program I’m trying to run and the link error I’m getting:

#include <boost/python.hpp>
BOOST_PYTHON_MODULE(test) { }
int main() { return 0; }

1>LINK : fatal error LNK1104: cannot open file ‘boost_python-vc100-mt-1_48.lib’

Indeed, there is no such file, but there is a ‘libboost_python-vc100-mt-1_48.lib’ file. (Unsurprisingly, if I try to change its name, it’ll give another link error.)

The command I used to install the libraries was:

C:\...\boost_1_48_0> b2 --build-dir=C:\Boost toolset=msvc --build-type=complete install

And the content of my ‘user-config.jam’ file in my home directory was:

using python : 3.2 : C:/Programming/PythonX86/Python32 ;
  • 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-05-28T14:47:24+00:00Added an answer on May 28, 2026 at 2:47 pm

    It looks like you’re only building the static boost_python library binary. Have you tried the following command line options for b2?

    link=shared runtime-link=shared
    

    Also, if linking to a static library is acceptable for your needs, adding BOOST_PYTHON_STATIC_LIB to your preprocessor definitions should do the trick…

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

Sidebar

Related Questions

I downloaded and built the boost libraries (version 1.47.0) on Windows 7 (64bit) following
I am having trouble getting my project to link to the Boost (version 1.37.0)
I've just upgraded to VS2010 as I was running into problems with a Silverlight
I needed to convert a Tab Seperated Text file into a tabular format as
I've build my own website from scratch as I needed it to be built
Background I built a site for a film-production client. They needed a way to
I built a quick program that needed to loop through an enormous log file
I've built a number of work-specific helper functions that could be useful for other
I needed a mechanism in Python using which I could detect whether a file
I'm trying to build a file server using Java TCP sockets. I keep getting

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.