rocketmq-client-php
rocketmq-client-php copied to clipboard
Undefined symbols for architecture x86_64
macOS 10.13 环境
编译出错

把 param[1] 强制转换为 int 型后,在编译出现下面错误

修改为 const int64_t result = this->_iter - this->_vec.begin(); return new Php::Value(result); 出现新的错误

麻烦看下
尴尬,我是在Centos 下编译的,暂时没有MacOS 环境
尴尬,我是在Centos 下编译的,暂时没有MacOS 环境
老哥,有没有办法抢救一下
和这个 warning 是否有关?

你使用的c++ 的版本是哪个? 加我QQ 看下把 634626165
Had the same issue (MacOS, PHP 7.4.6), fixed simply with setLogFileSizeAndNum((int)param[0], (int)param[1]) in all places where this error was. Can create a PR if needed and if it's a proper fix :)
兄弟,你这个问题解决了吗?我也遇到了这个问题,和你的情况一模一样,我也试着去改了数据类型,但是报的错误和你一样。如果你解决了,方便给我留个言教我一下吗?谢谢!
