Boost.Python compilation problem

Posted on 2007-07-23
Medium Priority
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
  • 2
LVL 15

Expert Comment

ID: 19556723
boost.python is the best (SWIG is second).

You should check http://www.boost.org/libs/python/doc/building.html.

The Python C++ Sig for issues specifically related to Boost.Python (http://www.python.org/community/sigs/current/c++-sig/)

Author Comment

ID: 19556944
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

mish33 earned 200 total points
ID: 19561758

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Dictionaries contain key:value pairs. Which means a collection of tuples with an attribute name and an assigned value to it. The semicolon present in between each key and values and attribute with values are delimited with a comma.  In python we can…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
Suggested Courses

755 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