Boost logo

Boost-Build :

Subject: Re: [Boost-build] generator problems
From: George Georgiev (george.georgiev.sf_at_[hidden])
Date: 2012-03-23 00:17:54

Same result with 1.49.0

C:\Users\George\generator\test>..\..\boost_1_49_0_b2\bin\b2.exe link=static lib1
...found 42 targets...
...updating 21 targets...
common.mkdir bin
common.mkdir bin\msvc-10.0
common.mkdir bin\msvc-10.0\debug
common.mkdir bin\msvc-10.0\debug\link-static
common.mkdir bin\msvc-10.0\debug\link-static\pch-off
common.mkdir c:\Users\George\generator\compil\bin
common.mkdir c:\Users\George\generator\compil\bin\msvc-10.0
common.mkdir c:\Users\George\generator\compil\bin\msvc-10.0\debug
common.mkdir c:\Users\George\generator\compil\bin\msvc-10.0\debug\link-static
common.mkdir c:\Users\George\generator\compil\bin\msvc-10.0\debug\link-static\pch-off
common.mkdir c:\Users\George\generator\compil\bin\msvc-10.0\debug\link-static\pch-off\threading-multi
compile-c-c++ c:\Users\George\generator\compil\bin\msvc-10.0\debug\link-static\pch-off\threading-multi\compil.obj
compil.cpp c:\Users\George\generator\compil\bin\msvc-10.0\debug\link-static\pch-off\threading-multi\generator.exe
msvc.manifest c:\Users\George\generator\compil\bin\msvc-10.0\debug\link-static\pch-off\threading-multi\generator.exe
jamcompil.generate bin\msvc-10.0\debug\link-static\pch-off\lib1-1.cpp
compile-c-c++ bin\msvc-10.0\debug\link-static\pch-off\lib1-1.obj
: fatal error C1083: Cannot open include file: 'lib1-2.h': No such
file or directory

    call "C:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\vcvarsall.bat" x86 >nul
cl /Zm800 -nologo @"bin\msvc-10.0\debug\link-static\pch-off\lib1-1.obj.rsp"

...failed compile-c-c++ bin\msvc-10.0\debug\link-static\pch-off\lib1-1.obj...
jamcompil.generate bin\msvc-10.0\debug\link-static\pch-off\lib1-2.cpp
compile-c-c++ bin\msvc-10.0\debug\link-static\pch-off\lib1-2.obj
: fatal error C1083: Cannot open include file: 'lib2-2.h': No such
file or directory

    call "C:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\vcvarsall.bat" x86 >nul
cl /Zm800 -nologo @"bin\msvc-10.0\debug\link-static\pch-off\lib1-2.obj.rsp"

...failed compile-c-c++ bin\msvc-10.0\debug\link-static\pch-off\lib1-2.obj...
...skipped <pbin\msvc-10.0\debug\link-static>lib1.lib for lack of
...failed updating 2 targets...
...skipped 1 target...
...updated 18 targets...

On Thu, Mar 22, 2012 at 9:05 PM, George Georgiev
<george.georgiev.sf_at_[hidden]> wrote:
> I am using 1.47.0. Is there big difference between trunk and 1.49.0?
> On Thu, Mar 22, 2012 at 9:01 PM, Steven Watanabe <watanabesj_at_[hidden]> wrote:
>> On 03/22/2012 08:31 PM, George Georgiev wrote:
>>> Hi,
>>> Something that I can not understand is how the scanner will be able to
>>> detect the dependencies if the files are still not generated.
>> Generated targets are rescanned for dependencies.
>> i.e. the include scanner should run /after/
>> lib1-1.cpp is created.
>>> I feel
>>> like the right solutions is in scanner.process to be added fake
>>> propagation explaining the expected dependencies. In pseudo code:
>>>     rule process ( target : matches * : binding )
>>>     {
>>>         ...
>>>         local cpp = get cpp target from $(target);
>>>         headers = get h targets from $(matches);
>>>         INCLUDES $(cpp) : $(headers) ;
>>>     }
>>> Unfortunately I am laking a basic knowledge of jam language and every
>>> experiment takes me forever to implement.
>> In Christ,
>> Steven Watanabe
>> _______________________________________________
>> Unsubscribe & other changes:

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at