I’m using the latest code checked out from GitHub. (0.13.0 beta)
I’m developing for Android with Eclipse. I did added COCOS2D_DEBUG in Android.mk. I checked and made sure that COCOS2D_DEBUG was indeed defined with the value of 1.
Problem: CCLog won’t print anything to the LogCat. In the meantime, CCMessageBox works well.
(I then tested the same set of code on iOS, both CCLog and CCMessageBox work well.)
I have the same problems to log for debugging in my Eclipse project.
I try to log with CCLog() or CCLOG () with the #define COCOS2D_DEBUG 1 but this doesn’t work.
I also try with Log.d, LOGD, CCMessageBox ans even System.println but Eclipse still say syntax errors or this weird thing :
Multiple markers at this line
- expected unqualified-id before
‘while’
- expected unqualified-id before
‘do’
- Syntax error
- Syntax error