1.88.0 Build failed on Windows 11 Intel x64 and x86 (32-bit)

未关闭
#1,036 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
cpp
领域
build-system

调研方向

首先,在 Visual Studio 2022 下使用 bootstrap.bat 和列出的两个 b2 命令重现 Windows 11 上的失败。检查生成的路径和 tools/build/src/build-system.jam 的位置,然后比较 1.81.0、1.85.0、1.87.0 和 1.88.0 的布局。32 位和 64 位构建均成功完成即表示完成。

由索引模型根据 Issue 内容生成。

描述

OS: Windows 11
Language: Visual Studio 2022 MFC

I downloaded version 1.88.0 from your official site and unzipped it.

After that, I ran bootstrap.bat in the unzipped directory.

And based on my experience building in 1.81.0, I ran "b2 -j4 -a --toolset=msvc-14.3 variant=debug,release link=static threading=multi address-model=32"
and "b2 -j4 -a --toolset=msvc-14.3 variant=debug,release link=static threading=multi address-model=64" in the same directory.

However, the following error occurred:

".b2", "share", "share/b2/", "share/b2/src" were not generated when building 1.81.0. However, the build was successful.

Unable to load B2

No '' was found by searching for:
C:/D_Drive/KPWorkSpace/boost_1_88_0/boost_1_88_0/.b2/build-system.jam
C:/D_Drive/KPWorkSpace/boost_1_88_0/share/b2/build-system.jam
C:/D_Drive/KPWorkSpace/boost_1_88_0/share/b2/src/build-system.jam
C:/D_Drive/KPWorkSpace/boost_1_88_0/build-system.jam
C:/D_Drive/KPWorkSpace/boost_1_88_0/boost_1_88_0/src/build-system.jam
C:/D_Drive/KPWorkSpace/boost_1_88_0/boost_1_88_0/tools/build/src/build-system.jam
C:/D_Drive/KPWorkSpace/boost_1_88_0/boost_1_88_0/src/build-system.jam
C:/D_Drive/KPWorkSpace/boost_1_88_0/src/build-system.jam
C:/D_Drive/KPWorkSpace/src/build-system.jam
C:/D_Drive/src/build-system.jam
C:/src/build-system.jam

Please consult the documentation at 'https://www.bfgroup.xyz/b2/'.
.
However, it was successfully installed in 1.81.0.

However, the following error occurs in 1.88.0.

However, ".b2", "share", "share/b2/", "share/b2/src", which are specified as not being loaded below, were not created when running "bootstrap.bat" in 1.81.0, and there was no error below.

The following error occurs in 1.85.0/1.87.0/1.88.0.

Below is the error message.

Unable to load B2

No '' was found by searching for:
C:/D_Drive/KPWorkSpace/boost_1_88_0/boost_1_88_0/.b2/build-system.jam
C:/D_Drive/KPWorkSpace/boost_1_88_0/share/b2/build-system.jam
C:/D_Drive/KPWorkSpace/boost_1_88_0/share/b2/src/build-system.jam
C:/D_Drive/KPWorkSpace/boost_1_88_0/build-system.jam
C:/D_Drive/KPWorkSpace/boost_1_88_0/boost_1_88_0/src/build-system.jam
C:/D_Drive/KPWorkSpace/boost_1_88_0/boost_1_88_0/tools/build/src/build-system.jam
C:/D_Drive/KPWorkSpace/boost_1_88_0/boost_1_88_0/src/build-system.jam
C:/D_Drive/KPWorkSpace/boost_1_88_0/src/build-system.jam
C:/D_Drive/KPWorkSpace/src/build-system.jam
C:/D_Drive/src/build-system.jam
C:/src/build-system.jam

Please consult the documentation at 'https://www.bfgroup.xyz/b2/'.

If you explore the contents specified in the above, the
"build-system.jam"
file exists in the directory below. However, it says it cannot find it. "C:/D_Drive/KPWorkSpace/boost_1_88_0/boost_1_88_0/tools/build/src"

How can I solve it?

I tried this because I wanted to use the Connect Pool included in the current version without developing a separate Mysql Connect Pool.

I also used Visual Studio Professional 2022 and did the same thing from x64 native tools command prompt but the result was the same.

主要语言
HTML
星标
8.6k
派生
2k
平均合并
9 小时 35 分钟
30 天内合并 PR
1

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

boostorg/boost 的其他 Issue

查看 boostorg/boost 的全部 Issue

相似的 Issue

更多 Build System Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。