
Sorry I don't read the complete mail. More below ----- Original Message ----- From: "vicente.botet" <vicente.botet@wanadoo.fr> To: <boost@lists.boost.org> Sent: Monday, October 05, 2009 12:21 AM Subject: Re: [boost] Bjam outside Boost tree
Hi, If I'm not wrong you need to add \tools\build\v2 on the BOOST_BUILD_PATH setting
BOOST_BUILD_PATH="C:\Users\JLL\Documents\Visual Studio 2008\Projects\boost_1_40_0\tools\build\v2"
Do you have a Jamroot.jam file on your project directory?
Vicente ----- Original Message ----- From: "Jean-Louis Leroy" <jl@yorel.be> To: <boost@lists.boost.org> Sent: Monday, October 05, 2009 12:13 AM Subject: Re: [boost] Bjam outside Boost tree
Maybe if you show what kind of errors do you get could help. Could you give the values of BOOST_BUILD_PATH and BOOST_ROOT ?
Thanks. Everything is below. I think I am getting closer: maybe it's the way I refer to the test monitor: ../../test/build//boost_test_exec_monitor
I gues I should put a bjam variable there...
J-L
cd C:\Users\JLL\Documents\Visual Studio 2008\Projects\rdb.hg
set B Environment variable B not defined
tree C:. ├───boost │ └───rdb │ └───sql │ └───detail └───libs └───rdb ├───build ├───doc │ └───templates ├───msvc │ ├───examples │ ├───odbc │ ├───rdb │ ├───test_odbc │ ├───test_rdb │ └───tutorial ├───src └───test
My boost tree is at: C:\Users\JLL\Documents\Visual Studio 2008\Projects\boost_1_40_0
For the first attempt: no Jamfile in the root of my tree.
cd libs\rdb\test bjam Unable to load Boost.Build: could not find "boost-build.jam"
bjam --build-path "C:\Users\JLL\Documents\Visual Studio 2008\Projects\boost_1_40_0" Unable to load Boost.Build: could not find "boost-build.jam"
set BOOST_BUILD_PATH="C:\Users\JLL\Documents\Visual Studio 2008\Projects\boost_1_40_0"
bjam error: Could not find parent for project at '.' error: Did not find Jamfile.jam or Jamroot.jam in any parent directory.
copy ..\..\..\..\boost_1_40_0\Jamroot "C:\Users\JLL\Documents\Visual Studio 2008\Projects\rdb.hg" 1 file(s) copied.
bjam warning: No toolsets are configured. warning: Configuring default toolset "msvc". warning: If the default is wrong, your build may not work correctly. warning: Use the "toolset=xxxxx" option to override our guess. warning: For more configuration options, please consult warning: http://boost.org/boost-build2/doc/html/bbv2/advanced/configuration.html error: Unable to find file or target named error: '../../test/build//boost_test_exec_monitor' error: referred from project at error: '.'
type Jamfile.v2 # bring in rules for testing import testing ;
project : requirements <library>../build//boost_rdb <link>static ; { test-suite "rdb" : [ run test.cpp ../../test/build//boost_test_exec_monitor ] ; }
have you tried the BOOST_ROOT absolute path instead of a relative one, here [ run test.cpp ../../test/build//boost_test_exec_monitor ] ?