cocos2d-x编译问题集合之error C2440: “类型转换”: 无法从“void (__thiscall ::* )(void)”转换为“
来源:互联网 发布:178软件源 编辑:程序博客网 时间:2024/05/22 12:12
转自:http://blog.csdn.net/xuzhuang2008/article/details/9280889
1.提示为
error C2440: “类型转换”: 无法从“void (__thiscall xx::* )(void)”转换为“cocos2d::SEL_CallFuncN”
提示前 调用语句为
callfuncN_selector(GameMenu::menuEnter)
menuEnter这个方法里边是没有形参的 导致了这个问题出现
修改办法为
将menuEnter这个方法改成menuEnter(CCNode * node) 加入这个形参即可
2.提示为
error C2440: “类型转换”: 无法从“void (__thiscall xx::* )(void)”转换为“cocos2d::SEL_SCHEDULE”
解决办法同上 但是需要将方法的形参换成 float dt 就可以了
- cocos2d-x编译问题集合之error C2440: “类型转换”: 无法从“void (__thiscall ::* )(void)”转换为“
- cocos2d-x编译问题集合之error C2440: “类型转换”: 无法从“void (__thiscall ::* )(void)”转换为“
- cocos2d-x编译问题集合之error C2440: “类型转换”: 无法从“void (__thiscall ::* )(void)”转换为“
- cocos2d-x编译问题集合之error C2440: “类型转换”: 无法从“void (__thiscall ::* )(void)”转换为“
- cocos2d-x编译问题集合之error C2440: “类型转换”: 无法从“void (__thiscall ::* )(void)”转换为“
- cocos2d-x编译问题集合之error C2440: “类型转换”: 无法从“void (__thiscall ::* )(void)”转换为“
- cocos2d-x编译问题集合 error C2440: “类型转换”: 无法从“void (__thiscall xx::* )(void)”转换为“cocos2d::SEL_CallFuncN”
- cocos2d-x3.2中error C2440: “类型转换”: 无法从“void (__thiscall xx::* )(void)”转换为
- 错误 1 error C2440:“类型转换”: 无法从“void (__thiscall GameLayer::* )(cocos2d::CCObject *)”转换为“cocos2d::SEL_C
- xcode下代码转vs问题之error C2440: “类型转换”: 无法从“void (__thiscall GameScene::* )(void)”转
- error C2440 “static_cast” 无法从“void (__thiscall CPppView )(void)”转换为“LRESULT (__thiscall CWnd )(WPARAM,LPARAM)”
- error C2440 “static_cast” 无法从“void (__thiscall CPppView )(void)”转换为“LRESULT (__thiscall
- error C2440 “static_cast” 无法从“void (__thiscall CPppView )(void)”转换为“LRESULT (__thiscall CWnd )(WPARA
- error C2440 “static_cast” 无法从“void (__thiscall CPppView )(void)”转换为“LRESULT (__thiscall
- error C2440 “static_cast” 无法从“void (__thiscall CPppView )(void)”转换为“LRESULT (__thiscall
- error C2440 “static_cast” 无法从“void (__thiscall CPppView )(void)”转换为“LRESULT (__thiscall
- error C2440 “static_cast” 无法从“void (__thiscall CPppView )(void)”转换为“LRESULT (__thiscall CWnd )(WPARA
- error C2440: “static_cast”: 无法从“void (__thiscall CXXDlg* )(void)”转换为“LRESULT (__thiscall CWnd:的错误
- 用户卡的发展变革(一)
- Linux脚本Shell命令
- 日文106键盘->英文101键盘的更改方法
- Ubuntu 安装Eclipse
- Win7 windows凭证无法保存密码的解决方法
- cocos2d-x编译问题集合之error C2440: “类型转换”: 无法从“void (__thiscall ::* )(void)”转换为“
- shell 截取变量的字符串
- perl写日志
- 10个CSS简写/优化技巧
- IDL与Matlab的比较
- 天气的一些接口
- 汇编学习-实验12解析
- Singleton设计模式的一种见解
- firefox 的插件配置注意事项