Boost logo

Boost-Build :

Subject: Re: [Boost-build] Dependent install targets
From: Johan Nilsson (r.johan.nilsson_at_[hidden])
Date: 2008-12-16 08:00:34

Johan Nilsson wrote:


> Many thanks for the reply, but I can't get it to work. It seems like
> target(s) defined under project B are somehow referred to from
> project A(!). This is a somewhat edited output from my real project:
> C:\users\jni\prj\projectB>bjam -q debug
> WARNING: No python installation configured and autoconfiguration
> failed. See
> for
> configuration instructions or pass --without-python to
> suppress this message and silently skip all Boost.Python target warning:
> Python location is not configured
> warning: the Boost.Python library won't be built
> Building Boost.Regex with the optional Unicode/ICU support disabled.
> Please refer to the Boost.Regex documentation for more information
> (don't panic: this is a strictly optional feature).
> error: Unable to find file or target named
> error: 'src/apps/guicli/build//guicli'
> error: referred from project at
> error: '/c:/users/jni/prj/projectA'
> What is happening here?
> "src/apps/guicli/build//guicli" is a target under project "B", but the
> message indicates that it is referred to from project "A".

Ok, I'm mostly talking to myself here, but just for the record:

The above problem was a result of me finding subprojects under "A" by
globbing, _and_ the fact that I was globbing using a relative path. Pretty
obvious, actually.

(Note to self: Repeat 1000 times: Always use "path-constant".)

/ Johan

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