cocos2d-x 3.x 引入【#include "cocos-ext.h"】头文件出现编译错误
2015-05-02 00:57
459 查看
最近研究cocos studio,利用博客做写随笔
看了个教程:http://www.cocoachina.com/bbs/read.php?tid=161567
然后,如题,在HelloWorldScene.cpp中#include cocos-ext.h报错
百度了一下解决办法,配置里引入$(EngineRoot)即可
传送门:http://www.cocoachina.com/bbs/read.php?tid=169275
看了个教程:http://www.cocoachina.com/bbs/read.php?tid=161567
然后,如题,在HelloWorldScene.cpp中#include cocos-ext.h报错
#include "cocos-ext.h" USING_NS_CC; using namespace cocos2d::extension;
百度了一下解决办法,配置里引入$(EngineRoot)即可
传送门:http://www.cocoachina.com/bbs/read.php?tid=169275
相关文章推荐
- cocos2d 使用 C++开发游戏 出现#include "CardSprite.h" 无法引入源文件的情况。
- coco2d-x 3.0 alpha1 添加 #include "CocosGUI.h" 头文件时出现链接错误
- 驱动工程中添加新文件后出现的“cannot open source file '***.tmh'"编译错误
- cocos2d-x VS解决#include "cocos-ext.h"不能用 及extensions扩展函数导入问题
- win7下vs2005调试asp网页时出现“加载配置文件时出错: 未能映射路径'/' "错误
- 写Filter中编译出现的错误,无法解析的外部符号 "public: __thiscall CTransformFilter::CTransformFilter
- 解决建站时或在VS.NET中浏览网页时出现"无法在***已经存在的情况下创建,影像复制该文件"的错误
- 在VMware上编译linux内核出现VFS: Cannot open root device "LABEL=/" or unknown-block(0,0) 错误的解决方法
- VC6.0启动”打开文件"对话框出现错误的解决方法
- 利用命令行编译Java文件时出现“需要<>标识符”的错误
- 编译出现错误 "_OBJC_CLASS_$_ClassName", referenced from:
- 错误 2 error C1010: 在查找预编译头时遇到意外的文件结尾。是否忘记了向源中添加“#include "stdafx.h"”?
- KMDF工程新增source文件出现的"TraceEvents未定义”编译错误
- Flash Builder 4.6编译时出现"soap:Array"错误的解决方法
- 0X8009310B (ASN:276) win7安装证书时出现错误消息:"找不到与此证书文件相关联的证书申请"微软官方文档
- cocos2d-x 使用ndk编译 x86 出现 in function Curl_resolv_timeout: undefined reference to 'sigsetjmp' 错误
- 编译3.10内核 出现错误 “undefined reference to...." 解决方法
- 用gcc编译.cpp文件可能出现"undefined reference to `__gxx_personality_v0'"问题的解决
- jsp 引入文件(<jsp:include page)出现乱码的解决办法
- 解决在头文件加入#include"winsock2.h"后出现重复定义的办法