cocos2dx 2.2.3 xcode5.0,新建mac项目报错

cocos2dx 2.2.3 xcode5.0,新建mac项目报错

Undefined symbols for architecture x86_64:

"cocos2d::extension::LabelReader::createInstance()", referenced from:

cocos2d::extension::GUIReader::GUIReader() in GUIReader.o

"cocos2d::extension::ButtonReader::createInstance()", referenced from:

cocos2d::extension::GUIReader::GUIReader() in GUIReader.o

"cocos2d::extension::LayoutReader::createInstance()", referenced from:

cocos2d::extension::GUIReader::GUIReader() in GUIReader.o

"cocos2d::extension::SliderReader::createInstance()", referenced from:

cocos2d::extension::GUIReader::GUIReader() in GUIReader.o

"cocos2d::extension::CheckBoxReader::createInstance()", referenced from:

cocos2d::extension::GUIReader::GUIReader() in GUIReader.o

"cocos2d::extension::ListViewReader::createInstance()", referenced from:

cocos2d::extension::GUIReader::GUIReader() in GUIReader.o

"cocos2d::extension::PageViewReader::createInstance()", referenced from:

cocos2d::extension::GUIReader::GUIReader() in GUIReader.o

"cocos2d::extension::ImageViewReader::createInstance()", referenced from:

cocos2d::extension::GUIReader::GUIReader() in GUIReader.o

"cocos2d::extension::TextFieldReader::createInstance()", referenced from:

cocos2d::extension::GUIReader::GUIReader() in GUIReader.o

"cocos2d::extension::LabelAtlasReader::createInstance()", referenced from:

cocos2d::extension::GUIReader::GUIReader() in GUIReader.o

"cocos2d::extension::LoadingBarReader::createInstance()", referenced from:

cocos2d::extension::GUIReader::GUIReader() in GUIReader.o

"cocos2d::extension::ScrollViewReader::createInstance()", referenced from:

cocos2d::extension::GUIReader::GUIReader() in GUIReader.o

"cocos2d::extension::LabelBMFontReader::createInstance()", referenced from:

cocos2d::extension::GUIReader::GUIReader() in GUIReader.o

ld: symbol(s) not found for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

————————————————————————————————————

报错信息如上,demo中的例子可以运行,新建的项目ios版可以运行,但是mac版运行编译报错。使用的是cocos2dx2.2.3版本

解决办法:直接将文件夹WidgetReader拷贝进项目

cocos2dx 2.2.3 xcode5.0,新建mac项目报错,布布扣,bubuko.com

时间: 2024-12-08 19:42:58

cocos2dx 2.2.3 xcode5.0,新建mac项目报错的相关文章

eclipse 导入 新建 Android 项目 报错support.v7 v4

如果只是某一个工程(特别是导入的他人的工程)出问题,解决办法就是增加所缺的jar包. 步骤如下: 1.在Eclipse中,右击当前工程,选择Properties 2.选择Java Build Path 3.选择Libraries tab,点击右边面板的Add External JARs按钮 4.选择android-support-v4.jar文件,在你的andriod的sdk目录下: \android-sdks\extras\android\support\v4\android-support-

Eclipse-Mars Release (4.5.0)创建Maven项目报错

1.Eclipseb版本为Mars Release (4.5.0) 2.报错内容 Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved:.................................... 3.解决方法 找到本地仓库位置,将仓库中的/org/apache

IDEA新建SpringMVC项目报错解决办法

网页运行的错误: HTTP Status 500 - Handler processing failed; nested exception is java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/Config type Exception report message Handler processing failed; nested exception is java.lang.NoClassDefFoundError:

之前的Android项目报错,新建Android项目报错,代码中找不到错误解决方案

打开一年前的东西,结果发现里面的android项目全部有个红叉,也找不到错误.新建一个项目也报错,首先确定自己的环境应该没问题,然后通过查看网上的资料,发现可能是debug的keystore到期啦. 通过网上资料的引导,做以下操作: 1.进入C:\Documents and Settings\Administrator\.android 删除路径下的debug.keystore及 ddms.cfg(我只删除了debug.kestore也可以.网上说两个都删除).(不同环境下的目录可能略有不同,可

新建android项目报错,代码中找不到错误

通过网上资料的引导,做以下操作: 1.进入C:\Documents and Settings\Administrator\.android 删除路径下的debug.keystore及 ddms.cfg(我只删除了debug.kestore也可以.网上说两个都删除).(不同环境下的目录可能略有不同,可在eclipse中查找此路径:Window->Preferences->Android->Build下 Default debug keystore)2.进入eclipse,project 

eclipse新建maven项目报错The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path的解决方案

具体表现为: 使用Eclipse+Maven建立了一个Javaweb工程,JSP页面顶端出现“红色”的报错信息:The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path. 解决方法: 在pom.xml中的  <build></build>中  添加: <plugins> <!-- 编码和编译和JDK版本 --> <plug

cocos2dx 2.2.3 xcode5.0,新mac项目错误

cocos2dx 2.2.3 xcode5.0,新建mac项目报错 Undefined symbols for architecture x86_64: "cocos2d::extension::LabelReader::createInstance()", referenced from: cocos2d::extension::GUIReader::GUIReader() in GUIReader.o "cocos2d::extension::ButtonReader::

Visual Studio 新建项目报错&quot; this template attempted to load component assembly &#39;NuGet.VisualStudio.Interop, ….&quot;.

"Error: this template attempted to load component assembly 'NuGet.VisualStudio.Interop, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.". 解决: I believe you do not have NuGet Package Manager extension installed. If not, you ca

最新版ADT新建项目报错解决办法(三)

自从在谷歌官网下载了最新版的ADT,版本号version:23.0.2.1259578,集成版的(adt-bundle-windows-x86-20140702.rar).笔者就走上了与报错斗争的道路,新建项目时总无故报错,提示内容为: [2014-12-11 09:46:50 - test] E:\workspace\test\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found