错误:“ popt_arg_argv”未申报.我需要使用较旧的海湾合作委员会吗?
error: ‘POPT_ARG_ARGV’ undeclared. Do I need to use an older gcc?
我正在尝试从https://github.com/alanxz/rabbitmq-c
构建一个C 项目但是,当我运行命令
时cmake --build . --target install
出现此错误,
error: ‘POPT_ARG_ARGV’ undeclared (first use in this function)
不确定是否相关,但我的GCC
gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-55)
我的Centos
CentOS release 5.11 (Final)
centos 5.x具有POPT版本1.13,但是popt_arg_argv类型是在版本1.14中添加的。
相关文章:
- 如何在 C 中正确使用 libiconv 使其不会报告"Arg list too long"?
- 将 N-arg 函数包装到另一个函数中
- 海湾合作委员会 ARM 性能下降
- 海湾合作委员会手册中提到的"C++ ABI Specification"是什么?
- 比较 -INT_MIN (海湾合作委员会)
- 使用海湾合作委员会进行消毒,导致意外提前退出
- 为什么海湾合作委员会在实施is_nothrow_constructible时需要static_cast?
- 海湾合作委员会中 -faligned-new 的值
- 如何在进程之间共享大量数据而不重复?(国际刑罚委员会)
- 使用显式模板参数列表和 [temp.arg.explicit]/3 的函数调用的演绎失败
- 为什么不接受具有默认分配参数的函数作为 0-arg 生成器?
- C++重载解析总是诉诸别名 arg. 而不是其他人作为对所有人都有效的 arg.
- 区分两个零arg构造函数的惯用方法
- 我们可以直接致电海湾合作委员会的simd_fast_mersenne_twister_engine(sfmt19937_64)吗?
- 将 mnist 客户端重写为 c++(arg[0] 不是矩阵)
- 在现代 c++ 中,有什么好方法可以获取 arg 类型列表表单函数指针吗?
- 如何(以及谁可以)实现C++委员会定义的标准库功能
- 海湾合作委员会在升压源中的警告
- 海湾合作委员会制作的不可拆卸的符号
- "this" Lambda 捕获的是不正确的。海湾合作委员会编译器错误?