|
Boost-Build : |
From: Paul A Bristow (pbristow_at_[hidden])
Date: 2007-07-19 06:43:07
I am being driven demented by Boost_build - yet again :-((
*Please* can someone suggest what I am doing wrong.
No files #include <...> are being found, for example see below.
Cannot open include file: 'boost/test/included/test_exec_monitor.hpp': No such file or directory
(The project builds fine with MSVC IDE, so the file does exist).
This suggests that the BOOST_ROOT (= I:\boost_1_34_0 for me) path is not being found?
I have added
<include>$(BOOST_ROOT) to the jamfile.v2
project
: requirements
<include>../../..
<include>$(BOOST_ROOT)
;
run test_color_persistance.cpp ;
And finally the include files enclosed in <> s are found.
Why do I need to do this?
What should I do to avoid it?
Thanks.
Paul
--- Paul A Bristow Prizet Farmhouse, Kendal, Cumbria UK LA8 8AB +44 1539561830 & SMS, Mobile +44 7714 330204 & SMS pbristow_at_[hidden] I:\Boost-sandbox\SOC\2007\visualization\libs\svg_plot\test>bjam --v2 ...found 57 targets... ...updating 4 targets... compile-c-c++ ..\..\..\bin.v2\libs\svg_plot\test\test_color_persistance.test\msv c-8.0\debug\threading-multi\test_color_persistance.obj test_color_persistance.cpp test_color_persistance.cpp(1) : fatal error C1083: Cannot open include file: 'bo ost/test/included/test_exec_monitor.hpp': No such file or directory call "C:\Program Files\Microsoft Visual Studio 8\VC\vcvarsall.bat" x86 >nul cl /Zm800 -nologo @"..\..\..\bin.v2\libs\svg_plot\test\test_color_persistance.te st\msvc-8.0\debug\threading-multi\test_color_persistance.obj.rsp" ...failed compile-c-c++ ..\..\..\bin.v2\libs\svg_plot\test\test_color_persistanc e.test\msvc-8.0\debug\threading-multi\test_color_persistance.obj... ...skipped <p..\..\..\bin.v2\libs\svg_plot\test\test_color_persistance.test\msvc -8.0\debug\threading-multi>test_color_persistance.exe for lack of <p..\..\..\bin .v2\libs\svg_plot\test\test_color_persistance.test\msvc-8.0\debug\threading-mult i>test_color_persistance.obj... ...skipped <p..\..\..\bin.v2\libs\svg_plot\test\test_color_persistance.test\msvc -8.0\debug\threading-multi>test_color_persistance.run for lack of <p..\..\..\bin .v2\libs\svg_plot\test\test_color_persistance.test\msvc-8.0\debug\threading-mult i>test_color_persistance.exe... ...failed updating 1 target... ...skipped 3 targets...
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk