Hi, I have a little trouble using bjam: I'd like to tell it to add /my/path to the include paths, by using this command-line: bjam include=/my/path I took this syntax from here: http://www.boost.org/boost-build2/doc/html/bbv2/overview/invocation.html#bbv... But bjam answers with /usr/share/boost-build/build/property.jam:258: in validate1 from module property error: Invalid property '<include>': No value specified for feature 'include'. /usr/share/boost-build/build/property.jam:266: in property.validate from module property /usr/share/boost-build/build/build-request.jam:185: in convert-command-line-element from module build-request /usr/share/boost-build/build/build-request.jam:143: in build-request.from-command-line from module build-request /usr/share/boost-build/build-system.jam:164: in load from module build-system /usr/share/boost-build/kernel/modules.jam:261: in import from module modules /usr/share/boost-build/kernel/bootstrap.jam:132: in boost-build from module /usr/share/boost-build/boost-build.jam:1: in module scope from module Any idea? I am using bjam installed by Ubuntu-8.04: Boost.Build V2 (Milestone 11) Boost.Jam 03.1.14 Regards, Roland
AMDG Roland Bock wrote:
I have a little trouble using bjam: I'd like to tell it to add /my/path to the include paths, by using this command-line:
bjam include=/my/path
<snip> I am using bjam installed by Ubuntu-8.04:
Boost.Build V2 (Milestone 11) Boost.Jam 03.1.14
That's pretty old. It might work better with a more recent version. In Christ, Steven Watanabe
I have a little trouble using bjam: I'd like to tell it to add /my/path to the include paths, by using this command-line:
bjam include=/my/path
<snip> I am using bjam installed by Ubuntu-8.04:
Boost.Build V2 (Milestone 11) Boost.Jam 03.1.14
That's pretty old. It might work better with a more recent version.
Updating to 3.1.17 (current version, I'd say), makes no difference.
AMDG Roland Bock wrote:
I am using bjam installed by Ubuntu-8.04:
Boost.Build V2 (Milestone 11) Boost.Jam 03.1.14
That's pretty old. It might work better with a more recent version.
Updating to 3.1.17 (current version, I'd say), makes no difference.
What about boost-build? Milestone 11 is also ancient. In Christ, Steven Watanabe
Steven Watanabe wrote:
AMDG
Roland Bock wrote:
I am using bjam installed by Ubuntu-8.04:
Boost.Build V2 (Milestone 11) Boost.Jam 03.1.14
That's pretty old. It might work better with a more recent version.
Updating to 3.1.17 (current version, I'd say), makes no difference.
What about boost-build? Milestone 11 is also ancient.
Tried that, too: $ /home/rbock/bin/bjam --version Boost.Build V2 (Milestone 12) Boost.Jam 03.1.17 $ /home/rbock/bin/bjam include=/home/rbock/include /home/rbock/temp/boost-build/build/property.jam:282: in validate1 from module property error: Invalid property '<include>': No value specified for feature 'include'. /home/rbock/temp/boost-build/build/property.jam:290: in property.validate from module property /home/rbock/temp/boost-build/build/build-request.jam:185: in convert-command-line-element from module build-request /home/rbock/temp/boost-build/build/build-request.jam:143: in build-request.from-command-line from module build-request /home/rbock/temp/boost-build/build-system.jam:276: in load from module build-system /home/rbock/temp/boost-build/kernel/modules.jam:261: in import from module modules /home/rbock/temp/boost-build/kernel/bootstrap.jam:132: in boost-build from module /home/rbock/temp/boost-build//boost-build.jam:1: in module scope from module
AMDG Roland Bock wrote:
Steven Watanabe wrote:
Roland Bock wrote:
I am using bjam installed by Ubuntu-8.04:
Boost.Build V2 (Milestone 11) Boost.Jam 03.1.14
That's pretty old. It might work better with a more recent version.
Updating to 3.1.17 (current version, I'd say), makes no difference.
What about boost-build? Milestone 11 is also ancient.
Tried that, too:
$ /home/rbock/bin/bjam --version Boost.Build V2 (Milestone 12) Boost.Jam 03.1.17
$ /home/rbock/bin/bjam include=/home/rbock/include /home/rbock/temp/boost-build/build/property.jam:282: in validate1 from module property error: Invalid property '<include>': No value specified for feature 'include'. /home/rbock/temp/boost-build/build/property.jam:290: in property.validate from module property /home/rbock/temp/boost-build/build/build-request.jam:185: in convert-command-line-element from module build-request /home/rbock/temp/boost-build/build/build-request.jam:143: in build-request.from-command-line from module build-request /home/rbock/temp/boost-build/build-system.jam:276: in load from module build-system /home/rbock/temp/boost-build/kernel/modules.jam:261: in import from module modules /home/rbock/temp/boost-build/kernel/bootstrap.jam:132: in boost-build from module /home/rbock/temp/boost-build//boost-build.jam:1: in module scope from module
nul
Hmm. It seems to work with the current trunk at least on windows. C:\boost\test>bjam include=/include/test -a -n ...found 11 targets... ...updating 3 targets... file bin\msvc-9.0express\debug\threading-multi\test.obj.rsp "test.cpp" -Fo"bin\msvc-9.0express\debug\threading-multi\test.obj" -TP /Z7 /Od /Ob0 /W3 /GR /MDd /Zc:forScope /Zc:wchar_t /wd4675 /EHs -c "-I\include\test" compile-c-c++ bin\msvc-9.0express\debug\threading-multi\test.obj call "C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86 >nu l cl /Zm800 -nologo @"bin\msvc-9.0express\debug\threading-multi\test.obj.rsp" file bin\msvc-9.0express\debug\threading-multi\test.exe.rsp "bin\msvc-9.0express\debug\threading-multi\test.obj" msvc.link bin\msvc-9.0express\debug\threading-multi\test.exe call "C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86 link /NOLOGO /INCREMENTAL:NO /DEBUG /MACHINE:X86 /subsystem:console /out:"bin\ms vc-9.0express\debug\threading-multi\test.exe" @"bin\msvc-9.0express\debug\thre ading-multi\test.exe.rsp" if %ERRORLEVEL% NEQ 0 EXIT %ERRORLEVEL% msvc.manifest bin\msvc-9.0express\debug\threading-multi\test.exe if exist "bin\msvc-9.0express\debug\threading-multi\test.exe.manifest" ( call "C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86 >nul mt -nologo -manifest "bin\msvc-9.0express\debug\threading-multi\test.exe.manifes t" "-outputresource:bin\msvc-9.0express\debug\threading-multi\test.exe;1" ) ...updated 3 targets... You could try the nightly build from http://www.boost.org/boost-build2/boost-build.tar.bz2 In Christ, Steven Watanabe
You could try the nightly build from http://www.boost.org/boost-build2/boost-build.tar.bz2
Steven, you saved my day :-) It works as expected. Maybe it would be time to release the new version? Thanks and regards, Roland
AMDG Roland Bock wrote:
You could try the nightly build from http://www.boost.org/boost-build2/boost-build.tar.bz2
you saved my day :-)
It works as expected. Maybe it would be time to release the new version?
As I recall, the version of Boost.Build that's separately packaged on sourceforge is horribly out of date. The version included in any recent release of Boost should work. In Christ, Steven Watanabe
Steven Watanabe wrote: <snip>
As I recall, the version of Boost.Build that's separately packaged on sourceforge is horribly out of date. The version included in any recent release of Boost should work. Do you think it would make sense to create a ticket for this? It cost me several hours experimenting and the solution was so simple, in the end.
Thanks again, Roland
Roland Bock wrote:
Steven Watanabe wrote: <snip>
As I recall, the version of Boost.Build that's separately packaged on sourceforge is horribly out of date. The version included in any recent release of Boost should work. Do you think it would make sense to create a ticket for this? It cost me several hours experimenting and the solution was so simple, in the end.
I hope to have a release of Boost.Build within 3 months. - Volodya
participants (3)
-
Roland Bock
-
Steven Watanabe
-
Vladimir Prus