Boost logo

Boost-Build :

From: op_jared_oberhaus (oberhaus_at_[hidden])
Date: 2002-06-21 19:06:34


Thanks for your help again! But I am still stuck:

--- In jamboost_at_y..., Rene Rivera <grafik666_at_r...> wrote:
[snip]
> >- Downloaded jam.zip from sourceforge, renamed the jam.exe inside
to
> >bjam.exe. They are the same, right?
> No, or at least I don't think so. Go to this page...

Actually, just to report, it appears they are identical, only the
name is different.

[snip]
> >-----$TOP/src/testlib2/Jamfile:
> >SubDir TOP src testlib2 ;
> Use "subproject src/testlib2 ;"
>
> ># Build testlib2 library
> >
> >dll mytestlib2
> > : <lib>../testlib1/mytestlib1
> > : <include>$(TOP)$(SLASH)src
> Same as above :-)
>
> > <threading>multi
> > : debug release <runtime-link>static/dynamic
> > ;
> >

I undid all the hacking I did on Boost.Build, and I modified my
Jamfile's as you suggest, which gets me a lot further than I did
before. But I'm still stuck:

C:\jared\jared-shared-laptop\tools\build\boost-base.jam:1416: in
find-compatible-subvariant
*** argument error
* rule is-link-compatible ( feature : value1 : value2 )
* called with: ( <target-type> : DLL : )
* missing argument value2
C:\jared\jared-shared-laptop\tools\build\boost-base.jam:1378:see
definition of rule 'is-link-compatible' being called
C:\jared\jared-shared-laptop\tools\build\boost-base.jam:1445: in
link-libraries
C:\jared\jared-shared-laptop\tools\build\boost-base.jam:1641: in
subvariant-target
C:\jared\jared-shared-laptop\tools\build\boost-base.jam:1724: in
main-target
C:\jared\jared-shared-laptop\tools\build\boost-base.jam:1292: in
declare-local-target
C:\jared\jared-shared-laptop\tools\build\boost-base.jam:1744: in dll
Jamfile:9: in load-jamfiles
C:\jared\jared-shared-laptop\tools\build\bootstrap.jam:15: in boost-
build
C:\jared\jared-shared-laptop\boost-build.jam:2: in module scope

I don't know what I'm missing... I tried to read the code around the
error but I just don't know enough about Jam and Boost.Build to
figure anything out.

Maybe it's because I'm trying to link a .lib into a .dll. Will that
even work?

Thanks!

 


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