Cannot output debug message

Cannot output debug message
0.0 0


Hi guys,

why I cannot get debug message when I run the hello world application?

  1. I added -DCOCOS2D_DEBUG=2 in Makefile
  2. I added some CCLOG() to output some funny things

But nothing output, why?

Thanks in advance.


On linux platform?


yes. I tested both on Ubuntu10.04 and Ubuntu11.10.
I built cocos2dx without error, and generated libraries.

I think it may the io buffer problem, coz I can output after I add “”.

So I think in CCPlatformMacros.h, CCLOG didn’t handle with IO buffer.