Boost Python installation Windows XP+Visual C++ 7.1
Hi, My problem is the following 1/ I install Python 2.4 at D:\Programs\Python24 using the binary file from www.python.org 2/ following the document from the boost.org I type the command
bjam "-sTOOLS=vc-7_1 --with-python-root=D:\Programs\Python24" stage But I receive the following error --with-python-root=D:\Programs\Python24-tools.jam: Invalid argument
I think I do something wrong here. If I use the simple command
bjam "-sTOOLS=vc-7_1 " stage I get the message: skipping Boost.Python .....
Can someone show me how can I install Boost.Python correctly? Thanks Xuan Son
Nguyen Xuan Son wrote:
Hi, My problem is the following 1/ I install Python 2.4 at D:\Programs\Python24 using the binary file from www.python.org 2/ following the document from the boost.org I type the command
bjam "-sTOOLS=vc-7_1 --with-python-root=D:\Programs\Python24" stage
But I receive the following error
--with-python-root=D:\Programs\Python24-tools.jam: Invalid argument
One set of quotes means there's only one command-line argument; it's treating the --with-python-root... part as the name of a toolset. Try: bjam "-sTOOLS=vc-7_1" --with-python-root=D:\Programs\Python24 stage You may need to set some more variables such as -sPYTHON_VERSION=2.4, per http://www.boost.org/libs/python/building.html HTH, -- Dave Abrahams Boost Consulting http://www.boost-consulting.com
participants (2)
-
David Abrahams
-
Nguyen Xuan Son