加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

c – 在全新下载boost时丢失Jam文件

发布时间:2020-12-16 07:16:59 所属栏目:百科 来源:网络整理
导读:我虔诚地跟随 http://www.boost.org/doc/libs/1_61_0/more/getting_started/windows.html. 下载并解压缩1.61版本的boost之后,我尝试使用本指南第5.1节中的说明从源代码构建它. 所以 bootstrap.b2 但后来我得到了错误: error: Unable to load Jamfile.error
我虔诚地跟随 http://www.boost.org/doc/libs/1_61_0/more/getting_started/windows.html.

下载并解压缩1.61版本的boost之后,我尝试使用本指南第5.1节中的说明从源代码构建它.
所以

bootstrap
.b2

但后来我得到了错误:

error: Unable to load Jamfile.
error: Could not find a Jamfile in directory 'libs/config/checks/architecture'.
error: Attempted to find it with pattern '[Bb]uild.jam [Jj]amfile.v2 [Jj]amfile [Jj]amfile. [Jj]amfile.jam'.
error: Please consult the documentation at 'http://www.boost.org'.

与Trac issue #12173 of boost完全相同.
出了什么问题?如何让bjam找到jam文件?

解决方法

有点过时,但我能通过获取配置子模块来实现这一点:

git submodule update --init libs/config

看起来配置模块是某些其他模块的未列出的先决条件.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读