Hello
I installed Cocos2D-X v3.7. I tried adding Box2D within CMakeList.txt Linux project, but I have not succeeded.
I used the following code:
set (USE_CHIPMUNK false)
set (USE_BOX2D true)
target_link_libraries ($ {APP_NAME} cocos2d box2d)
It seems that the headers have been added, but when I try to perform include, receipt:
/HelloWorldScene.cpp:2: Error: Box2D / Box2D.h: No such file or directory #include “Box2D / Box2D.h”
Thank you very much.