CCActionTween unresolved external symbol

Hi,

I am wanting to use the CCActionTween class, however upon compiling I get an unresolved external symbol problem:

unresolved external symbol "public: static class cocos2d::CCActionTween * __cdecl cocos2d::CCActionTween::create(float,char const *,float,float)"

The rest of cocos2dx links perfectly fine.

Any ideas? I am using cocos2dx 2

It is strange, could you paste some codes to help reproducing the issue?
And which platform did you test on?

Hi,

I am using cocos2d-2.0-rc2-x-2.0.1 on win32.

I think I found the problem, however this is untested: the classes CCActionTween and CCActionTweenDelegate do not use the CC_DLL macro which probably means that they are not exported to the dll and hence cannot be linked against.

Ok, adding the CC_DLL to the class declaration resolves the issue. That should probably be fixed for the next release.