gpt4 book ai didi

c++ - 如何为代码块 13.12 编译 boost 1.55.0 到 win7(32 位)?

转载 作者:可可西里 更新时间:2023-11-01 10:24:28 26 4
gpt4 key购买 nike

我已经研究了几个小时了,但在任何地方都找不到直接的答案。将 boost zip 内容解压到目录(放在 C:\Program Files\boost_1_55_0 中)后,我启动命令提示符并尝试按照指示编译批处理 (bootsrap.bat)。失败。

消息返回: 构建 Boost.Build 引擎 'cl' 不是内部或外部命令,也不是可运行的程序或批处理
文件。 无法构建 Boost.Build 引擎。 请查阅 bootstrap.log 以进行进一步诊断。

bootstrap.log 显示:

   ###
### Using 'msvc' toolset.
###

C:\Program Files\boost_1_55_0\tools\build\v2\engine>if exist bootstrap rd /S /Q
bootstrap
C:\Program Files\boost_1_55_0\tools\build\v2\engine>md bootstrap
C:\Program Files\boost_1_55_0\tools\build\v2\engine>cl /nologo /GZ /Zi /MLd
/Fobootstrap/
/Fdbootstrap/ -DNT -DYYDEBUG 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
subst.c
timestamp.c variable.c modules.c strings.c filesys.c builtins.c md5.c class.c cwd.c
w32_getreg.c
native.c modules/set.c modules/path.c modules/regex.c modules/property-set.c
modules/sequence.c modules/order.c

有什么想法吗????预先感谢您的时间和精力。

最佳答案

每个编译器可能对其静态库文件使用不同的格式。这取决于您在代码块中使用的编译器。默认情况下,boost 构建命令使用 VC 工具集。

关于c++ - 如何为代码块 13.12 编译 boost 1.55.0 到 win7(32 位)?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21659031/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com