当"b2"不起作用时如何构建提升
How do I build Boost when "b2" does not work
理论上,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
(看起来无害),然后是致命通知[sic]`
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版本上没有。
可识别的目标名称取决于构建类型。由于命令行缺少--buildtype=
,因此下一个令牌complete
被错误地解释为目标并且无法识别。下一个令牌stage
是一个目标,但由于未设置构建类型,因此无法识别。
相关文章:
- C++为构建时间获取QDateTime的可靠方法
- 无法在 CLion 中构建 C++ 项目
- 函数向量_指针有不同的原型,我可以构建一个吗
- 如何使用ndk-build.cmd构建Android.so文件
- libssh 的函数在构建 libssh 时无法在 Qt 和 cmake 错误中找到
- 使用cmake从源代码构建MySQL连接器/C++失败(与以前的声明冲突)
- VSCode-有一个红色下划线,但程序构建和运行正确,并且出现配音错误
- 构建可组合有向图(扫描仪生成器的汤普森构造算法)
- 无法使用Qt Creator在Windows中构建yaml-cpp
- 构建一个由C和C++文件组成的库
- llvm构建器向基本块添加终止符
- FLTK 2.0构建和演示,适用于VS2019的2011年左右的代码库
- 如何跨平台将二进制资源构建到程序中?
- 将 OpenCV 与 CMAKE 中的项目一起构建为第三方库的正确方法
- Arch Linux.AUR 包 mysql 不能用 makepkg 构建.错误:构建 () 中出现故障
- 使用 Unity 构建加快C++构建速度,并减少标头依赖项
- 使用Bazel构建系统构建具有循环依赖性的C++代码
- 如何在 qtcreator for MAC 中构建.app构建
- 在Windows上使用SSL和预构建Boost构建Mongo-Cpp驱动程序
- Qt保持构建共享构建无论我选择什么选项