Tested only for 32bits systems
Download and run mingw-get
Add C:\MinGW\bin to the PATH environment variable. Environment variables can be modified in Control Pannel/System, then Advanced settings and Environment variables. You want to modify the “system” variables (bottom), not the “User” variables (top).
Compile bjam by:
cd $boost_src$\tools\build\v2\engine\src build.bat mingw cd ..\..\..\..\.. copy .\tools\build\v2\engine\src\bin.ntx86\bjam.exe .
Configure and execute bjam to build boost by:
ECHO using gcc ; > project-config.jam bjam install --prefix="c:\MinGW" --with-program_options --build-dir="$boost_src$\build"
build boost by:
make make install
In the MinGW console (also called MSys) :
cd /c/Users/me/Documents/colloids ./configure –prefix=/c/MinGW -–with-boost -–with-boost_program_options=boost_program_options-mgw45-mt-d-1_46_1
Adapt the directory and the exact name of the boost library you have compiled. In c:\MinGW\lib you must have a file like libboost_program_options-mgw45-mt-d-1_46_1.a Keep only the underlined part.
make make install
Add C:\Users\me\Documents\colloids\python to the environment variable PYTHONPATH. Create this variable if needed.