Author Topic: Code::Blocks doesn't run ANY program!!?  (Read 5074 times)

Offline Parsec_c

  • Single posting newcomer
  • *
  • Posts: 3
Code::Blocks doesn't run ANY program!!?
« 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  :-\ :-\ :-\ :-\
 

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7602
    • My Best Post
Re: Code::Blocks doesn't run ANY program!!?
« Reply #1 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.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Parsec_c

  • Single posting newcomer
  • *
  • Posts: 3
Re: Code::Blocks doesn't run ANY program!!?
« Reply #2 on: November 06, 2016, 05:35:21 pm »
So this is the general settings panel... what do you think?   :-[  :-\

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Code::Blocks doesn't run ANY program!!?
« Reply #3 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.

Offline Parsec_c

  • Single posting newcomer
  • *
  • Posts: 3
Re: Code::Blocks doesn't run ANY program!!?
« Reply #4 on: November 07, 2016, 12:14:25 am »
Problem solved!!!!!!!!!!... THANK YOU ALL ;D ;D ;D ;D ;D ;D ;D ;D