Boost logo

Boost-Build :

Subject: [Boost-build] how do i build libraries which use each other?
From: Amos Anderson (nitroamos_at_[hidden])
Date: 2010-07-07 23:58:37

I would have thought that this would be straight forward to figure
out... but nothing in the manual is helping me figure it out. Here's a
simplified representation of what I'm trying to do:

lib first : a.cpp second
lib second: b.cpp first

because classes a and b use each other. how do I do this? obviously
one way would be to merge the two into one library, but i'm looking
for a simpler solution. perhaps I should be using the "use, library,
dependency" or some option like that... but for everything I've tried,
i'm either getting the error:

error: Recursion in main target references


ld: symbol(s) not found



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