My project came about as a cocos2d Box2D template, and I had problems as soon as I tried to create a world:
world = new b2World(gravity,doSleep);
Gives an error: there is no matching constructor to initialize 'b2World'.
The .mm file, I assume this could be a library problem? If so, I am using xCode 4, how can I verify that lib is properly connected?
Thanks.
objective-c xcode cocos2d-iphone box2d
Fbryant87
source share