掌握BCP可建升压提取物 [英] Getting a buildable Boost extract with bcp

查看:204
本文介绍了掌握BCP可建升压提取物的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用bcp从升压提取Boost.Archive。不幸的是我不能建立这种提取物。 Boost.Archive不是一个只有头库。

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抱怨

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

有没有办法告诉bcp进行提取物可建用的bjam(复印件升压build.jam中对地方)?

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

推荐答案

在正确的地方是,你已经提取Boost.Archive的目录(或该目录本身)的任何父目录。该文件应包含一行:

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 ;

其中/路径/到/升压需要被适当取代。此文件告诉bjam的(低级别构建引擎)从哪里加载Boost.Build构建系统。
然后cd到库/归档/建立,并从那里调用的bjam。这将刚刚建立的档案库。

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.

这篇关于掌握BCP可建升压提取物的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆