I wasn't able to get the basic quickstart example for Boost.Python working without some modifications, so I wanted to document it for others.
Here are the various issues I encountered with the default example:
- The Bjam file (in the root of boost or in the quickstart, i'm not sure) defaults to threading=single, but something else is defaulting to threading=multi, so they are incompatible (shows up as saying the
boost_python-vcXXX-mt-gd-1_XX.lib
is not found when it just generated boost_python-vcXXX-gd-1_XX.lib
). Manually specifying threading=multi
for the bjam commands seems to fix things.
- I wanted to get this going with boost 1.57.0, but there was a change to the boost::build directory structure in 1.56+ that hasn't been reflected in the quickstarts boost-build.jam file, so I reverted back to 1.55.0.
- Visual Studio 2010 (msvc-10.0) has a bug that keeps it