[C++-sig] Constructor w/ string
david.abrahams at rcn.com
Wed Jun 12 18:42:48 CEST 2002
From: "Scott A. Smith" <ssmith at magnet.fsu.edu>
> So, I guess I have other problems/questions/statments.
> 1.) I need to find out the difference between building a dll and building
> a pyd file? Why is one preferrable over the other?
The .pyd shows a nice little Python icon; otherwise they are exactly
> As I mentioned, the
> dll build of my project with Boost 1.25.0 worked just fine.
> 2.) What version of Boost.Python am I using? If I build it from the main
What is "the main directory"?
> I think I understand that I make 1.2x with x>=8, even though the CVS
> contains both? But I think Ralf told me that
> if one builds things in the Python sub-directory it uses 2.0. Can
> trouble or should I just not worry about it?
Don't worry about it.
> Since I am nearly back to
> square 1
> at this point I have no problems just using 2.0, but I am not sure
If you really want to start over with v2:
> 3.) While I have python22.lib I don't have python22_d.lib, is that for
Read the section on "Build Variants" at
> If so, where can I get this or how can I build it? Apparently I will
> need it.
You don't need it, but it will help you to detect certain problems if you
> 4.) When I build my Boost.Python example with Jam it appears that it
> a.) Builds Boost.Python (e.g. when I set the BUILD variable
> b.) Sets up the PYTHONPATH and PATH
> c.) Attempts to run my example?
> 5.) I have never actually seen the tests/examples run automatically
> build of test. Is there supposed to be something other than compiler
> when one issues a "bjam test"?
See the section on Testing at
> Now that I've CVS upgraded the mpl stuff
> it seems to compile fine (is this version 2.0?) but if it is supposed
> invoke Python and do something else I don't see it.
Does this clarify?
build in target version requirements result
-------- ------ ------- ------------ ------
libs/python/build all/<none> v1 Boost libboost_python
libs/python/build test v1 Boost v1 tests
libs/python all/<none> v2 +mpl-development bpl library
libs/python/test test v2 +mpl-development v2 tests
More information about the Cplusplus-sig