b2 安装命令不 运行

b2 install command does not run

我想安装 Boost.Build,但是如果我想 运行 像教程中的这个命令:

D:\boost_1_74_0> ./b2 install --prefix=C:\BoostBuild

然后我收到此错误消息:

D:/boost_1_74_0/tools/build/src/tools\gcc.jam:164: in gcc.init from module gcc
error: toolset gcc initialization:
error: provided command '-w64-mingw32-g++.exe' not found
error: initialized from C:\Users\maxfe\user-config.jam:1
D:/boost_1_74_0/tools/build/src/build\toolset.jam:44: in toolset.using from module toolset
D:/boost_1_74_0/tools/build/src/build\project.jam:1104: in using from module project-rules
C:\Users\username\user-config.jam:1: in modules.load from module user-config
D:/boost_1_74_0/tools/build/src\build-system.jam:255: in load-config from module build-system
D:/boost_1_74_0/tools/build/src\build-system.jam:453: in load-configuration-files from module build-system
D:/boost_1_74_0/tools/build/src\build-system.jam:607: in load from module build-system
D:/boost_1_74_0/tools/build/src/kernel\modules.jam:295: in import from module modules
D:/boost_1_74_0/tools/build/src/kernel/bootstrap.jam:139: in boost-build from module
D:/boost_1_74_0/boost-build.jam:17: in module scope from module

我已经安装了 MinGw-w64。

谁能帮我解决这个问题?

我遵循了这个教程:https://www.boost.org/doc/libs/1_74_0/more/getting_started/windows.html

我忘记编辑“user_config.jam”,它位于 %HOMEDRIVE% 或 %HOMEPATH%。