理论上,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版本上。
发布于 2013-07-25 21:24:53
可识别的目标名称取决于生成类型。由于命令行缺少--buildtype=,因此下一个标记complete被错误地解释为目标并且无法识别。下一个标记stage是一个目标,但由于未设置buildtype而无法识别。
https://stackoverflow.com/questions/17785938
复制相似问题