Boost.python mingw install on XP

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • fqueirolo@gmail.com

    #1

    Boost.python mingw install on XP

    Hello all I am trying to install boost.python on my XP box.

    Boost: 1.33.0
    Python: 2.4.2 (Final)
    MinGw: 4.1.1

    I try:

    D:\Dev\boost_1_ 33_0\libs\pytho n\build>bjam
    "--prefix=D:\Dev\b oosttarget" "-sTOOLS=mingw"
    "--with-python-root=D:\Dev\Pyt hon24" "--with-python" install

    from a DOS command prompt.


    Where:
    D:\Dev\boosttar get is an existing directory
    mingw/bin is in my System path
    D:\Dev\Python24 is my python root
    My pexports output: Python24.a is in C:\WINDOWS\syst em32

    The bjam output is:
    ---------------------------------------------------------------------
    *** If you don't need Boost.Python, you can ignore this section ***
    *** pass --without-python to suppress this message in the future ***

    skipping Boost.Python library build due to missing or incorrect
    configuration

    couldn't find Python.h in "c:/tools/python/include"

    You can configure the location of your python installation by setting:
    PYTHON_ROOT - currently "c:/tools/python"
    PYTHON_VERSION - The 2-part python Major.Minor version number (e.g.
    "2.2", NOT "2.2.1") - currently "2.2"

    The following are automatically configured from PYTHON_ROOT if not
    otherwise set:

    PYTHON_LIB_PATH - path to Python library object; currently
    "c:/tools/python/libs"
    ---------------------------------------------------------------------
    don't know how to make install
    ....found 1 target...
    ....can't find 1 target...

    I can give you any other system or set up parameters. BTW I specified
    where my python root is so I have no idea why it can't find Python.h!

    Thank you very much,
    Francesco

Working...