Skip to content

Instantly share code, notes, and snippets.

@jfcherng
jfcherng / st4-changelog.md
Last active August 18, 2024 07:25
Sublime Text 4 changelog just because it's not on the official website yet.
@teeks99
teeks99 / boost.python-quickstart.md
Last active March 15, 2017 15:04
Boost Python Quickstart Example - Getting it working

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