Boost_Python build problems, 1_34_0_beta, Windows

I'm trying to figure out why boost_python-vc-gy-1_34.dll links with python25.lib, and not with python25_d.lib My build command is: bjam "-sVC71_ROOT=c:/dev/vc71" "-sTOOLS=vc-7_1" "-sPYTHON_VERSION=2.5" "-sPYTHON_ROOT=d: \720\tools\python" "-sBUILD=debug-python" The resulting debug-python\boost_python-vc-gy-1_34.dll depends on python25.dll, and not python25_d.dll. The '-n' indicates the problem: bjam -n -sVC71_ROOT=c:/dev/vc71 -sTOOLS=vc-7_1 -sPYTHON_VERSION=2.5 -sPYTHON_ROOT=d:\tools\python -sBUILD=debug-python In the output I see lines: "..\..\..\bin.v2\libs\python\build\msvc\debug-python\exec.obj" "python25.lib" it should be python25_d.lib I've been futilely staring at python.jam which appears to try to do the correct thing, but doesn't quite do it for me. Another problem I have that it picks the wrong TOOLS, even if I specify them like above, bjam complaining: warning: No toolsets are configured. warning: Configuring default toolset "msvc". But seems to work anyway, as vc71 comes first on my path... I don't think this is related to the python25.lib vs python25_d.lib problem above though. Any hints? -Harri Privileged or confidential information may be contained in this message. If you are not the addressee of this message please notify the sender by return and thereafter delete the message, and you may not use, copy, disclose or rely on the information contained in it. Internet e-mail may be susceptible to data corruption, interception and unauthorised amendment for which Wall Street Systems does not accept liability. Whilst we have taken reasonable precautions to ensure that this e-mail and any attachments have been swept for viruses, Wall Street Systems does not accept liability for any damage sustained as a result of viruses. Statements in this message or attachments that do not relate to the business of Wall Street Systems are neither given nor endorsed by the company or its Directors.

Hello Harri, On 11/05/07, Harri Pasanen <harri@trema.com> wrote:
I'm trying to figure out why boost_python-vc-gy-1_34.dll links with python25.lib, and not with python25_d.lib
My build command is:
bjam "-sVC71_ROOT=c:/dev/vc71" "-sTOOLS=vc-7_1" "-sPYTHON_VERSION=2.5" "-sPYTHON_ROOT=d: \720\tools\python" "-sBUILD=debug-python"
I'm not sure if this'll solve all your problems, but the syntax for using bjam have changed for BBv2 (ie. Boost 1.34). Take a look at this (I think it's still up to date): http://www.boost-consulting.com/boost/more/getting_started/

on Fri May 11 2007, "Darren Garvey" <lists.drrngrvy-AT-googlemail.com> wrote:
On 11/05/07, Harri Pasanen <harri@trema.com> wrote:
I'm trying to figure out why boost_python-vc-gy-1_34.dll links with python25.lib, and not with python25_d.lib
My build command is:
bjam "-sVC71_ROOT=c:/dev/vc71" "-sTOOLS=vc-7_1" "-sPYTHON_VERSION=2.5" "-sPYTHON_ROOT=d: \720\tools\python" "-sBUILD=debug-python"
I'm not sure if this'll solve all your problems, but the syntax for using bjam have changed for BBv2 (ie. Boost 1.34). Take a look at this (I think it's still up to date): http://www.boost-consulting.com/boost/more/getting_started/
Almost. Please see http://tinyurl.com/36955x and http://tinyurl.com/2pzthy, which have the latest instructions on the 1.34 RC branch. -- Dave Abrahams Boost Consulting http://www.boost-consulting.com Don't Miss BoostCon 2007! ==> http://www.boostcon.com
participants (3)
-
Darren Garvey
-
David Abrahams
-
Harri Pasanen