CCSequence no matching function for call 'create'

When I do

CCFiniteTimeAction* sequence = CCSequence::create(action ,CCCallFuncN::create(this, callfuncN_selector(HelloWorld::animationDone)),NULL);

It gives me an error about no matching function for call ‘create’ for CCSequence

I’m using Cocos2d-x 2.1.3, I have cocos2d.h and cocosdhension namespace and cocos2d namespace all called in my header file. I have made sure to include the header file in the .cpp

Any idea’s why?

creat(action, ….)
modify to creat((CCFineteTimeAction *)action, …)
have a try…

I have the same problem with version 2.1.3. Can anyone help on this?

Shane K wrote:

When I do
>
CCFiniteTimeAction* sequence = CCSequence::create(action ,CCCallFuncN::create(this, callfuncN_selector(HelloWorld::animationDone)),NULL);
>
It gives me an error about no matching function for call ‘create’ for CCSequence
>
I’m using Cocos2d-x 2.1.3, I have cocos2d.h and cocosdhension namespace and cocos2d namespace all called in my header file. I have made sure to include the header file in the .cpp
>
Any idea’s why?

I believe i fixed this issue by changing sequence into a CCAction

i have the same problem too, and i change my code to CCSequence::create((CCActionInterval *)action …),then it solves my problem:)