ant*_*red 14
好吧,我确实得到了它的工作,但显然这里讨论的boost构建系统中的错误仍然是提升1.61.我通过跳过遇到这个问题的库并只构建我需要的库来解决这个问题.这对我有用.
cd D:\Dev\Libs\boost\boost_1_61_0\tools\build
.\bootstrap.bat
(如果你跳过这个,第6步将失败'未知工具集:mingw'... WTF ???).\bootstrap.bat mingw
.\b2.exe install toolset=gcc --prefix=D:\Dev\Libs\boost\boost_1_61_0\b2_for_mingw
cd D:\Dev\Libs\boost\boost_1_61_0
set PATH=%PATH%;D:\Dev\Libs\boost\boost_1_61_0\b2_for_mingw\bin
b2 toolset=gcc --build-type=complete stage --with-filesystem --with-system
(因为我只需要文件系统和系统库).编辑:对于提升1.64,必须完全跳过步骤5,并且gcc
需要指定步骤6 而不是mingw
如用户节目的评论中所指出的那样.
归档时间: |
|
查看次数: |
6887 次 |
最近记录: |