News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

No terminal output after "run" (Linux)

Started by Iwsimn, March 29, 2012, 09:11:52 AM

Previous topic - Next topic

Iwsimn

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

oBFusCATed

"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.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Iwsimn

Ouch !

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

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

So this worked for me.

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

Thanks a lot !