有人能告诉我为什么bootstrap.bat失败了吗?
平台:
Windows 10
Boost boost_1_63_0
C:\Boost\boost_1_63_0>bootstrap.bat
Building Boost.Build engine
'cl' is not recognized as an internal or external command,
operable program or batch file.
Failed to build Boost.Build engine.
Please consult bootstrap.log for further diagnostics.
You can try to obtain a prebuilt binary from
http://sf.net/project/showfiles.php?group_id=7586&package_id=72941
Also, you can file an issue at http://svn.boost.org
Please attach bootstrap.log in that case.
C:\Boost\boost_1_63_0>
Run Code Online (Sandbox Code Playgroud) 我搜索了很多,但没有找到任何有用的分步指南来安装、配置和构建带有 VS 2019 预览版的 Windows 10。你们中的任何人都可以指导我完成这项任务吗?
我下载了 boost 1.70,但是当我执行 bootstrap.bat 时,它给出了以下消息:
C:\libraries\boost\boost_1_70_0>bootstrap.bat
Building Boost.Build engine
Failed to build Boost.Build engine.
Please consult bootstrap.log for further diagnostics.
C:\libraries\boost\boost_1_70_0>
Run Code Online (Sandbox Code Playgroud)
此文件本身具有以下文本:
c:\libraries\boost\boost_1_70_0\tools\build\src\engine>if exist bootstrap rd /S /Q bootstrap
c:\libraries\boost\boost_1_70_0\tools\build\src\engine>md bootstrap
c:\libraries\boost\boost_1_70_0\tools\build\src\engine>cl /nologo /RTC1 /Zi /MTd /Fobootstrap/ /Fdbootstrap/ -DNT -DYYDEBUG -wd4996 kernel32.lib advapi32.lib user32.lib /Febootstrap\jam0 command.c compile.c constants.c debug.c execcmd.c execnt.c filent.c frames.c function.c glob.c hash.c hdrmacro.c headers.c jam.c jambase.c jamgram.c lists.c make.c make1.c object.c option.c output.c parse.c pathnt.c pathsys.c regexp.c rules.c scan.c search.c …Run Code Online (Sandbox Code Playgroud) 我正在尝试使用以下说明在 Visual Studio 的 x64 终端上构建 boost:https : //www.boost.org/doc/libs/1_62_0/more/getting_started/windows.html#get-boost
我愿意:
boostrap
然后
.\b2 address-model=64
但它总是说:
C:\boost_1_70_0>.\b2 address-model=64
Performing configuration checks
- default address-model : 32-bit
- default architecture : x86
Building the Boost C++ Libraries.
...
Run Code Online (Sandbox Code Playgroud)
然后继续构建所有内容的 32 位版本。我知道这一点,因为当我尝试对 CMake 之类的东西使用 boost 时,它抱怨它的 32 位:
C:\src\SimpleAmqpClient\simpleamqpclient-build>cmake -DBOOST_ROOT=C:\boost_1_70_0 -DBOOST_LIBRARYDIR=C:\boost_1_70_0\stage\lib ..
-- Found Boost 1.70.0 at C:/Program Files/boost/lib/cmake/Boost-1.70.0
-- Requested configuration: QUIET REQUIRED COMPONENTS chrono;system
-- Found boost_headers 1.70.0 at C:/Program Files/boost/lib/cmake/boost_headers-1.70.0
-- Found boost_chrono 1.70.0 at C:/Program Files/boost/lib/cmake/boost_chrono-1.70.0
-- No …Run Code Online (Sandbox Code Playgroud) 我已经为Windows 7执行了以下步骤
Boost link http://www.boost.org/doc/libs/1_49_0/libs/python/doc/
1. Downloaded boost_1_60_0 .zip
2. cd \boost_1_60_0\tools\build
3. Ran below command in command prompt
bootstrap.bat gcc
bjam --toolset=gcc "--prefix=C:\DestinationFolder" install
Now i have b2.exe & bjam.exe in C:\DestinationFolder\bin
Run Code Online (Sandbox Code Playgroud)
任何人都可以帮助我做下一步该怎么做,因为我无法进一步处理