Author Topic: Program doesn't run [Linux]  (Read 2882 times)

Offline DavidFreely

  • Single posting newcomer
  • *
  • Posts: 2
Program doesn't run [Linux]
« 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.
« Last Edit: February 11, 2017, 10:11:51 am by DavidFreely »

Offline yvesdm3000

  • Almost regular
  • **
  • Posts: 225
Re: Program doesn't run [Linux]
« Reply #1 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
Clang based code completion for Code::Blocks:   http://github.com/yvesdm3000/ClangLib

Offline DavidFreely

  • Single posting newcomer
  • *
  • Posts: 2
Re: Program doesn't run [Linux]
« Reply #2 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 '