Boost.Python compilation problem

Posted on 2007-07-23
Last Modified: 2010-08-05
  I am using Boost.Python to link C++ and python together.  However, when I compile the example hello program it always said cannot find the  boost_python-vc80-mtxxx.lib"
I have added "import python" in the Jam file as suggested from some website but no use.

how to make it work??

By the way, what is the best way to link python and C++ together???
Question by:gorexy
    LVL 15

    Expert Comment

    boost.python is the best (SWIG is second).

    You should check

    The Python C++ Sig for issues specifically related to Boost.Python (

    Author Comment

    sorry...can you let me know how can I use C++ to call Python using Boost.Python?
    I cannot find any site talk this.

    The links you provide, I visit before but cannot help much
    LVL 15

    Accepted Solution


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Live - One-on-One Python Help from Top Experts

    Solve your toughest problems, fast.
    Python experts are online now and ready to help you.

    Less strange, but still introduction This introduction was added (1st August, 2011) to reflect some reactions.  Firstly, the term basics in the title of the article...  As any other word, it is a symbol with meaning attached to the word by some a…
    This article will show the steps for installing Python on Ubuntu Operating System. I have created a virtual machine with Ubuntu Operating system 8.10 and this installing process also works with upgraded version of Ubuntu OS. For installing Py…
    Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…
    The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now