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

Open
#1,036 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
cpp
Domain
build-system

Research direction

Start by reproducing the Windows 11 failure with bootstrap.bat and the two listed b2 commands under Visual Studio 2022. Inspect the generated paths and the tools/build/src/build-system.jam location, then compare the 1.81.0, 1.85.0, 1.87.0, and 1.88.0 layouts. Done means both 32-bit and 64-bit builds complete successfully.

Written by the indexing model from the issue text.

Description

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.

Dominant language
HTML
Stars
8.6k
Forks
2k
Avg merge
9h 35m
Merged PRs (30d)
1

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from boostorg/boost

All issues in boostorg/boost

Similar issues

More Build System issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.