Code::Blocks Forums

User forums => Help => Topic started by: Parsec_c on November 05, 2016, 07:54:07 pm

Title: Code::Blocks doesn't run ANY program!!?
Post by: Parsec_c on November 05, 2016, 07:54:07 pm
Hello everybody I just downloaded C::B , I use a Linux OS (Mint) first when I create a new project everything seems working nice, it builds my program without any error, but when I click on RUN button , the program doesn't start and it shows an error saying :

Process terminated with status -1 (0 minute(s), 1 second(s)


It happens EVERY TIME. please help meeee  :-\ :-\ :-\ :-\
 
Title: Re: Code::Blocks doesn't run ANY program!!?
Post by: stahta01 on November 05, 2016, 10:07:59 pm
On Linux, the common cause is you do NOT have the terminal program CB is trying to use installed.
Or the options are wrong.

I am on Windows, but, I think you need to look at
Settings -> Environment
"General Setting"
"Terminal to launch console program"
Post what it is set to and confirm that program is installed?

Tim S.
Title: Re: Code::Blocks doesn't run ANY program!!?
Post by: Parsec_c on November 06, 2016, 05:35:21 pm
So this is the general settings panel... what do you think?   :-[  :-\
Title: Re: Code::Blocks doesn't run ANY program!!?
Post by: Jenna on November 06, 2016, 06:24:45 pm
Either install xterm or chose a "Terminal to launch console programs" that is installed on your system.
Title: Re: Code::Blocks doesn't run ANY program!!?
Post by: Parsec_c on November 07, 2016, 12:14:25 am
Problem solved!!!!!!!!!!... THANK YOU ALL ;D ;D ;D ;D ;D ;D ;D ;D