How to set up Box2D in xcode

I want to add Box2D to my cocos2d 0.99.5 iphone / ipad project. I do not want to start a new Box2D project from a template.

I added the Box2D folder with Collision, Common and Dynamics to my project and copied GLES-Render.h and .m and the license. I also set '.' before the "Title Search Path" in Project Info and changed AppDelegate.m to .mm.

When I compile, it gives me error 2543, for example, "Box2D / Collision / Shapes / bCircleShape.h: There is no such file or directory" .... please help why it does not find the Box2d package and how to solve it.

+3
source share
1 answer

, , Box2D, "Box2D", , 384. , Cassert, Cmath Cfloat .. ..

?

+5

Source: https://habr.com/ru/post/1792076/


All Articles