
[英]Director::getInstance()->getTouchDispatcher() is giving error that no member named getTouchDispatcher() in cocos2d::Director in cocos2d 3.9
[英]Adding Realm to the project with Cocos 2d/3d results in No member named 'x' in '_GLKVector2 error'
我有一个通过应对源文件安装了Cocos2D / 3D的项目。 现在,我尝试转换项目以添加可可豆荚支持。 所以我设置了项目-一切看起来不错,但是当我尝试添加到广告连播中时
pod 'Realm', '0.89'
我收到了很多这样的链接器错误:
...Cocos/cocos2d/cocos2d/CCRenderer.h:106:79: No member named 'x' in '_GLKVector2'
当我删除领域吊舱时-一切正常。 我如何才能迫使cocos和领域一起工作?
我调查了将这一行真正添加到项目中:
"OTHER_CPLUSPLUSFLAGS": "-std=c++1y $(inherited)"
没有此领域的情况下无法编译-添加此cocos后,在编译过程中会显示错误。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.