当前位置: 技术问答>linux和unix
请教【wenxy1】:安装boost时失败!!!
来源: 互联网 发布时间:2017-04-19
本文导语: 根据wenxy1的指点,下载了Code::Blocks 8.02安装, 根据《第2课堂http://www.d2school.com/》里的帖子逐个安装到 2.5. 安装boost http://www.d2school.com/bhcpp_book/2_5.php 但是安装到这步 bjam install --toolset=gcc --prefix="E:boost_1_36_0" debug...
根据wenxy1的指点,下载了Code::Blocks 8.02安装,
根据《第2课堂http://www.d2school.com/》里的帖子逐个安装到
2.5. 安装boost
http://www.d2school.com/bhcpp_book/2_5.php
但是安装到这步
bjam install --toolset=gcc --prefix="E:boost_1_36_0" debug --without-wave --without-mpi --without-python --without-math --without-graph (回车)
时,却出现如下错误:(需要说明的是,我是下载了boost 1.45.0版,而并非1.36.0!)
warning: Graph library does not contain MPI-based parallel components.
note: to enable them, add "using mpi ;" to your user-config.jam
E:/boost_1_45_0/tools/build/v2/buildconfigure.jam:145: in builds-raw
*** argument error
* rule UPDATE_NOW ( targets * : log ? : ignore-minus-n ? )
* called with: ( has_icu.exe : : ignore-minus-n : ignore-minus-q )
* extra argument ignore-minus-q
(builtin):see definition of rule 'UPDATE_NOW' being called
E:/boost_1_45_0/tools/build/v2/buildconfigure.jam:179: in configure.builds
E:/boost_1_45_0/tools/build/v2/buildconfigure.jam:216: in object(check-target-builds-worker)@392.check
E:/boost_1_45_0/tools/build/v2/kernelmodules.jam:103: in modules.call-in
E:/boost_1_45_0/tools/build/v2/utilindirect.jam:96: in indirect.call
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:1012: in targets.evaluate-requirements
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:1393: in basic-target.compute-usage-requirements
E:/boost_1_45_0/tools/build/v2/buildalias.jam:47: in compute-usage-requirements
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:1319: in object(alias-target-class)@395.generate
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:732: in generate-really
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:704: in object(main-target)@893.generate
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:258: in object(project-target)@360.generate
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:848: in targets.generate-from-reference
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:1217: in generate-dependencies
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:1268: in object(install-target-class)@74.generate
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:732: in generate-really
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:704: in object(main-target)@590.generate
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:848: in targets.generate-from-reference
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:1217: in generate-dependencies
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:1268: in object(alias-target-class)@68.generate
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:732: in generate-really
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:704: in object(main-target)@589.generate
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:848: in targets.generate-from-reference
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:1217: in generate-dependencies
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:1268: in object(alias-target-class)@67.generate
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:732: in generate-really
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:704: in object(main-target)@588.generate
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:848: in targets.generate-from-reference
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:1217: in generate-dependencies
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:1268: in object(alias-target-class)@84.generate
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:732: in generate-really
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:704: in object(main-target)@594.generate
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:848: in targets.generate-from-reference
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:1217: in generate-dependencies
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:1268: in alias-target-class.generate
Jamroot:648: in build-multiple
Jamroot:612: in object(top-level-target)@92.generate
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:732: in generate-really
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:704: in object(main-target)@598.generate
E:/boost_1_45_0/tools/build/v2build-system.jam:735: in load
E:boost_1_45_0toolsbuildv2/kernelmodules.jam:283: in import
E:boost_1_45_0toolsbuildv2kernelbootstrap.jam:142: in boost-build
E:boost_1_45_0boost-build.jam:17: in module scope
根据《第2课堂http://www.d2school.com/》里的帖子逐个安装到
2.5. 安装boost
http://www.d2school.com/bhcpp_book/2_5.php
但是安装到这步
bjam install --toolset=gcc --prefix="E:boost_1_36_0" debug --without-wave --without-mpi --without-python --without-math --without-graph (回车)
时,却出现如下错误:(需要说明的是,我是下载了boost 1.45.0版,而并非1.36.0!)
warning: Graph library does not contain MPI-based parallel components.
note: to enable them, add "using mpi ;" to your user-config.jam
E:/boost_1_45_0/tools/build/v2/buildconfigure.jam:145: in builds-raw
*** argument error
* rule UPDATE_NOW ( targets * : log ? : ignore-minus-n ? )
* called with: ( has_icu.exe : : ignore-minus-n : ignore-minus-q )
* extra argument ignore-minus-q
(builtin):see definition of rule 'UPDATE_NOW' being called
E:/boost_1_45_0/tools/build/v2/buildconfigure.jam:179: in configure.builds
E:/boost_1_45_0/tools/build/v2/buildconfigure.jam:216: in object(check-target-builds-worker)@392.check
E:/boost_1_45_0/tools/build/v2/kernelmodules.jam:103: in modules.call-in
E:/boost_1_45_0/tools/build/v2/utilindirect.jam:96: in indirect.call
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:1012: in targets.evaluate-requirements
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:1393: in basic-target.compute-usage-requirements
E:/boost_1_45_0/tools/build/v2/buildalias.jam:47: in compute-usage-requirements
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:1319: in object(alias-target-class)@395.generate
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:732: in generate-really
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:704: in object(main-target)@893.generate
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:258: in object(project-target)@360.generate
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:848: in targets.generate-from-reference
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:1217: in generate-dependencies
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:1268: in object(install-target-class)@74.generate
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:732: in generate-really
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:704: in object(main-target)@590.generate
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:848: in targets.generate-from-reference
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:1217: in generate-dependencies
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:1268: in object(alias-target-class)@68.generate
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:732: in generate-really
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:704: in object(main-target)@589.generate
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:848: in targets.generate-from-reference
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:1217: in generate-dependencies
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:1268: in object(alias-target-class)@67.generate
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:732: in generate-really
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:704: in object(main-target)@588.generate
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:848: in targets.generate-from-reference
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:1217: in generate-dependencies
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:1268: in object(alias-target-class)@84.generate
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:732: in generate-really
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:704: in object(main-target)@594.generate
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:848: in targets.generate-from-reference
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:1217: in generate-dependencies
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:1268: in alias-target-class.generate
Jamroot:648: in build-multiple
Jamroot:612: in object(top-level-target)@92.generate
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:732: in generate-really
E:/boost_1_45_0/tools/build/v2/buildtargets.jam:704: in object(main-target)@598.generate
E:/boost_1_45_0/tools/build/v2build-system.jam:735: in load
E:boost_1_45_0toolsbuildv2/kernelmodules.jam:283: in import
E:boost_1_45_0toolsbuildv2kernelbootstrap.jam:142: in boost-build
E:boost_1_45_0boost-build.jam:17: in module scope
|
*** argument error
* rule UPDATE_NOW ( targets * : log ? : ignore-minus-n ? )
* called with: ( has_icu.exe : : ignore-minus-n : ignore-minus-q )
* extra argument ignore-minus-q
(builtin):see definition of rule 'UPDATE_NOW' being called
错误说明在调用规则时,参数过多了,lz版本按照原来的试试
* rule UPDATE_NOW ( targets * : log ? : ignore-minus-n ? )
* called with: ( has_icu.exe : : ignore-minus-n : ignore-minus-q )
* extra argument ignore-minus-q
(builtin):see definition of rule 'UPDATE_NOW' being called
错误说明在调用规则时,参数过多了,lz版本按照原来的试试
|
只是相当于装了了库而已,编程需要,并不是IDE本身需要
|
http://gz-ricky.blogbus.com/logs/89043444.html