- Download the boost package from boost site
- Compile boost.python
1.sh bootstrap.sh(generate the bjam)
2../bjam --toolset=gcc --with-python link=shared threading=multi variant=realease runtime-link=shared stage
./bjam --toolset=gcc --with-python link=shared threading=mulit variant=debug runtime-link=shared stage
- OK, the boost_python.so is generated successfully
- coding your codes with c/c++.
- compile your boost.python extension project so that python could import&execute it.