小编Pav*_*aev的帖子

无法在 macOS 上使用 Boost 1.76 构建 cc-tools,出现“找不到与 Boost 正则表达式链接的标志”错误

我正在尝试构建 cc-tool 调试器,如下所述https://www.zigbee2mqtt.io/information/flashing_the_cc2531.html

但在配置步骤出现此错误

checking for the Boost regex library... no
configure: error: cannot find the flags to link with Boost regex
Run Code Online (Sandbox Code Playgroud)

这里描述了同样的问题https://github.com/dashesy/cc-tool/issues/25,建议的解决方案是将boost降级到1.60。但它不再起作用了,因为 1.60 从brew 中删除了。

我尝试使用 clang 编译器而不是 gcc,但它也不起作用。

MacOS:大苏尔 11.5.2 (20G95)

c++ boost build

11
推荐指数
2
解决办法
1208
查看次数

标签 统计

boost ×1

build ×1

c++ ×1