uniapp开发app框架在提升开发效率中的独特优势与应用探索
637
2022-09-19
Windows 7+cocos2d-x 2.2.5 +vs2010安卓移植(亲测)
若出现:/Users/leadprogrammer/Cocos2d/Projects/YiProj/proj.android/../../../cocos2d-x-2.2.5/extensions/CocoStudio/Reader/WidgetReader/LabelReader/LabelReader.cpp: In member function 'virtual void cocos2d::extension::LabelReader::setPropsFromjsonDictionary(cocos2d::ui::Widget*, const Value&)':/Users/leadprogrammer/Cocos2d/Projects/YiProj/proj.android/../../../cocos2d-x-2.2.5/extensions/CocoStudio/Reader/WidgetReader/LabelReader/LabelReader.cpp:54:9: error: 'transform' is not a member of 'std'make: Leaving directory `/Users/leadprogrammer/Cocos2d/Projects/YiProj/proj.android'make: *** [obj/local/armeabi/objs/cocos_extension_static/CocoStudio/Reader/WidgetReader/LabelReader/LabelReader.o] Error 1
解决的办法是:在LabelReader.cpp文件前面添加 #include
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~