1
理论上,需要使用b2
来构建助推器。在我的情况下,与b2 --build-dir=c:\boost\ --toolset=msvc complete stage
。当“b2”不起作用时,我该如何构建Boost
这将产生一个警告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)增强版本。
你可以尝试使用'b2 --build-dir = c:\ boost \ toolset = msvc --build-type = complete stage'?我怀疑这个问题是由于你使用'complete'。您需要从包含'boost','doc','libs','more'等的目录中执行此操作。 – llonesmiz
@cv_and_he:+1,看起来好多了。 – MSalters