schedule_selector error. cocos2d-x-3.0 alpha release

Hi,

I have just updated to cocos2d-x-3.0 alpha and got these type of errors…
Got error on this line:

schedule(schedule_selector(HelloWorld::hiMethod),0.1);

error : Static_cast from ’void (::)‘to ’cocos2d::SEL_SCHEDULE’ ’) is not allowed
And 1 more thing that it is showing all CC*****
classes as deprecated. Should i remove CC???

Help…

Hi!
Error you have means that your method signature is wrong. You should have something like : void hiMethod(float dt), and that method shall be a method of class, inherited from Object.

Yes, CC prefix is deprecated in cocos2dx 3.0, you should remove it.