Boost logo

Boost :

Subject: Re: [boost] Bjam outside Boost tree
From: Jean-Louis Leroy (jl_at_[hidden])
Date: 2009-10-04 18:13:17

> 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...


C:\Users\JLL\Documents\Visual Studio 2008\Projects\rdb.hg

>set B
Environment variable B not defined

│ └───rdb
│ └───sql
│ └───detail
         â”‚ └───templates
         â”‚ ├───examples
         â”‚ ├───odbc
         â”‚ ├───rdb
         â”‚ ├───test_odbc
         â”‚ ├───test_rdb
         â”‚ └───tutorial

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
Unable to load Boost.Build: could not find "boost-build.jam"

>bjam --build-path "C:\Users\JLL\Documents\Visual Studio
Unable to load Boost.Build: could not find "boost-build.jam"

>set BOOST_BUILD_PATH="C:\Users\JLL\Documents\Visual Studio

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.

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
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 ;

     : requirements
    test-suite "rdb"
         [ run test.cpp ../../test/build//boost_test_exec_monitor ]

Boost list run by bdawes at, gregod at, cpdaniel at, john at