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
msvc.link 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
lib1-1.cpp
c:\users\george\generator\test\bin\msvc-10.0\debug\link-static\pch-off\lib1-1.h(2)
: 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
lib1-2.cpp
c:\users\george\generator\test\bin\msvc-10.0\debug\link-static\pch-off\lib1-1.h(3)
: 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
<pbin\msvc-10.0\debug\link-static\pch-off>lib1-1.obj...
...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:
>> AMDG
>>
>> 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: http://lists.boost.org/mailman/listinfo.cgi/boost-build


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