http://kvfrans.com/linking-c-and-python-with-boost-anaconda/ This was on OSX. Run build.sh to compile everything (or manually call cmake .. and then make in the build directory).