Specific Cocos2D-X version

I have spent 3 hours trying to have working this example in Cocos2d-X 3.0.0, this should be warned somewhere.