Boost logo

Boost Users :

From: Shawn Cook (sfncook_at_[hidden])
Date: 2007-10-20 05:02:36


I just need a sanity check: I would like to embed a Python interpreter in my C++ application. I am following all the instructions as accurately as I can (http://www.boost.org/more/getting_started/windows.html). When I build the Python library binary (as mentioned in the Boost.Python installation instructions) I do not get any errors. If necessary I can respond with my Boost.Build output - but it's rather lengthy. Anyway, this paragraph in the Boost.Python Embedding tutorial says I'm looking for a library file named "boost_python_debug.lib" which does not exist. Here is the paragraph in question:

'
      Boost.Python's library comes in two variants. Both are located in Boost's
      /libs/python/build/bin-stage subdirectory. On Windows, the
      variants are called boost_python.lib (for release builds)
      and boost_python_debug.lib (for debugging). If you can't
      find the libraries, you probably haven't built Boost.Python yet. See Building and Testing on how to do this.'

(from: http://www.boost.org/libs/python/doc/tutorial/doc/html/python/embedding.html)

But I'm not getting any build errors, in fact I'm building all the different MSVC runtime variants (debug, release, static, dynamic, etc) and they all appear to be built - but they are named different than "boost_python.lib" and are not in the /libs/python/build/bin-stage directory. Is this paragraph just deprecated and needing some revisiting by the faithful Boost Technical Writers?

Thanks, folks,

-S.

_________________________________________________________________
Peek-a-boo FREE Tricks & Treats for You!
http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net