Code::Blocks Forums

User forums => Help => Topic started by: Iwsimn on March 29, 2012, 09:11:52 am

Title: No terminal output after "run" (Linux)
Post by: Iwsimn on March 29, 2012, 09:11:52 am
Hi all !

Im using Archlinux with KDE Plasma and installed the New Version of Codeblocks.

Now my problem:
I wrote a simple "hello world" programm, compiled it and when i "run" it. Nothing happens.
After that i edited my enviroment settings and set Terminal to "console".

Now when i "run" my code the console pops up but its empty.

I know Codeblocks from windows, there i can "run" my code and the cmd opens with the code results.
How do i achieve the same on Linux ?

Thanks for your time.

Greetz Kev
Title: Re: No terminal output after "run" (Linux)
Post by: oBFusCATed on March 29, 2012, 09:57:23 am
"console"? I thought it was "konsole", wasn't it? What is the exact string you set in the options for the terminal?
Keep in mind that all terminal emulators (xterm, gnome-terminal, konsole, etc) have different options for the same thing.
And so the terminal strings should be different. Search the forum for valid strings, I think this was discussed before.
Title: Re: No terminal output after "run" (Linux)
Post by: Iwsimn on March 30, 2012, 07:35:08 am
Ouch !

Bad mistake from me. I thought the english translation for Konsole is console.
With your hint i a found this topic:

http://forums.codeblocks.org/index.php/topic,11245.msg76594.html#msg76594

So this worked for me.

konsole --workdir $WORKDIR --title $TITLE -e

Thanks a lot !