我虔诚地追随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/