I have been trying to get printf/fputs(“”, stdout) to work yesterday. Unfortunately, to no avail.
Out of the box, nothing gets printed to the console on Windows. I am using a couple of external libraries that make heavy use of the console (for debugging purposes) such as lualib.
What is the preferred way to get the output to stdout working?
Well, I could of course change all the fputs’ in lualib to CCLOG’s. That puts me in the position where I have to redo all the replacing after I update a library. So, I’d rather not go there.
Any hints on that will be greatly appreciated.