New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
编译通不过。 #76
Comments
我用的是QT 4.7.4 |
有没有重新生成cxx |
每当 swig 目录下的 .i 发生变动的时候,需要用 swig 更新 sanguosha_wrap.cxx 文件 |
我用的compile.sh,
|
用20111126以及之前的的git一直能编译成功。 |
不是那个,是E:\swigwin-2.0.1\swig.exe(换成你装swig的目录。。。) -c++ -lua sanguosha.i |
嗯,知道了,似乎是天启改的 thicket.cpp 的 235 行出了问题,你把那一行替换成: |
似乎还是不行。 |
更新了,该死的 github, 把我的尖括号吞了 |
ServerPlayer *target = zhurong->tag["LierenTarget"].value<PlayerStar>(); |
或者
都没能成功。 |
我对编程了解得很少。你看看是不是应该这里也修改一下。
|
你先把祝融注释掉吧。linux我也不熟,还得神主修,目前神主貌似没时间 |
lieren target 不一定非得保存 ServerPlayer *, 你也可以仅仅保存 target 的 objectName |
我把第259行的
注释掉编译就通过了。这句好像是在为对象赋予空值,而C++不允许这么使用。 |
@Moligaloo 第235行pull你的patch之后已经不出错了。现在出错的是259. |
不要赋值为 NULL,用下面的还好些 |
额,还好些,怎么处理是最好呢…… |
@ubun 根本不需要用用到 tag,你只需要判断 damage 的 chain 字段是否为 true 即可 |
可以么,应该不只有铁索一种情况吧。比如祝融杀小乔,小乔弹给周瑜,按新描述祝融是和小乔拼点,这其中不涉及连环 |
@ubun 按照这种情况,祝融既不能与小乔拼点,也不能与周瑜拼点 |
add tooltip to askForChoice's option
Arch x86_64
原先能的,最新的git。出现下列错误。
The text was updated successfully, but these errors were encountered: