From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-08-12 07:52:32
On Thursday 04 August 2005 19:55, David Abrahams wrote:
> Vladimir Prus <ghost_at_[hidden]> writes:
> > On Wednesday 03 August 2005 22:32, David Abrahams wrote:
> >> Does anyone know what might be causing this?
> >> bjam --v2 msvc-7.1 html
> >> ...
> >> c:/boost/tools/build/v2/build\targets.jam:1245: in construct from module
> >> object(typed-target)@25 error: unable to construct ./standalone
> > In most cases this means there's no generator that can do anything about
> > the target. Do you have "using boostbook ; " and the like?
> Duh, no I don't!
> > You can try the --debug-generators option to figure out what's going on.
> I did that, and it gave lots of warnings about trying to invoke empty
Can you give some examples?
> > FWIW, with up-to-date CVS, running "bjam --v2" in "more/whos_using" works
> > for me, with the following user-config.jam part:
> > using boostbook
> > : /home/ghost/Store/docbook/xsl
> > : /home/ghost/Store/docbook/dtd
> > ;
> > using doxygen ;
> Thanks. I think this sort of basic lack of configuration needs to
> generate more user-friendly error messages, though! Can we detect it?
I've change the code to produce this:
error: unable to construct ./hello
error: no generators were found for type 'EXE'
error: and the requested properties
error: make sure you've configured the needed tools
To debug this problem, try the --debug-generators option.
BTW, I positively don't understand how you could get this error. If you don't
have "using boostbook", then the "boostbook" rule should not be defined, and
you'd get error much earlier.
-- Vladimir Prus http://vladimir_prus.blogspot.com Boost.Build V2: http://boost.org/boost-build2
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