error: ‘POPT_ARG_ARGV’ undeclared. Do I need to use an older gcc?
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版本加入的
我正在尝试从 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版本加入的