Boost logo

Boost-Build :

From: Malcolm Cifuentes (malcolm_cifuentes_at_[hidden])
Date: 2005-08-27 09:26:51

Hi all,
I'm having trouble linking against a library in a sub category.
I've no idea what I am doing wrong. I have trimmed the source
code into a very trivial example, I can attach if the error is
not obvious from below and some one is interested.

My main exe(link_category/Jamfile) target is declared like:
exe test_main : test_main.cpp /core/category//ttt ;

upon executing bjam I receive this error message:
error: Unable to find file or target named
error: '/core/category//ttt'
error: referred from project at
error: '.'

I get a similar error message if I use ../category//ttt also.

The ttt lib(category/ttt/Jamfile) target is declared like:
lib TTT : ttt.cpp ttt.h : <link>static ;

and the top level Jamfile which is parallel to link_category
and category contains:
project core
: requirements <include>..
: requirements <threading>multi

If I move ttt to be parallel to category and change the exe
target to reflect this then all is well.

So can any one tell me where my mistake is?



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