User:DoubleYou: Difference between revisions
From Step Mods | Change The Game
Line 15: | Line 15: | ||
====Boost==== | ====Boost==== | ||
=====Boost Python library===== | =====Boost Python library===== | ||
1. Create user-config.jam in root directory for Boost (e.g. C:\code\boost_1_55_0) | 1. Create user-config.jam in root directory for Boost (e.g. C:\code\boost_1_55_0)<br> | ||
2. Paste the following inside it: | 2. Paste the following inside it: | ||
<code> # Configure specific Python version. | <code> # Configure specific Python version. | ||
using python : 2.7 | using python : 2.7 | ||
: C:/Python27/python.exe | : C:/Python27/python.exe | ||
: C:/Python27/include #directory that contains pyconfig.h | : C:/Python27/include #directory that contains pyconfig.h | ||
: C:/Python27/libs #directory that contains python27.lib | : C:/Python27/libs #directory that contains python27.lib | ||
: <toolset>msvc ;</code> | : <toolset>msvc ;</code> | ||
3. Run <code>b2 toolset=msvc-10.0 --with-python --user-config=user-config.jam --build-type=complete stage</code> | 3. Run <code>b2 toolset=msvc-10.0 --with-python --user-config=user-config.jam --build-type=complete stage</code> |