News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Program doesn't run [Linux]

Started by DavidFreely, February 11, 2017, 10:07:11 AM

Previous topic - Next topic

DavidFreely

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.

yvesdm3000

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
Clang based code completion for Code::Blocks:   [url="http://github.com/yvesdm3000/ClangLib"]http://github.com/yvesdm3000/ClangLib[/url]

DavidFreely

Quote from: 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
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 '