Ok, I complied successfully with cocos2d 2.2 64bit and Chipmunk 7, however I renamed method
-(id)initWithBlocK:(ChipmunkMarchSampleBlock)block; because there was some error..
All works for now. I will continue testing.
However I can't compile it with latest cocos2d 3, there are many errors with this class. Such as:
Implicit declaration of function 'kmGLGetMatrix' is invalid in C99
ChipmunkGLRenderBufferSampler.m:96:17: Use of undeclared identifier 'KM_GL_PROJECTION'
Also, I see there [retain] code in for example ChipmunkMultiGrab.m, it's ok for cocos2d 2.2 but in 3.x I need ARC version..