In the latest version of Cocos2d-X, CC_ENABLE_BOX2D_INTEGRATION moved out from ccConfig.h.
Where should I define it? We’re working in android-ios projects, if that’s important.
Thanks!
In the latest version of Cocos2d-X, CC_ENABLE_BOX2D_INTEGRATION moved out from ccConfig.h.
Where should I define it? We’re working in android-ios projects, if that’s important.
Thanks!
Because the implementation of physics_nodes is moved to extensions.
So CC_ENABLE_BOX2D_INTEGRATION is moved out from ccConfig.h.
You can define this macro in Xcode project setting on iOS and Application.mk on Android.
I have the iOS part working (define in the prefix.pch) and i’d love some examples (screenshots maybe?) on how to do that in the Application.mk.
Thanks!
You can refer to samples/CPP/TestCpp/proj.android/jni/Application.mk.
It defines CC_ENABLE_CHIPMUNK_INTEGRATION there.
Hi, I’m new cocos2d user. first of all i must say it’s really impressive for me.Big thanks for developers.
I have this problem on win32 project. How can I fix in win32 project not android or iOS.
You can defines it at project’s property pages—>Configuration Properties—>C/C++—>Preprocessor—>Preprocessor Definitions on vs.
I have done that before and compile my project but no result