Code::Blocks Forums

User forums => Help => Topic started by: DavidFreely on February 11, 2017, 10:07:11 am

Title: Program doesn't run [Linux]
Post by: DavidFreely on February 11, 2017, 10:07:11 am
I've been trying to get C++ and codeblocks working on my computer, I've just installed Solus Linux, but when I run the program the Terminal opens in the directory the file is in and stays blank.
For example if the .cpp file is in '/home/david/Programs/'  the terminal opens and shows 'david@solus ~Programs $' then has the blinking cursor.

I've never had this happen before and I am at a loss on what the problem could be.

*Edit : I just thought I would mention this happens with any program I try, and doesn't show any errors.
Title: Re: Program doesn't run [Linux]
Post by: yvesdm3000 on February 11, 2017, 11:26:19 am
Very hard to help on this since there isn't much information available.

Is the path to your executable configured correctly ?
Is the terminal-application configured correctly in CodeBlocks ?

Yves
Title: Re: Program doesn't run [Linux]
Post by: DavidFreely on February 11, 2017, 06:09:01 pm
Very hard to help on this since there isn't much information available.

Is the path to your executable configured correctly ?
Is the terminal-application configured correctly in CodeBlocks ?

Yves
Sorry about the lack of info.  I found the problem though.  It turns out the "Terminal to launch programs" setting was set to 'gnome-terminal' instead of 'gnome-terminal -t $TITLE -x '