c++ - 全新下载的 boost 中缺少 Jam 文件

标签 c++ windows boost

我虔诚地追随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 文件?

最佳答案

有点过时了,但我可以通过获取 config 子模块来让它工作:

git submodule update --init libs/config

配置模块似乎是其他一些模块的未列出的先决条件。

关于c++ - 全新下载的 boost 中缺少 Jam 文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38433638/

相关文章:

c++ - 替换可变参数模板列表中的第 n 个元素

python - 打开一个没有焦点的 pyglet 窗口

windows - 如何在 Perl 中设置 Win32 系统环境变量?

c++ - 如何在你的 C++ 项目中包含 boost::thread?

c++ - Boost::thread 如何在主线程和工作线程之间同步?

c++ - 用 boost::geometry 扩展多边形?

c++ - boost asio在基于tcp的协议(protocol)中找到消息的开头

c++ - 在没有 vector ,指针的情况下在c++中在运行时增加数组大小

c++ - 从服务器接收 xml 结果

windows-7 - 注册DLL时出错