|
Boost-Build : |
Subject: Re: [Boost-build] Errors when using target references to boost libraries
From: Bob Walters (bob.s.walters_at_[hidden])
Date: 2009-09-04 14:36:14
Johan Nilsson wrote:
> > My goal is that using those targets avoids any
> > need to try to
>
> Try to ... what?
Sorry: Another victim of loss-of-focus. I'm trying to avoid putting
any specific library
names in the Jamfile in order to keep it OS/variant/architecture neutral.
I've tried the approach you suggested, on windows. I'm still getting
an odd problem - apparently
with finding the aliases. (filesystem was the first alias in the
library list when I ran this bjam):
*** argument error
* rule project.find ( name : current-location )
* called with: ( filesystem : )
* missing argument current-location
C:/c++/boost_1_39_0/tools/build/v2/build\project.jam:145:see
definition of rule 'find' being called
C:/c++/boost_1_39_0/tools/build/v2/build\targets.jam:428: in
object(project-target)@128.find
C:/c++/boost_1_39_0/tools/build/v2/build\targets.jam:366: in find-really
C:/c++/boost_1_39_0/tools/build/v2/build\targets.jam:428: in
object(project-target)@51.find
C:/c++/boost_1_39_0/tools/build/v2/build\targets.jam:794: in resolve-reference
C:/c++/boost_1_39_0/tools/build/v2/build\targets.jam:811: in
targets.generate-from-reference
C:/c++/boost_1_39_0/tools/build/v2/build\targets.jam:1174: in
generate-dependencies
C:/c++/boost_1_39_0/tools/build/v2/build\targets.jam:1224: in
object(alias-target-class)@53.generate
C:/c++/boost_1_39_0/tools/build/v2/build\targets.jam:710: in generate-really
C:/c++/boost_1_39_0/tools/build/v2/build\targets.jam:682: in
object(main-target)@117.generate
C:/c++/boost_1_39_0/tools/build/v2/build\targets.jam:258: in
object(project-target)@51.generate
C:/c++/boost_1_39_0/tools/build/v2\build-system.jam:700: in load
C:\\c++\\boost_1_39_0\tools/build/v2/kernel\modules.jam:283: in import
C:\\c++\\boost_1_39_0\tools/build/v2/kernel/bootstrap.jam:138: in boost-build
C:\\c++\\boost_1_39_0\boost-build.jam:16: in module scope
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