Boost logo

Boost Users :

Subject: Re: [Boost-users] Trouble using bjam
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-02-15 12:10:09


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

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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net