User forums > General (but related to Code::Blocks)
Console output, again
(1/1)
temporaries:
Hello all.
I'm sorry, but the previous topic (http://forums.codeblocks.org/index.php?topic=13175.0) about this problem is not clear enough for me.
I filled "Executable" and "Working directory" fields as mentioned in old topic
but how exactly can I pipe output to C::B log?
P.S. I have been working with Code::Blocks for two hours only, therefore I cannot immediately get the solution discussed.
What exactly should I configure to see stdout in Code::Blocks?
Thank you.
Jenna:
If you are on linux (your image looks like ubuntu), you need to add "./" before "${TARGET_OUTPUT_BASENAME}".
The output will be shown in the "Code::Blocks" tab of "Logs and others".
If you have the contrib-plugins installed, you can add a keyboard shortcut to the menu-entry with the keybinder-plugin: "Settings -> Editor -> Keyboard shortcuts".
temporaries:
Yes, I'm on Ubuntu.
Nevertheless, output doesn't appear in Code::Blocks tab of Logs & others window even I added a ./
Jenna:
--- Quote from: temporaries on January 04, 2013, 09:51:50 am ---Yes, I'm on Ubuntu.
Nevertheless, output doesn't appear in Code::Blocks tab of Logs & others window even I added a ./
--- End quote ---
Did you buildd the active target ?
Did you run the tool from the menu ?
What is the output in "Code::Blocks"-tab ?
Should be something like this (executable-name is test in my case, just the console sample):
--- Code: ---Launching tool 'Console output to log': ./test (in /tmp/test/bin/Debug)
stderr>
stdout> Hello world!
stdout>
Tool execution terminated with status 0
--- End code ---
Navigation
[0] Message Index
Go to full version