Boost logo

Boost-Build :

From: andrewjmcd (andrewjmcd_at_[hidden])
Date: 2005-10-18 01:34:45


Hi Alexey,

yes that is the error I receive.

I guess I am confused to what all this means
target, main target, consumable types

Volodya wrote in message # 11614
> I've modified the generator search logic so that if there are two generators
> that could be run to consume the same source, and they both run sucessfully,
> it's an error. Previously, this case was just ignored.

So that explains why boost v1.31 worked and boost v1.33 doesn't.

Now my problem is to adjust my generator, somehow, so that works with 1.33.

What I don't understand is why he wrote that there are two generators.
I thought I had one generator that produces two files but apparently
I made two generators, one for each target with one source file.

So turning to the snippet
generators.register-c-compiler midl.compile.idl : IDL : TLB H C(%_i) C(%_proxy) C(%_dlldata) ;

by the logic above, it is 5 generators one for each target with one source.

Implicit targets...

.... crap I'm quite confused

I need to read some more....

My hunch is that my rule needs to modified.

Thanks for answering.

Andrew

Alexey Pakhunov <alexeypa_at_g...> wrote:
>
> andrewjmcd wrote:
> > Why can the above mentioned generator have more than one output?
> > And this one not?
>
> I guess it is because you have a '.ver' file in the list of sources. I
> tried to do it and I got "error: Ambiguity found when searching for best
> transformation". On the other hand the 'tlb' rule is intended to be used
> only as a main target rule, i.e.:
>
> ----
> tlb my-typelib : my-typelib.idl ;
>
> lib my-lib : main.cpp ... : <implicit-dependency> my-typelib ;
> ----
>
> Best regards/Venlig hilsen,
> Alexey Pakhunov.
>
 --9-1921667052-7129145226=:7 Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<br>Hi Alexey,<br><br>yes that is the error I receive.<br><br>I guess I am confused to what all this means<br>target, main target, consumable types<br><br>Volodya wrote in message # 11614<br><span style="color: rgb(0, 128, 255);font-weight: bold;">&gt; I've modified the generator search logic so that if there are two generators</span><br style="color: rgb(0, 128, 255);font-weight: bold;"><span style="color: rgb(0, 128, 255);font-weight: bold;">&gt; that could be run to consume the same source, and they both run sucessfully,</span><br style="color: rgb(0, 128, 255);font-weight: bold;"><span style="color: rgb(0, 128, 255);font-weight: bold;">&gt; it's an error. Previously, this case was just ignored.</span><br style="color: rgb(0,128, 255);font-weight: bold;"><br>So that explains why boost v1.31 worked and boost v1.33 doesn't.<br><br>Now my problem is to adjust my generator, somehow, so that works with 1.33.<br><br>What I don't understand is why he wrote that there are two generators.<br>I thought I had one generator that produces two files but apparently<br>I made two generators, one for each target with one source file.<br><br>So turning to the snippet <br><span style="color: rgb(0, 191, 96);font-weight: bold;">generators.register-c-compiler midl.compile.idl : IDL : TLB H C(%_i) C(%_proxy) C(%_dlldata) ;</span><br><br>by the logic above, it is 5 generators one for each target with one source.<br><br>Implicit targets...<br><br>.... crap I'm quite confused<br><br>I need to read some more....<br><br>My hunch is that my rule needs to modified.<br><br>Thanks for answering.<br><br>Andrew<br><br>Alexey Pakhunov &lt;alexeypa_at_g...&gt; wrote:<br>&gt;<br>&gt; andrewjmcd wrote:<br>&gt; &gt; Why can the above mentioned generator have more than one output?<br>&gt; &gt; And this one not?<br>&gt;<br>&gt; I guess it is because you have a '.ver'file in the list of sources. I<br>&gt; tried to do it and I got "error: Ambiguity found when searching for best<br>&gt; transformation". On the otherhand the 'tlb' rule is intended to be used<br>&gt; only as a main target rule, i.e.:<br>&gt;<br>&gt; ----<br>&gt; tlb my-typelib : my-typelib.idl ;<br>&gt;<br>&gt; lib my-lib : main.cpp ... : &lt;implicit-dependency&gt; my-typelib ;<br>&gt; ----<br>&gt;<br>&gt; Best regards/Venlig hilsen,<br>&gt; Alexey Pakhunov.<br>&gt;
 --9-1921667052-7129145226=:7--


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