嘿,我正在尝试安装Windows的Boost库,我使用Mingw GCC作为我的编译器,每当我运行我的.\b2 --toolset=gcc --link=shared
后一段时间,当-编译器支持AVX 2完成时,它抛出一个错误,说明“递归在主要目标引用”。
我按照Windows安装页面上的指南安装,我也尝试安装一个旧版本的boost(1_80_0),但遇到了同样的错误,我的朋友谁也试图做同样的经验和我一样的问题。
整个安装过程似乎有几个问题,当我将b2安装到一个文件夹中时,我被要求将INSTALLPATH/bin添加到我的路径中,尽管bin不是该文件夹中的一个文件夹,此外,当我运行 Bootstrap 时,b2已经存在,安装b2有什么意义呢?
下面是.\b2 --toolset=gcc --link=shared
失败时的输出片段。
- cxx11_defaulted_functions : no [10]
- cxx11_final : no [10]
- cxx11_hdr_mutex : no [10]
- cxx11_hdr_tuple : no [10]
- cxx11_lambdas : no [10]
- cxx11_noexcept : no [10]
- cxx11_nullptr : no [10]
- cxx11_rvalue_references : no [10]
- cxx11_template_aliases : no [10]
- cxx11_thread_local : no [10]
- cxx11_variadic_templates : no [10]
- native atomic int32 supported : no [9]
- has message compiler : no [9]
- native syslog supported : no [9]
- pthread supports robust mutexes : no [9]
- has_icu builds : no [9]
- compiler supports SSSE3 : no [9]
- compiler supports AVX2 : no [9]
D:/boost/boost_1_80_0/tools/build/src/build\targets.jam:617: in start-building from module targets
error: Recursion in main target references
error: the following target are being built currently:
error: ./forward -> ./stage -> ./stage-proper -> ***libs/filesystem/build/stage*** -> libs/filesystem/build/stage-dependencies -> libs/log/build/stage -> libs/log/build/stage-dependencies -> ***libs/filesystem/build/stage***
D:/boost/boost_1_80_0/tools/build/src/build\targets.jam:784: in class@main-target.generate from module object(main-target)@8794
D:/boost/boost_1_80_0/tools/boost_install\boost-install.jam:1213: in generate-dependencies from module boost-install
D:/boost/boost_1_80_0/tools/build/src/kernel\modules.jam:106: in modules.call-in from module boost-install
D:/boost/boost_1_80_0/tools/build/src/util\indirect.jam:105: in indirect.call from module indirect
D:/boost/boost_1_80_0/tools/build/src/tools\generate.jam:59: in construct from module object(generated-target-class)@4004
D:/boost/boost_1_80_0/tools/build/src/build\targets.jam:1401: in class@basic-target.generate from module object(generated-target-class)@4004
D:/boost/boost_1_80_0/tools/build/src/build\targets.jam:820: in generate-really from module object(main-target)@11563
D:/boost/boost_1_80_0/tools/build/src/build\targets.jam:792: in class@main-target.generate from module object(main-target)@11563
D:/boost/boost_1_80_0/tools/build/src/build\targets.jam:942: in targets.generate-from-reference from module targets
D:/boost/boost_1_80_0/tools/build/src/build\targets.jam:1285: in generate-dependencies from module object(alias-target-class)@4005
D:/boost/boost_1_80_0/tools/build/src/build\targets.jam:1359: in class@basic-target.generate from module object(alias-target-class)@4005
D:/boost/boost_1_80_0/tools/build/src/build\targets.jam:820: in generate-really from module object(main-target)@11564
D:/boost/boost_1_80_0/tools/build/src/build\targets.jam:792: in class@main-target.generate from module object(main-target)@11564
D:/boost/boost_1_80_0/tools/boost_install\boost-install.jam:1213: in generate-dependencies from module boost-install
D:/boost/boost_1_80_0/tools/build/src/kernel\modules.jam:106: in modules.call-in from module boost-install
D:/boost/boost_1_80_0/tools/build/src/util\indirect.jam:105: in indirect.call from module indirect
1条答案
按热度按时间jw5wzhpr1#
.\b2 --构建类型=完整gcc阶段体系结构=x86地址型号=64