cocos2d 3.0 Armature cannot setBody

I was trying to use Armature for collision detection in a physical world. And I have set the preprocessor macro cc_enable_chipmunk_integration=1. But when I write armature->setBody still get a compile time error! plz help me out!

any one know why this is?