简体   繁体   English

无法在Windows 10上安装Boost

[英]Trouble installing Boost on Windows 10

I'm stuck trying to install Boost (1.55) on Windows 10 (pro) I have been following the instructions here link And I'm not sure what is supposed to happen at/after this stage: 我一直试图在Windows 10(pro)上安装Boost(1.55),但我一直按照此处的链接说明进行操作,但我不确定在此阶段/之后应该发生什么:

   C:\Users\Sak09\Downloads\boost_1_55_0\boost_1_55_0\tools\build\v2>b2 --build-dir="C:\Boost\" toolset=msvc --build-type= complete stage
warning: the --build-dir option was specified
warning: but Jamroot at '.'
warning: specified no project id
warning: the --build-dir option will be ignored
warning: No toolsets are configured.
warning: Configuring default toolset "msvc".
warning: If the default is wrong, your build may not work correctly.
warning: Use the "toolset=xxxxx" option to override our guess.
warning: For more configuration options, please consult
warning: http://boost.org/boost-build2/doc/html/bbv2/advanced/configuration.html
...found 580 targets...



C:\Users\Sak09\Downloads\boost_1_55_0\boost_1_55_0\tools\build\v2>b2  toolset=msvc --build-type=complete stage
notice: could not find main target stage
notice: assuming it is a name of file to create.
don't know how to make <e>stage
...found 1 target...
...can't find 1 target...

C:\Users\Sak09\Downloads\boost_1_55_0\boost_1_55_0\tools\build\v2>b2  --build-type=complete msvc stage
warning: No toolsets are configured.
warning: Configuring default toolset "msvc".
warning: If the default is wrong, your build may not work correctly.
warning: Use the "toolset=xxxxx" option to override our guess.
warning: For more configuration options, please consult
warning: http://boost.org/boost-build2/doc/html/bbv2/advanced/configuration.html
notice: could not find main target stage
notice: assuming it is a name of file to create.
don't know how to make <e>stage
...found 1 target...
...can't find 1 target...

Any help is very much appreciated. 很感谢任何形式的帮助。 I'm trying to setup dev stuff in Windows after a decade and I'm really struggling with this. 十年后,我试图在Windows中设置开发人员的东西,对此我真的很挣扎。

Tried the same instructions with Boost version 1.60 and it just worked. 尝试了与Boost 1.60版相同的说明,并且该方法正常工作。 So yeah some compatibility issue with VS2017 and older versions of Boost. 所以,是的,VS2017和早期版本的Boost存在一些兼容性问题。 Thanks everyone for the suggestioons. 谢谢大家的建议。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM