cocos2dx-3.1 link的时候出错

我用cocos new了一个工程,然后直接run,是没有问题的

然后我将一些class和resources拷贝到相应的目录下,然后在xcode里add进来,然后,编译,通过,到link的时候,就出现以下错误

Undefined symbols for architecture armv7:

“LoadingScene::loadComplete(cocos2d::Texture2D*)”, referenced from:
LoadingScene::onEnter() in LoadingScene-4E16B1D519627B5B.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

我看了,Build Phases->Compile Sources里已经将这些class的cpp文件加进来了

我用的是越狱的itouch 6.0.1,xcode 5.1.1做的。

有谁遇到过类似的问题吗?搞了一周了,没解决啊

珍惜生命远离2dx

没人遇到过吗?

还是得自己解决啊?

代码写错了…:12::12::12:

:12: :12: :12: link的错误Cocos2d-x上常见的都是没定义或者定义错了。。。

不好意思,才接触c++ :12: