Getting a buildable Boost extract with bcp
Asked Answered
I

1

3

I'm using bcp to extract Boost.Archive from Boost. Unfortunately I can't build this extract. Boost.Archive is not a header-only library.

bjam complains

Unable to load Boost.Build: could not find "boost-build.jam"

Is there any way to tell bcp to make the extract buildable with bjam (copy boost-build.jam to the right place)?

Inveracity answered 2/9, 2010 at 11:26 Comment(0)
Z
4

The right place would be any parent directory of the directory where you have extracted Boost.Archive (or that directory itself). That file shall contain a single line:

boost-build /path/to/boost/tools/build/v2 ;

where /path/to/boost needs to be substituted appropriately. This file tells bjam (the low level build engine) where to load Boost.Build build system from. Then cd to libs/archive/build, and invoke bjam from there. That would build just the Archive library.

Zaslow answered 2/9, 2010 at 18:57 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.