理论上,boost 需要用b2
. 就我而言,使用b2 --build-dir=c:\boost\ --toolset=msvc complete stage
.
这会产生一个警告the --build-dir option was specified but Jamroot at '.' specified no project id the --build-dir option will be ignored
(看起来无害),然后是致命通知[原文如此]`
could not find main target complete
assuming it is a name of file to create.
could not find main target stage
assuming it is a name of file to create.
显然目标已被重命名。构建的正确目标是什么?
谷歌搜索只找到几个命中,在当前 (1.54.0) Boost 版本上没有。