| | 1 | = Building Boost::Python = |
|---|
| | 2 | |
|---|
| | 3 | This page describes how to build Boost::Python for use with libRocket. This describes how to build against a debug version of Python on the Windows platform. |
|---|
| | 4 | |
|---|
| | 5 | == Directory Structure == |
|---|
| | 6 | |
|---|
| | 7 | The default libRocket configurations assume there is a support folder at the same directory structure level as the main "rocket" folder. |
|---|
| | 8 | |
|---|
| | 9 | {{{ |
|---|
| | 10 | C:\development |
|---|
| | 11 | rocket |
|---|
| | 12 | Include |
|---|
| | 13 | Source |
|---|
| | 14 | Build |
|---|
| | 15 | ... |
|---|
| | 16 | support |
|---|
| | 17 | boost |
|---|
| | 18 | freetype |
|---|
| | 19 | python |
|---|
| | 20 | lib |
|---|
| | 21 | }}} |
|---|
| | 22 | |
|---|
| | 23 | == Building Python == |
|---|
| | 24 | |
|---|
| | 25 | This is straight forward, get the latest source code for Python (Python 2.7 at the time of writing). Open the solution file under PC/VS8.0 (VS will ask you to update the solution). |
|---|
| | 26 | |
|---|
| | 27 | Build a debug and release version of the python. Copy python27.dll and python27_d.dll into support/lib directory. |