Page 1 of 1

Getting Plugin To Print to the Console

PostPosted: Thu Oct 20, 2011 3:01 pm
by Sothh
Well, this seemed like a simple thing to do, and a good way to get started coding plugins, but I can't get my test plugin to print to the console.

In-fact, nothing ever seems to print to the console, even though when looking at the other plugins, I see it should.

Does some level of debugging need to be turned on?

Re: Getting Plugin To Print to the Console

PostPosted: Thu Oct 20, 2011 7:03 pm
by joepal
If we're talking about windows here, the output ends up in "python.out" and "python.err" in the installation directory rather than getting printed to the dos window.

Re: Getting Plugin To Print to the Console

PostPosted: Thu Oct 20, 2011 7:11 pm
by Sothh
Yeah, I am using Windows.

Why does MH no longer print to the console?

Re: Getting Plugin To Print to the Console

PostPosted: Thu Oct 20, 2011 9:20 pm
by joepal
I'm not certain, but I think this is different depending on whether you use an exe compiled with visual c++ or with mingw. The nightlies use MingW while the releases have traditionally used vc++.

Re: Getting Plugin To Print to the Console

PostPosted: Fri Oct 21, 2011 12:33 am
by mflerackers
The mingw version crashes when printing to the console, so we redirect output to a file there. https://sites.google.com/site/makehuman ... -Visual-C-

Re: Getting Plugin To Print to the Console

PostPosted: Sat Apr 27, 2019 12:17 pm
by Supreetha
How can I print a statement in the software on Linux platform?