Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2005-08-12 10:23:29


Vladimir Prus <ghost_at_[hidden]> writes:

> On Thursday 04 August 2005 19:55, David Abrahams wrote:
>>
>> 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
> See http://boost.org/boost-build2/doc/html/bbv2/advanced/configuration.html
> To debug this problem, try the --debug-generators option.

Excellent!

> 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.

I had "using docutils," and the HTML type was defined as part of
boostbook.jam, so...

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com
 

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